adjust traded_at field precision

This commit is contained in:
c9s 2020-11-05 13:41:55 +08:00
parent 7e47f754c5
commit 32268d1b33

View File

@ -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`)