mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use bigint instead of integer in stats migration (#6380)
This broke dogfood!
This commit is contained in:
Generated
+5
-5
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user