Merge pull request 'fix: fix sql' (!3271) from hotfix-8222DeleteZoneSQL into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3271 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
65a4578e15
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE vn.ticket DROP FOREIGN KEY tickets_zone_fk;
|
||||
ALTER TABLE vn.ticket ADD CONSTRAINT tickets_zone_fk FOREIGN KEY (zoneFk) REFERENCES vn.`zone`(id) ON DELETE SET NULL ON UPDATE CASCADE;
|
Loading…
Reference in New Issue