Skip to content

Commit 224fa2f

Browse files
committed
Add comments to sql columns
1 parent 12c6f8d commit 224fa2f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

coderd/database/migrations/000118_workspace_proxy_token.up.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ DELETE FROM workspace_proxies;
1010
ALTER TABLE workspace_proxies
1111
ADD COLUMN token_hashed_secret bytea NOT NULL;
1212

13+
COMMENT ON COLUMN workspace_proxies.token_hashed_secret
14+
IS 'Hashed secret is used to authenticate the workspace proxy using a session token.';
15+
16+
COMMENT ON COLUMN workspace_proxies.deleted
17+
IS 'Boolean indicator of a deleted workspace proxy. Proxies are soft-deleted.';
18+
19+
COMMENT ON COLUMN workspace_proxies.icon
20+
IS 'Expects an emoji character. (/emojis/1f1fa-1f1f8.png)';
21+
1322
COMMIT;

0 commit comments

Comments
 (0)