changed duration column to be numeric

pull/191/head
Chris Veilleux 2019-06-28 22:06:22 -05:00
parent f36fd3b3e5
commit 1d80903939
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ CREATE TABLE metrics.api (
access_ts timestamp NOT NULL
DEFAULT now(),
api text NOT NULL,
duration INTEGER NOT NULL,
duration NUMERIC NOT NULL,
http_status CHAR(3) NOT NULL,
account_id uuid,
device_id uuid

View File

@ -3,7 +3,7 @@ CREATE TABLE metrics.api_history (
url text NOT NULL,
access_ts timestamp NOT NULL,
api text NOT NULL,
duration INTEGER NOT NULL,
duration NUMERIC NOT NULL,
http_status CHAR(3) NOT NULL,
account_id uuid,
device_id uuid