10 lines
350 B
MySQL
10 lines
350 B
MySQL
|
ALTER TABLE `vn`.`ticketService`
|
||
|
DROP FOREIGN KEY `ticketServiceIvaGroup`;
|
||
|
ALTER TABLE `vn`.`ticketService`
|
||
|
CHANGE COLUMN `taxClassFk` `taxClassFk` TINYINT(3) UNSIGNED NOT NULL DEFAULT 2 ;
|
||
|
ALTER TABLE `vn`.`ticketService`
|
||
|
ADD CONSTRAINT `ticketServiceIvaGroup`
|
||
|
FOREIGN KEY (`taxClassFk`)
|
||
|
REFERENCES `vn`.`taxClass` (`id`)
|
||
|
ON UPDATE CASCADE;
|