changed duration column to be numeric
parent
f36fd3b3e5
commit
1d80903939
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue