salix/db/versions/10896-salmonOrchid/14-movement_label.sql

9 lines
283 B
MySQL
Raw Normal View History

2024-02-15 12:58:12 +00:00
DROP TRIGGER IF EXISTS `vn2008`.`movement_label_afterUpdate`;
2024-02-12 06:44:40 +00:00
2024-02-21 13:07:52 +00:00
DROP VIEW IF EXISTS `vn`.`saleLabel`;
2024-02-12 06:44:40 +00:00
2024-02-21 13:07:52 +00:00
ALTER TABLE IF EXISTS `vn2008`.`movement_label` RENAME `vn`.`saleLabel`;
ALTER TABLE IF EXISTS `vn`.`saleLabel`
2024-02-12 06:44:40 +00:00
CHANGE COLUMN IF EXISTS `Id_movimiento` `saleFk` int(11) NOT NULL;