add database index for node ids to increase performance

This commit is contained in:
liamcottle
2024-03-13 15:13:06 +13:00
parent f4a67e3795
commit 9344d9d6e7
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- CreateIndex
CREATE INDEX `neighbour_infos_node_id_idx` ON `neighbour_infos`(`node_id`);
-- CreateIndex
CREATE INDEX `nodes_node_id_idx` ON `nodes`(`node_id`);