add symbol column length fix migration

This commit is contained in:
c9s 2020-12-11 17:58:11 +08:00
parent 28712adaeb
commit c01f878c19

View File

@ -0,0 +1,7 @@
-- +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);