mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
16 lines
203 B
MySQL
16 lines
203 B
MySQL
|
-- +up
|
||
|
-- +begin
|
||
|
ALTER TABLE `positions`
|
||
|
ADD COLUMN `net_profit` DECIMAL(16, 8) DEFAULT 0.00000000 NOT NULL
|
||
|
;
|
||
|
-- +end
|
||
|
|
||
|
|
||
|
-- +down
|
||
|
|
||
|
-- +begin
|
||
|
ALTER TABLE `positions`
|
||
|
DROP COLUMN `net_profit`
|
||
|
;
|
||
|
-- +end
|