Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-05-09 08:43:36 +02:00
commit 883f0c6b42
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ALTER TABLE `vn2008`.`Tickets`
ADD COLUMN `zoneFk` INT(11) NULL DEFAULT NULL AFTER `isDeleted`,
ADD INDEX `Tickets_zoneFk_fk_idx` (`zoneFk` ASC);
ALTER TABLE `vn2008`.`Tickets`
ADD CONSTRAINT `Tickets_zoneFk_fk`
FOREIGN KEY (`zoneFk`)
REFERENCES `vn`.`zone` (`id`)
ON DELETE RESTRICT
ON UPDATE CASCADE;