bbgo_origin/migrations/20201211175751_fix_symbol_length.sql

8 lines
237 B
MySQL
Raw Normal View History

2020-12-11 09:58:11 +00:00
-- +goose Up
ALTER TABLE trades MODIFY COLUMN symbol VARCHAR(9);
ALTER TABLE orders MODIFY COLUMN symbol VARCHAR(9);
-- +goose Down
ALTER TABLE trades MODIFY COLUMN symbol VARCHAR(8);
ALTER TABLE orders MODIFY COLUMN symbol VARCHAR(8);