rt-sim-training-service/sql/20201216-dukang.sql

12 lines
647 B
MySQL
Raw Normal View History

2020-12-16 13:20:41 +08:00
ALTER TABLE `map_passenger_flow`
2020-12-16 13:59:35 +08:00
ADD COLUMN `name` VARCHAR(50) NOT NULL DEFAULT '默认' COMMENT '客流数据描述名称' AFTER `map_id`,
2020-12-16 13:20:41 +08:00
ADD COLUMN `initial` TINYINT(1) NOT NULL DEFAULT 1 COMMENT '初始默认数据' AFTER `trip_pf`;
2020-12-16 16:07:33 +08:00
ALTER TABLE `draft_ibp`
ALTER `station_code` DROP DEFAULT;
ALTER TABLE `draft_ibp`
CHANGE COLUMN `station_code` `station_code` VARCHAR(32) NULL COMMENT '车站编号' COLLATE 'utf8_general_ci' AFTER `map_id`;
ALTER TABLE `ibp`
ALTER `station_code` DROP DEFAULT;
ALTER TABLE `ibp`
CHANGE COLUMN `station_code` `station_code` VARCHAR(32) NULL COMMENT '车站编号' COLLATE 'utf8_general_ci' AFTER `map_id`;