Merge pull request #25020 from frederic34/patch-6

Fix migration 17.0.0 ->18.0.0
This commit is contained in:
Laurent Destailleur 2023-06-09 13:01:28 +02:00 committed by GitHub
commit 387ff7fc16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,6 +463,6 @@ ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_statut (statut);
-- 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_table;
-- 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);