Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb5adf4

Browse files
committed
remove ownerid
1 parentaaf8e86 commitcb5adf4

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

‎coderd/database/dbmem/dbmem.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6776,7 +6776,6 @@ func (q *FakeQuerier) GetWorkspacesAndAgentsByOwnerID(ctx context.Context, owner
67766776
out=append(out, database.GetWorkspacesAndAgentsByOwnerIDRow{
67776777
ID:w.ID,
67786778
Name:w.Name,
6779-
OwnerID:w.OwnerID,
67806779
JobStatus:job.JobStatus,
67816780
Transition:build.Transition,
67826781
Agents:outAgents,

‎coderd/database/dump.sql

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/database/migrations/000260_workspace_updates.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DECLARE
1010
BEGIN
1111
-- Write to the notification channel `new_workspace:owner_id`
1212
-- with the workspace id as the payload.
13-
PERFORM pg_notify('new_workspace:'||NEW.owner_id,NEW.id);
13+
PERFORM pg_notify('new_workspace:'||NEW.owner_id,NEW.id::text);
1414
RETURN NEW;
1515
END;
1616
$$;

‎coderd/database/queries.sql.go

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

‎coderd/database/queries/workspaces.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@ UPDATE workspaces SET favorite = false WHERE id = @id;
692692
SELECT
693693
workspaces.idas id,
694694
workspaces.nameas name,
695-
workspaces.owner_idas owner_id,
696695
job_status,
697696
transition,
698697
(array_agg(ROW(agent_id, agent_name)::agent_id_name_pair) FILTER (WHERE agent_idIS NOT NULL))::agent_id_name_pair[]as agents

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp