mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25:16 +00:00
19 lines
340 B
MySQL
19 lines
340 B
MySQL
|
-- +up
|
||
|
-- +begin
|
||
|
ALTER TABLE `trades` ADD COLUMN `is_futures` BOOLEAN NOT NULL DEFAULT FALSE;
|
||
|
-- +end
|
||
|
|
||
|
-- +begin
|
||
|
ALTER TABLE `orders` ADD COLUMN `is_futures` BOOLEAN NOT NULL DEFAULT FALSE;
|
||
|
-- +end
|
||
|
|
||
|
-- +down
|
||
|
|
||
|
-- +begin
|
||
|
ALTER TABLE `trades` DROP COLUMN `is_futures`;
|
||
|
-- +end
|
||
|
|
||
|
-- +begin
|
||
|
ALTER TABLE `orders` DROP COLUMN `is_futures`;
|
||
|
-- +end
|