FIX: add auto incrementation to llx_c_typent.sql

This commit is contained in:
Maxime Lecoq 2020-04-30 18:21:25 +02:00
parent 5948d385a3
commit 14a3aa2165

View File

@ -19,11 +19,11 @@
create table llx_c_typent
(
id integer PRIMARY KEY,
code varchar(12) NOT NULL,
libelle varchar(64),
fk_country integer NULL, -- Defined only to have specific list for countries that can't use generic list (like argentina that need type A or B)
active tinyint DEFAULT 1 NOT NULL,
module varchar(32) NULL,
position integer NOT NULL DEFAULT 0
id integer AUTO_INCREMENT PRIMARY KEY,
code varchar(12) NOT NULL,
libelle varchar(64),
fk_country integer NULL, -- Defined only to have specific list for countries that can't use generic list (like argentina that need type A or B)
active tinyint DEFAULT 1 NOT NULL,
module varchar(32) NULL,
position integer NOT NULL DEFAULT 0
)ENGINE=innodb;