4 lines
230 B
MySQL
4 lines
230 B
MySQL
|
ALTER TABLE `vn`.`delivery` DROP COLUMN ticketFk;
|
||
|
ALTER TABLE `vn`.`delivery` ADD ticketFk INT DEFAULT NULL;
|
||
|
ALTER TABLE `vn`.`delivery` ADD CONSTRAINT delivery_ticketFk_FK FOREIGN KEY (`ticketFk`) REFERENCES `vn`.`ticket`(`id`);
|