Skip to content
Snippets Groups Projects
Commit 3794c930 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: [ bug #1754 ] Error while installing 3.7

parent d8d01090
No related branches found
No related tags found
No related merge requests found
......@@ -21,5 +21,8 @@ ALTER TABLE llx_c_departements ADD UNIQUE uk_departements (code_departement,fk_r
ALTER TABLE llx_c_departements ADD INDEX idx_departements_fk_region (fk_region);
-- NOTE: We duplicate creation of unique keys on llx_c_regions NOW to be able to create foreign keys.
ALTER TABLE llx_c_regions ADD UNIQUE INDEX uk_code_region (code_region);
ALTER TABLE llx_c_departements ADD CONSTRAINT fk_departements_fk_region FOREIGN KEY (fk_region) REFERENCES llx_c_regions (code_region);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment