bbgo_origin/migrations/20201103173342_trades_add_order_id.sql

8 lines
151 B
MySQL
Raw Normal View History

2020-11-03 09:35:58 +00:00
-- +goose Up
ALTER TABLE `trades`
ADD COLUMN `order_id` BIGINT UNSIGNED NOT NULL;
2020-11-03 09:35:58 +00:00
-- +goose Down
ALTER TABLE `trades`
DROP COLUMN `order_id`;