feat(coderd): store workspace proxy version in the database (#10790)

Stores workspace proxy version in database upon registration.
This commit is contained in:
Cian Johnston
2023-11-21 11:21:25 +00:00
committed by GitHub
parent 7060069034
commit abafc0863c
19 changed files with 56 additions and 12 deletions
+2 -1
View File
@@ -1127,7 +1127,8 @@ CREATE TABLE workspace_proxies (
token_hashed_secret bytea NOT NULL,
region_id integer NOT NULL,
derp_enabled boolean DEFAULT true NOT NULL,
derp_only boolean DEFAULT false NOT NULL
derp_only boolean DEFAULT false NOT NULL,
version text DEFAULT ''::text NOT NULL
);
COMMENT ON COLUMN workspace_proxies.icon IS 'Expects an emoji character. (/emojis/1f1fa-1f1f8.png)';