bbgo_origin/migrations/mysql/20220419121046_fix_fee_column.sql

22 lines
298 B
MySQL
Raw Normal View History

2022-04-20 04:17:26 +00:00
-- +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