bbgo_origin/migrations/mysql/20201211175751_fix_symbol_length.sql

8 lines
225 B
MySQL
Raw Normal View History

2021-01-15 02:31:37 +00:00
-- +up
2020-12-11 09:58:11 +00:00
ALTER TABLE trades MODIFY COLUMN symbol VARCHAR(9);
ALTER TABLE orders MODIFY COLUMN symbol VARCHAR(9);
2021-01-15 02:31:37 +00:00
-- +down
2020-12-11 09:58:11 +00:00
ALTER TABLE trades MODIFY COLUMN symbol VARCHAR(8);
ALTER TABLE orders MODIFY COLUMN symbol VARCHAR(8);