salix/db/versions/10835-brownCarnation/24-awb_gestdoc.sql

6 lines
318 B
MySQL
Raw Normal View History

ALTER TABLE IF EXISTS `vn2008`.`awb_gestdoc` RENAME `vn`.`awbDms`;
ALTER TABLE IF EXISTS `vn`.`awbDms`
CHANGE COLUMN IF EXISTS `awb_gestdoc_id` `id` int(11) NOT NULL AUTO_INCREMENT,
CHANGE COLUMN IF EXISTS `awb_id` `awbFk` smallint(11) unsigned NOT NULL,
CHANGE COLUMN IF EXISTS `gestdoc_id` `dmsFk` int(11) NOT NULL;