10 lines
350 B
SQL
10 lines
350 B
SQL
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;
|