Skip to content

Commit be7fa9e

Browse files
committed
remove ownerid
1 parent aaf8e86 commit be7fa9e

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
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/queries.sql.go

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing 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.id as id,
694694
workspaces.name as name,
695-
workspaces.owner_id as owner_id,
696695
job_status,
697696
transition,
698697
(array_agg(ROW(agent_id, agent_name)::agent_id_name_pair) FILTER (WHERE agent_id IS NOT NULL))::agent_id_name_pair[] as agents

0 commit comments

Comments
 (0)