bbgo/migrations/mysql/20220419121046_fix_fee_column.sql

22 lines
298 B
MySQL
Raw Normal View History

-- +up
-- +begin
ALTER TABLE trades
CHANGE fee fee DECIMAL(16, 8) NOT NULL;
-- +end
-- +begin
ALTER TABLE profits
CHANGE fee fee DECIMAL(16, 8) NOT NULL;
-- +end
-- +begin
ALTER TABLE profits
CHANGE fee_in_usd fee_in_usd DECIMAL(16, 8);
-- +end
-- +down
-- +begin
SELECT 1;
-- +end