bbgo/migrations/sqlite3/20201103173342_trades_add_order_id.sql

10 lines
174 B
MySQL
Raw Normal View History

-- +up
-- +begin
ALTER TABLE `trades` ADD COLUMN `order_id` INTEGER;
-- +end
-- +down
-- +begin
ALTER TABLE `trades` RENAME COLUMN `order_id` TO `order_id_deleted`;
-- +end