mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 23:35:14 +00:00
19 lines
321 B
SQL
19 lines
321 B
SQL
-- +up
|
|
-- +begin
|
|
ALTER TABLE `trades` ADD COLUMN `pnl` DECIMAL NULL;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` ADD COLUMN `strategy` TEXT;
|
|
-- +end
|
|
|
|
-- +down
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` RENAME COLUMN `pnl` TO `pnl_deleted`;
|
|
-- +end
|
|
|
|
-- +begin
|
|
ALTER TABLE `trades` RENAME COLUMN `strategy` TO `strategy_deleted`;
|
|
-- +end
|