mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
26 lines
841 B
MySQL
26 lines
841 B
MySQL
|
-- +up
|
||
|
ALTER TABLE `klines`
|
||
|
MODIFY COLUMN `volume` decimal(20,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `okex_klines`
|
||
|
MODIFY COLUMN `volume` decimal(20,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `binance_klines`
|
||
|
MODIFY COLUMN `volume` decimal(20,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `max_klines`
|
||
|
MODIFY COLUMN `volume` decimal(20,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
-- +down
|
||
|
ALTER TABLE `klines`
|
||
|
MODIFY COLUMN `volume` decimal(16,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `okex_klines`
|
||
|
MODIFY COLUMN `volume` decimal(16,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `binance_klines`
|
||
|
MODIFY COLUMN `volume` decimal(16,8) unsigned NOT NULL DEFAULT '0.00000000';
|
||
|
|
||
|
ALTER TABLE `max_klines`
|
||
|
MODIFY COLUMN `volume` decimal(16,8) unsigned NOT NULL DEFAULT '0.00000000';
|