salix/db/versions/10835-brownCarnation/25-awb_recibida.sql

9 lines
383 B
MySQL
Raw Normal View History

2024-02-02 22:07:29 +00:00
DROP TRIGGER IF EXISTS vn2008.awb_recibida_ad;
ALTER TABLE IF EXISTS `vn2008`.`awb_recibida` RENAME `vn`.`awbInvoiceIn`;
ALTER TABLE IF EXISTS `vn`.`awbInvoiceIn`
CHANGE COLUMN IF EXISTS `awb_id` `awbFk` smallint(5) unsigned NOT NULL,
CHANGE COLUMN IF EXISTS `recibida_id` `invoiceInFk` mediumint(8) unsigned NOT NULL,
2024-02-02 22:07:29 +00:00
CHANGE COLUMN IF EXISTS `dua` `sad` varchar(18) DEFAULT NULL;