Skip to content

Commit f3eb662

Browse files
authored
fix: add index for workspace_resource.job_id column (coder#5009)
1 parent 5e22530 commit f3eb662

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

coderd/database/dump.sql

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP INDEX workspace_resources_job_id_idx;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX CONCURRENTLY workspace_resources_job_id_idx ON workspace_resources USING btree (job_id);

0 commit comments

Comments
 (0)