mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
10 lines
180 B
MySQL
10 lines
180 B
MySQL
|
-- +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
|