Fix: Corrections diverses sur les sql de mysql.
This commit is contained in:
parent
45f05bac82
commit
dd116503bf
@ -26,8 +26,6 @@ create table llx_adherent_options
|
|||||||
optid integer AUTO_INCREMENT PRIMARY KEY,
|
optid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
adhid integer NOT NULL, -- id de l'adherent auquel correspond ces attributs optionnel
|
adhid integer NOT NULL, -- id de l'adherent auquel correspond ces attributs optionnel
|
||||||
-- telfixe varchar(15),
|
|
||||||
-- teljob varchar(15)
|
|
||||||
|
|
||||||
UNIQUE INDEX(adhid)
|
UNIQUE INDEX(adhid)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
create table llx_c_ape
|
create table llx_c_ape
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT UNIQUE,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code_ape varchar(5) PRIMARY KEY,
|
code_ape varchar(5) NOT NULL,
|
||||||
libelle varchar(255),
|
libelle varchar(255),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
|
|
||||||
|
UNIQUE INDEX(code_ape)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -44,5 +44,5 @@ create table llx_facture_fourn
|
|||||||
|
|
||||||
note text,
|
note text,
|
||||||
|
|
||||||
UNIQUE INDEX (facnumber, fk_soc)
|
UNIQUE INDEX(facnumber, fk_soc)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
@ -36,6 +36,6 @@ create table llx_livre
|
|||||||
fk_user_author integer,
|
fk_user_author integer,
|
||||||
frais_de_port tinyint DEFAULT 1,
|
frais_de_port tinyint DEFAULT 1,
|
||||||
|
|
||||||
UNIQUE(ref)
|
UNIQUE INDEX(ref)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user