mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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