Skip to content

Commit b47a018

Browse files
committed
add index on created_at
1 parent 780730f commit b47a018

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/database/migrations/000276_workspace_modules.up.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ CREATE TABLE workspace_modules (
1212
key TEXT NOT NULL,
1313
created_at timestamp with time zone NOT NULL
1414
);
15+
16+
CREATE INDEX workspace_modules_created_at_idx ON workspace_modules (created_at);

0 commit comments

Comments
 (0)