Skip to content

Commit 889b44c

Browse files
authored
improvement(db): added missing indexes for common access patterns (#2473)
1 parent 3a33ec9 commit 889b44c

File tree

4 files changed

+7816
-0
lines changed

4 files changed

+7816
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE INDEX "api_key_workspace_type_idx" ON "api_key" USING btree ("workspace_id","type");--> statement-breakpoint
2+
CREATE INDEX "api_key_user_type_idx" ON "api_key" USING btree ("user_id","type");--> statement-breakpoint
3+
CREATE INDEX "verification_expires_at_idx" ON "verification" USING btree ("expires_at");--> statement-breakpoint
4+
CREATE INDEX "workflow_blocks_type_idx" ON "workflow_blocks" USING btree ("type");

0 commit comments

Comments
 (0)