Compare commits

...

3 Commits

Author SHA1 Message Date
David Domenech e833a30eb9 Merge pull request 'refs #6372' (!2070) from 6372-ExpenseManual-Error into dev
gitea/salix/pipeline/head There was a failure building this commit Details
Reviewed-on: #2070
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
2024-02-22 07:56:17 +00:00
Pablo Natek f4f6eeb6fe fix(version): refs #6372 add semicolon
gitea/salix/pipeline/pr-dev This commit looks good Details
2024-02-22 08:36:14 +01:00
David Domenech d48fd77f48 refs #6372
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
2024-02-22 08:25:38 +01:00
1 changed files with 6 additions and 0 deletions

View File

@ -14,5 +14,11 @@ ALTER TABLE IF EXISTS vn.expenseManual ADD CONSTRAINT expenseManual_expense_FK F
ALTER TABLE IF EXISTS vn.expenseManual MODIFY COLUMN IF EXISTS companyFk int(10) unsigned NOT NULL;
ALTER TABLE vn.expenseManual MODIFY COLUMN companyFk int(10) unsigned NULL;
UPDATE vn.expenseManual
SET companyFK= NULL
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;