Fix: Corrections diverses sur les sql de mysql.

This commit is contained in:
Laurent Destailleur 2005-03-03 22:15:42 +00:00
parent 45f05bac82
commit dd116503bf
4 changed files with 7 additions and 7 deletions

View File

@ -26,8 +26,6 @@ create table llx_adherent_options
optid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
adhid integer NOT NULL, -- id de l'adherent auquel correspond ces attributs optionnel
-- telfixe varchar(15),
-- teljob varchar(15)
UNIQUE INDEX(adhid)
)type=innodb;

View File

@ -23,9 +23,11 @@
create table llx_c_ape
(
rowid integer AUTO_INCREMENT UNIQUE,
code_ape varchar(5) PRIMARY KEY,
rowid integer AUTO_INCREMENT PRIMARY KEY,
code_ape varchar(5) NOT NULL,
libelle varchar(255),
active tinyint DEFAULT 1 NOT NULL
active tinyint DEFAULT 1 NOT NULL,
UNIQUE INDEX(code_ape)
)type=innodb;

View File

@ -44,5 +44,5 @@ create table llx_facture_fourn
note text,
UNIQUE INDEX (facnumber, fk_soc)
UNIQUE INDEX(facnumber, fk_soc)
)type=innodb;

View File

@ -36,6 +36,6 @@ create table llx_livre
fk_user_author integer,
frais_de_port tinyint DEFAULT 1,
UNIQUE(ref)
UNIQUE INDEX(ref)
)type=innodb;