add index to position updated at column for nodes table
This commit is contained in:
parent
3d11f77eb1
commit
1c2f8d9be7
2 changed files with 3 additions and 0 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue