mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
add trade price quantity index
This commit is contained in:
parent
b8d7ae7687
commit
d128373842
10
migrations/20210129182704_trade_price_quantity_index.sql
Normal file
10
migrations/20210129182704_trade_price_quantity_index.sql
Normal file
|
@ -0,0 +1,10 @@
|
|||
-- +up
|
||||
-- +begin
|
||||
CREATE INDEX trades_price_quantity ON trades (order_id,price,quantity);
|
||||
-- +end
|
||||
|
||||
-- +down
|
||||
|
||||
-- +begin
|
||||
DROP INDEX trades_price_quantity ON trades
|
||||
-- +end
|
Loading…
Reference in New Issue
Block a user