bbgo_origin/migrations/sqlite3/20241115165059_add_net_profit_column.sql

16 lines
196 B
SQL

-- +up
-- +begin
ALTER TABLE `positions`
ADD COLUMN `net_profit` DECIMAL DEFAULT 0.00000000 NOT NULL
;
-- +end
-- +down
-- +begin
ALTER TABLE `positions`
DROP COLUMN `net_profit`
;
-- +end