collect traceroutes

This commit is contained in:
liamcottle
2024-03-13 14:18:47 +13:00
parent 537221dac1
commit 020b4be72c
3 changed files with 57 additions and 3 deletions

View File

@ -52,3 +52,17 @@ model NeighbourInfo {
@@index(updated_at)
@@map("neighbour_infos")
}
model TraceRoute {
id BigInt @id @default(autoincrement())
node_id BigInt
route Json
created_at DateTime @default(now())
updated_at DateTime @default(now()) @updatedAt
@@index(created_at)
@@index(updated_at)
@@index(node_id)
@@map("traceroutes")
}