rt-sim-training-service/sql/20201216-dukang.sql
2020-12-16 16:07:33 +08:00

12 lines
647 B
SQL

ALTER TABLE `map_passenger_flow`
ADD COLUMN `name` VARCHAR(50) NOT NULL DEFAULT '默认' COMMENT '客流数据描述名称' AFTER `map_id`,
ADD COLUMN `initial` TINYINT(1) NOT NULL DEFAULT 1 COMMENT '初始默认数据' AFTER `trip_pf`;
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`;