Fix missing unique key
This commit is contained in:
parent
8083997df8
commit
fcb00dbaf2
@ -118,3 +118,5 @@ create table llx_product_warehouse_properties
|
||||
|
||||
ALTER TABLE llx_accounting_bookkeeping ADD COLUMN entity integer DEFAULT 1 NOT NULL;
|
||||
|
||||
ALTER TABLE llx_accounting_account ADD INDEX uk_accounting_account (account_number, entity);
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
ALTER TABLE llx_accounting_account ADD INDEX idx_accounting_account_fk_pcg_version (fk_pcg_version);
|
||||
ALTER TABLE llx_accounting_account ADD INDEX idx_accounting_account_account_number (account_number);
|
||||
ALTER TABLE llx_accounting_account ADD INDEX uk_accounting_account (account_number, entity);
|
||||
|
||||
|
||||
-- This keys are created into foreign table after creation of foreign index
|
||||
|
||||
Loading…
Reference in New Issue
Block a user