sqlite: parsed an empty column at last #2235

Open
opened 2023-03-13 14:58:33 +00:00 by itlangzi · 0 comments

A table creation statement with empty columns will appear

such as:

CREATE TABLE "example" (
  "id" TEXT NOT NULL,
  "created_at" DATETIME,
  "updated_at" DATETIME,
  "name" TEXT NOT NULL,
  "age" INTEGER,
  PRIMARY KEY ("id")
);

A table creation statement with none empty columns

such as:

CREATE TABLE "example" ("id" TEXT NOT NULL,  "created_at" DATETIME,  "updated_at" DATETIME,  "name" TEXT NOT NULL, "age" INTEGER,PRIMARY KEY ("id"));
A table creation statement with empty columns will appear such as: ```sql CREATE TABLE "example" ( "id" TEXT NOT NULL, "created_at" DATETIME, "updated_at" DATETIME, "name" TEXT NOT NULL, "age" INTEGER, PRIMARY KEY ("id") ); ``` A table creation statement with none empty columns such as: ```sql CREATE TABLE "example" ("id" TEXT NOT NULL, "created_at" DATETIME, "updated_at" DATETIME, "name" TEXT NOT NULL, "age" INTEGER,PRIMARY KEY ("id")); ```
lunny added the
kind
bug
label 2023-03-14 01:09:41 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#2235
No description provided.