mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-15 03:23:52 +00:00
8 lines
216 B
MySQL
8 lines
216 B
MySQL
|
-- +up
|
||
|
CREATE INDEX orders_symbol ON orders (exchange, symbol);
|
||
|
CREATE UNIQUE INDEX orders_order_id ON orders (order_id, exchange);
|
||
|
|
||
|
-- +down
|
||
|
DROP INDEX IF EXISTS orders_symbol;
|
||
|
DROP INDEX IF EXISTS orders_order_id;
|