Merge pull request #4999 from fappels/develop

Fix migration script
This commit is contained in:
Laurent Destailleur 2016-04-19 19:22:37 +02:00
commit 349c1c2d69

View File

@ -362,7 +362,7 @@ CREATE TABLE llx_c_accounting_category (
) ENGINE=innodb;
ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code);
UPDATE llx_accounting_account SET account_parent = '0' WHERE account_parent = '';
ALTER TABLE llx_accounting_account MODIFY COLUMN account_parent integer;