Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d50c20c

Browse files
authored
fix(coderd/database): add fk index for workspace_agent_scripts (coder#12791)
1 parent d734f3f commit d50c20c

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

coderd/database/dump.sql

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP INDEX workspace_agent_scripts_workspace_agent_id_idx;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CREATE INDEX workspace_agent_scripts_workspace_agent_id_idx ON workspace_agent_scripts (workspace_agent_id);
2+
3+
COMMENT ON INDEX workspace_agent_scripts_workspace_agent_id_idx IS 'Foreign key support index for faster lookups';

0 commit comments

Comments
 (0)