0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-03-13 04:53:16 +00:00

Make metrics total_time column a bigint ()

This commit is contained in:
Nick Satterly 2018-04-09 17:42:25 +02:00 committed by GitHub
parent f82ab3ad64
commit 45186471c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ CREATE TABLE IF NOT EXISTS metrics (
type text NOT NULL,
CONSTRAINT metrics_pkey PRIMARY KEY ("group", name, type)
);
ALTER TABLE metrics ALTER COLUMN total_time TYPE BIGINT;
CREATE TABLE IF NOT EXISTS perms (