bbgo/migrations/mysql/20210129182704_trade_price_quantity_index.sql

11 lines
169 B
SQL

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