mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
20 lines
291 B
SQL
20 lines
291 B
SQL
-- +up
|
|
-- +begin
|
|
ALTER TABLE `trades` ADD COLUMN `pnl` DECIMAL NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` ADD COLUMN `strategy` VARCHAR(32) NULL;
|
|
-- +end
|
|
|
|
|
|
-- +down
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` DROP COLUMN `pnl`;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` DROP COLUMN `strategy`;
|
|
-- +end
|