primary key should not have default value
This commit is contained in:
parent
61b7b1c0f4
commit
9d5a365f63
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ CREATE TABLE `tabDocPerm` (
|
|||
|
||||
DROP TABLE IF EXISTS `tabDocType`;
|
||||
CREATE TABLE `tabDocType` (
|
||||
`name` varchar(255) NOT NULL DEFAULT '',
|
||||
`name` varchar(255) NOT NULL,
|
||||
`creation` datetime(6) DEFAULT NULL,
|
||||
`modified` datetime(6) DEFAULT NULL,
|
||||
`modified_by` varchar(255) DEFAULT NULL,
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ create index on "tabDocPerm" ("parent");
|
|||
|
||||
DROP TABLE IF EXISTS "tabDocType";
|
||||
CREATE TABLE "tabDocType" (
|
||||
"name" varchar(255) NOT NULL DEFAULT '',
|
||||
"name" varchar(255) NOT NULL,
|
||||
"creation" timestamp(6) DEFAULT NULL,
|
||||
"modified" timestamp(6) DEFAULT NULL,
|
||||
"modified_by" varchar(255) DEFAULT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue