FIX: Migration script

This commit is contained in:
aspangaro 2016-04-22 06:57:37 +02:00
parent 8f3a254259
commit 4a078db060

View File

@ -365,7 +365,7 @@ CREATE TABLE llx_c_accounting_category (
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;
ALTER TABLE llx_accounting_account MODIFY COLUMN account_parent integer DEFAULT 0;
DROP INDEX uk_bordereau_cheque ON llx_bordereau_cheque;