Prepare to add foreign key toward parent into table

llx_accountingaccount.
This commit is contained in:
Laurent Destailleur 2014-07-31 20:49:50 +02:00
parent b78537730a
commit 1e09200347

View File

@ -20,5 +20,6 @@
ALTER TABLE llx_accountingaccount ADD INDEX idx_accountingaccount_fk_pcg_version (fk_pcg_version);
ALTER TABLE llx_accountingaccount ADD CONSTRAINT fk_accountingaccount_fk_pcg_version FOREIGN KEY (fk_pcg_version) REFERENCES llx_accounting_system (pcg_version);
--ALTER TABLE llx_accountingaccount ADD CONSTRAINT fk_accountingaccount_fk_account_number FOREIGN KEY (fk_account_number) REFERENCES llx_accountingaccount (account_number);