nodes should be created and updated from map report packets

This commit is contained in:
liamcottle
2024-03-31 23:47:56 +13:00
parent cff5ed54cb
commit ec5607de12
3 changed files with 37 additions and 7 deletions

View File

@ -14,13 +14,13 @@ datasource db {
}
model Node {
id BigInt @id @default(autoincrement())
node_id BigInt @unique
id BigInt @id @default(autoincrement())
node_id BigInt @unique
long_name String
short_name String
hardware_model Int
is_licensed Boolean
role Int
is_licensed Boolean?
latitude Int?
longitude Int?