salix/db/versions/10835-brownCarnation/16-airline.sql

4 lines
189 B
SQL

ALTER TABLE IF EXISTS `vn2008`.`airline` RENAME `vn`.`airline`;
ALTER TABLE IF EXISTS `vn`.`airline`
CHANGE COLUMN IF EXISTS `airline_id` `id` smallint(2) unsigned NOT NULL AUTO_INCREMENT;