manquait la cle pour le product, ca me donnait une erreur sur la 1ere page de dolibarr

This commit is contained in:
erics 2005-07-12 08:21:56 +00:00
parent 61ad4c5b98
commit 5c506c66f4
2 changed files with 5 additions and 1 deletions

View File

@ -31,3 +31,6 @@ ALTER TABLE llx_contrat ADD INDEX idx_contrat_fk_user_author (fk_user_author);
ALTER TABLE llx_contrat ADD FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
ALTER TABLE llx_contrat ADD FOREIGN KEY (fk_user_author) REFERENCES llx_user (rowid);
ALTER TABLE llx_contrat ADD INDEX idx_contrat_fk_product (fk_product);
ALTER TABLE llx_contrat ADD FOREIGN KEY (fk_product) REFERENCES llx_product (rowid);

View File

@ -37,7 +37,8 @@ create table llx_contrat
fk_commercial_suivi integer NOT NULL,
fk_user_author integer NOT NULL default 0,
fk_user_mise_en_service integer,
fk_user_cloture integer
fk_user_cloture integer,
fk_product integer
)type=innodb;