Merge pull request 'feat: refs #7800 Added company Fk' (!2871) from 7800-tpvMerchantEnableFk into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2871
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Guillermo Bonet 2024-08-21 05:11:08 +00:00
commit 83f44e5a1d
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
ALTER TABLE hedera.tpvMerchantEnable
MODIFY COLUMN companyFk int(10) unsigned NOT NULL,
ADD CONSTRAINT tpvMerchantEnable_company_FK FOREIGN KEY (companyFk) REFERENCES vn.company(id) ON DELETE RESTRICT ON UPDATE CASCADE;