fix: handle new agent stat format correctly (#14576)

---------

Co-authored-by: Ethan Dickson <ethan@coder.com>
This commit is contained in:
Garrett Delfosse
2024-09-19 11:52:14 -04:00
committed by GitHub
parent 37885e2e82
commit 922f4c545f
28 changed files with 1495 additions and 70 deletions
+2 -1
View File
@@ -1394,7 +1394,8 @@ CREATE TABLE workspace_agent_stats (
session_count_vscode bigint DEFAULT 0 NOT NULL,
session_count_jetbrains bigint DEFAULT 0 NOT NULL,
session_count_reconnecting_pty bigint DEFAULT 0 NOT NULL,
session_count_ssh bigint DEFAULT 0 NOT NULL
session_count_ssh bigint DEFAULT 0 NOT NULL,
usage boolean DEFAULT false NOT NULL
);
CREATE TABLE workspace_agents (