mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
adjust traded_at field precision
This commit is contained in:
parent
7e47f754c5
commit
32268d1b33
|
@ -13,7 +13,7 @@ CREATE TABLE `trades` (
|
||||||
`is_buyer` BOOLEAN NOT NULL DEFAULT FALSE,
|
`is_buyer` BOOLEAN NOT NULL DEFAULT FALSE,
|
||||||
`is_maker` BOOLEAN NOT NULL DEFAULT FALSE,
|
`is_maker` BOOLEAN NOT NULL DEFAULT FALSE,
|
||||||
`side` VARCHAR(4) NOT NULL DEFAULT '',
|
`side` VARCHAR(4) NOT NULL DEFAULT '',
|
||||||
`traded_at` DATETIME(6) NOT NULL,
|
`traded_at` DATETIME(3) NOT NULL,
|
||||||
|
|
||||||
PRIMARY KEY (`gid`),
|
PRIMARY KEY (`gid`),
|
||||||
UNIQUE KEY `id` (`id`)
|
UNIQUE KEY `id` (`id`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user