Skip to content

Commit 14f898f

Browse files
committed
Manually verified value in DB is getting updated
1 parent 555ee66 commit 14f898f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

coderd/database/dump.sql

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/migrations/000110_workspace_agent_metadata.up.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ CREATE TABLE workspace_agent_metadata (
55
display_name text NOT NULL,
66
key character varying(128) NOT NULL,
77
cmd text[] NOT NULL,
8-
value text NOT NULL,
9-
error text NOT NULL,
8+
value text NOT NULL DEFAULT '',
9+
error text NOT NULL DEFAULT '',
1010
timeout bigint NOT NULL,
1111
interval bigint NOT NULL,
12-
collected_at timestamp with time zone NOT NULL,
12+
collected_at timestamp with time zone NOT NULL DEFAULT '0001-01-01 00:00:00+00',
1313
PRIMARY KEY (workspace_agent_id, key),
1414
FOREIGN KEY (workspace_agent_id) REFERENCES workspace_agents(id) ON DELETE CASCADE
1515
);

0 commit comments

Comments
 (0)