mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
8 lines
228 B
SQL
8 lines
228 B
SQL
-- +goose Up
|
|
CREATE INDEX orders_symbol ON orders (exchange, symbol);
|
|
CREATE UNIQUE INDEX orders_order_id ON orders (order_id, exchange);
|
|
|
|
-- +goose Down
|
|
DROP INDEX orders_symbol ON orders;
|
|
DROP INDEX orders_order_id ON orders;
|