mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
26 lines
581 B
MySQL
26 lines
581 B
MySQL
|
-- +up
|
||
|
ALTER TABLE `klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(10) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `okex_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(10) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `binance_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(10) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `max_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(10) NOT NULL;
|
||
|
|
||
|
-- +down
|
||
|
ALTER TABLE `klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(7) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `okex_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(7) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `binance_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(7) NOT NULL;
|
||
|
|
||
|
ALTER TABLE `max_klines`
|
||
|
MODIFY COLUMN `symbol` VARCHAR(7) NOT NULL;
|