Fix database corruption without that.
This commit is contained in:
parent
876a013ded
commit
47acdc8f34
1 changed files with 3 additions and 0 deletions
|
|
@ -19,3 +19,6 @@
|
|||
|
||||
ALTER TABLE llx_partnership ADD INDEX idx_partnership_entity (entity);
|
||||
ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_partnership_ref (ref, entity);
|
||||
|
||||
ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_fk_type_fk_soc (fk_type, fk_soc, date_partnership_start);
|
||||
ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_fk_type_fk_member (fk_type, fk_member, date_partnership_start);
|
||||
|
|
|
|||
Loading…
Reference in a new issue