bbgo_origin/migrations/20201103173342_trades_add_order_id.sql

8 lines
151 B
SQL

-- +goose Up
ALTER TABLE `trades`
ADD COLUMN `order_id` BIGINT UNSIGNED NOT NULL;
-- +goose Down
ALTER TABLE `trades`
DROP COLUMN `order_id`;