bbgo_origin/migrations/mysql/20220512170322_fix_profit_symbol_length.sql
Raphanus Lo 075028f8fc Fix symbol length in profits
This change fixes "Error 1406: Data too long for column 'symbol' at row 1"
for pair symbol longer than 8 chars.

Fixes #608
2022-05-12 18:24:14 +08:00

12 lines
131 B
SQL

-- +up
-- +begin
ALTER TABLE profits
CHANGE symbol symbol VARCHAR(20) NOT NULL;
-- +end
-- +down
-- +begin
SELECT 1;
-- +end