Merge pull request #24130 from hregis/fix_multicompany_compatibility
FIX missing drop foreign key before modify field
This commit is contained in:
commit
3ce9e394a7
1 changed files with 2 additions and 1 deletions
|
|
@ -33,8 +33,9 @@
|
|||
|
||||
|
||||
-- Missing in v16 or lower
|
||||
|
||||
ALTER TABLE llx_accounting_account DROP FOREIGN KEY fk_accounting_account_fk_pcg_version;
|
||||
ALTER TABLE llx_accounting_system MODIFY COLUMN pcg_version varchar(32) NOT NULL;
|
||||
ALTER TABLE llx_accounting_account ADD CONSTRAINT fk_accounting_account_fk_pcg_version FOREIGN KEY (fk_pcg_version) REFERENCES llx_accounting_system (pcg_version);
|
||||
|
||||
ALTER TABLE llx_c_action_trigger MODIFY elementtype VARCHAR(64);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue