mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +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_base_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0,
|
||||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0;
|
ADD COLUMN `taker_buy_quote_volume` DECIMAL(32, 8) NOT NULL DEFAULT 0.0;
|
||||||
-- +end
|
-- +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
|
-- +down
|
||||||
-- +begin
|
-- +begin
|
||||||
|
|
|
@ -23,5 +23,13 @@ ALTER TABLE `okex_klines`
|
||||||
ALTER TABLE `okex_klines`
|
ALTER TABLE `okex_klines`
|
||||||
ADD COLUMN `taker_buy_quote_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
ADD COLUMN `taker_buy_quote_volume` DECIMAL NOT NULL DEFAULT 0.0;
|
||||||
-- +end
|
-- +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
|
-- +down
|
||||||
|
|
Loading…
Reference in New Issue
Block a user