removed unique constraint as they are not allowed on partitioned tables

pull/191/head
Chris Veilleux 2019-06-27 12:51:14 -05:00
parent e0b95fdca8
commit 57bbf00baa
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ CREATE TABLE metrics.api_history (
duration INTEGER NOT NULL,
http_status CHAR(3) NOT NULL,
account_id uuid,
device_id uuid,
UNIQUE (url, access_ts)
device_id uuid
)
PARTITION BY RANGE
(access_ts)