bbgo/migrations/sqlite3/20210129182704_trade_price_quantity_index.sql

11 lines
160 B
SQL

-- +up
-- +begin
CREATE INDEX trades_price_quantity ON trades (order_id,price,quantity);
-- +end
-- +down
-- +begin
DROP INDEX trades_price_quantity;
-- +end