fix: use bigint instead of integer in stats migration (#6380)

This broke dogfood!
This commit is contained in:
Kyle Carberry
2023-02-28 13:55:37 -06:00
committed by GitHub
parent 05e449943d
commit 8850ce0d9a
5 changed files with 30 additions and 30 deletions

View File

@ -470,11 +470,11 @@ CREATE TABLE workspace_agent_stats (
workspace_id uuid NOT NULL,
template_id uuid NOT NULL,
connections_by_proto jsonb DEFAULT '{}'::jsonb NOT NULL,
connection_count integer DEFAULT 0 NOT NULL,
rx_packets integer DEFAULT 0 NOT NULL,
rx_bytes integer DEFAULT 0 NOT NULL,
tx_packets integer DEFAULT 0 NOT NULL,
tx_bytes integer DEFAULT 0 NOT NULL
connection_count bigint DEFAULT 0 NOT NULL,
rx_packets bigint DEFAULT 0 NOT NULL,
rx_bytes bigint DEFAULT 0 NOT NULL,
tx_packets bigint DEFAULT 0 NOT NULL,
tx_bytes bigint DEFAULT 0 NOT NULL
);
CREATE TABLE workspace_agents (