mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix klines table migration
This commit is contained in:
parent
b79ab5d68d
commit
f72221e804
|
@ -17,6 +17,12 @@ ALTER TABLE `okex_klines`
|
|||
ADD COLUMN `taker_buy_base_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0,
|
||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0;
|
||||
-- +end
|
||||
-- +begin
|
||||
ALTER TABLE `klines`
|
||||
ADD COLUMN `quote_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0,
|
||||
ADD COLUMN `taker_buy_base_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0,
|
||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0;
|
||||
-- +end
|
||||
|
||||
-- +down
|
||||
-- +begin
|
||||
|
|
|
@ -23,5 +23,13 @@ ALTER TABLE `okex_klines`
|
|||
ALTER TABLE `okex_klines`
|
||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
||||
-- +end
|
||||
-- +begin
|
||||
ALTER TABLE `klines`
|
||||
ADD COLUMN `quote_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
||||
ALTER TABLE `klines`
|
||||
ADD COLUMN `taker_buy_base_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
||||
ALTER TABLE `klines`
|
||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
||||
-- +end
|
||||
|
||||
-- +down
|
||||
|
|
Loading…
Reference in New Issue
Block a user