fix(version): refs #6372 add semicolon
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Pablo Natek 2024-02-22 08:36:14 +01:00
parent d48fd77f48
commit f4f6eeb6fe
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ ALTER TABLE vn.expenseManual MODIFY COLUMN companyFk int(10) unsigned NULL;
UPDATE vn.expenseManual
SET companyFK= NULL
WHERE companyFk= 0
WHERE companyFk= 0;
ALTER TABLE IF EXISTS vn.expenseManual ADD CONSTRAINT expenseManual_company_FK FOREIGN KEY IF NOT EXISTS (companyFk) REFERENCES vn.company(id) ON DELETE CASCADE ON UPDATE CASCADE;