mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-10-30 18:42:01 +01:00
add index to position updated at column for nodes table
This commit is contained in:
1 parent
3d11f77eb1
commit
1c2f8d9be7
2 files changed
+3
No files matched your search
+2
@@ -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(updated_at)
|
||||
@@index(position_updated_at)
|
||||
@@index(node_id)
|
||||
@@map("nodes")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user