From 9e18c95a3f9547bdfa400fcf0be11df8cb0391e2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 May 2018 19:54:07 +0200 Subject: [PATCH] Fix migration script --- htdocs/install/mysql/migration/7.0.0-8.0.0.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/install/mysql/migration/7.0.0-8.0.0.sql b/htdocs/install/mysql/migration/7.0.0-8.0.0.sql index cf99009100e8b..3ca87e97053dc 100644 --- a/htdocs/install/mysql/migration/7.0.0-8.0.0.sql +++ b/htdocs/install/mysql/migration/7.0.0-8.0.0.sql @@ -442,11 +442,11 @@ ALTER TABLE llx_extrafields MODIFY COLUMN list VARCHAR(128); UPDATE llx_rights_def set module = 'asset' where module = 'assets'; ALTER TABLE llx_c_accounting_category ADD COLUMN entity integer NOT NULL DEFAULT 1 AFTER rowid; --- VMYSQL4.1 DROP INDEX uk_c_accounting_category on llx_c_accounting_category --- VPGSQL8.2 DROP INDEX uk_c_accounting_category +-- VMYSQL4.1 DROP INDEX uk_c_accounting_category on llx_c_accounting_category; +-- VPGSQL8.2 DROP INDEX uk_c_accounting_category; ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code,entity); --- VMYSQL4.1 DROP INDEX uk_accounting_journal_code on llx_accounting_journal --- VPGSQL8.2 DROP INDEX uk_accounting_journal_code +-- VMYSQL4.1 DROP INDEX uk_accounting_journal_code on llx_accounting_journal; +-- VPGSQL8.2 DROP INDEX uk_accounting_journal_code; ALTER TABLE llx_accounting_journal ADD UNIQUE INDEX uk_accounting_journal_code (code,entity); UPDATE llx_c_email_templates SET lang = '' WHERE lang IS NULL;