- Notifications
You must be signed in to change notification settings - Fork927
feat: Add DevURL support#1316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
bdfa61a
8b2f6c4
e3cf488
e3ff8ad
b6e1ea6
430cfe7
6ef781c
f70dd17
0805250
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,6 +9,7 @@ | ||
"codersdk", | ||
"cronstrue", | ||
"devel", | ||
"apps", | ||
"drpc", | ||
"drpcconn", | ||
"drpcmux", | ||
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE workspace_apps; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE workspace_apps ( | ||
id uuid NOT NULL, | ||
created_at timestamp with time zone NOT NULL, | ||
agent_id uuid NOT NULL REFERENCES workspace_agents (id) ON DELETE CASCADE, | ||
name varchar(64) NOT NULL, | ||
icon varchar(256) NOT NULL, | ||
command varchar(65534), | ||
url varchar(65534), | ||
relative_path boolean NOT NULL DEFAULT false, | ||
PRIMARY KEY (id), | ||
UNIQUE(agent_id, name) | ||
); |
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- name: GetWorkspaceAppsByAgentID :many | ||
SELECT * FROM workspace_apps WHERE agent_id = $1; | ||
-- name: GetWorkspaceAppsByAgentIDs :many | ||
SELECT * FROM workspace_apps WHERE agent_id = ANY(@ids :: uuid [ ]); | ||
-- name: InsertWorkspaceApp :one | ||
INSERT INTO | ||
workspace_apps ( | ||
id, | ||
created_at, | ||
agent_id, | ||
name, | ||
icon, | ||
command, | ||
url, | ||
relative_path | ||
) | ||
VALUES | ||
($1, $2, $3, $4, $5, $6, $7, $8) RETURNING *; |
Uh oh!
There was an error while loading.Please reload this page.