mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Merge remote-tracking branch 'origin/develop' into fix-duplicate-so-ref
This commit is contained in:
@@ -466,3 +466,9 @@ ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_statut (statut);
|
||||
-- VMYSQL4.1 DROP INDEX uk_commande_fournisseur_ref on llx_commande_fournisseur;
|
||||
-- VPGSQL8.2 DROP INDEX uk_commande_fournisseur_ref;
|
||||
ALTER TABLE llx_commande_fournisseur ADD UNIQUE INDEX uk_commande_fournisseur_ref (ref, entity);
|
||||
|
||||
-- Drop the composite unique index that exists on llx_actioncomm to rebuild a new one without unique feature.
|
||||
-- The old design introduced a deadlock over traffic intense Dolibarr instance.
|
||||
-- VMYSQL4.1 DROP INDEX uk_actioncomm_ref on llx_actioncomm;
|
||||
-- VPGSQL8.2 DROP INDEX uk_actioncomm_ref;
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref (ref, entity);
|
||||
|
||||
@@ -29,4 +29,4 @@ ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_recurid (recurid);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref_ext (ref_ext);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_percent (percent);
|
||||
|
||||
ALTER TABLE llx_actioncomm ADD UNIQUE INDEX uk_actioncomm_ref (ref, entity);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref (ref, entity);
|
||||
|
||||
Reference in New Issue
Block a user