mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
10 lines
180 B
SQL
10 lines
180 B
SQL
-- +up
|
|
-- +begin
|
|
CREATE UNIQUE INDEX `trade_unique_id` ON `trades` (`exchange`,`symbol`, `side`, `id`);
|
|
-- +end
|
|
|
|
-- +down
|
|
-- +begin
|
|
DROP INDEX IF EXISTS `trade_unique_id`;
|
|
-- +end
|