add index to position updated at column for nodes table
This commit is contained in:
@ -0,0 +1,2 @@
|
|||||||
|
-- CreateIndex
|
||||||
|
CREATE INDEX `nodes_position_updated_at_idx` ON `nodes`(`position_updated_at`);
|
@ -56,6 +56,7 @@ model Node {
|
|||||||
|
|
||||||
@@index(created_at)
|
@@index(created_at)
|
||||||
@@index(updated_at)
|
@@index(updated_at)
|
||||||
|
@@index(position_updated_at)
|
||||||
@@index(node_id)
|
@@index(node_id)
|
||||||
@@map("nodes")
|
@@map("nodes")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user