Skip to content

Commit

Permalink
add index to position updated at column for nodes table
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle authored and KomelT committed Dec 13, 2024
1 parent 865d11f commit fba30fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX `nodes_position_updated_at_idx` ON `nodes`(`position_updated_at`);
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ model Node {
@@index(created_at)
@@index(updated_at)
@@index(position_updated_at)
@@index(node_id)
@@map("nodes")
}
Expand Down

0 comments on commit fba30fa

Please sign in to comment.