Collect node max hops

This commit is contained in:
Anton Roslund 2025-08-10 10:41:39 +02:00
parent ce8adb88a4
commit a9e749a336
3 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `nodes` ADD COLUMN `max_hops` INTEGER NULL;

View file

@ -54,7 +54,8 @@ model Node {
mqtt_connection_state_updated_at DateTime?
ok_to_mqtt Boolean?
is_backbone Boolean?
is_backbone Boolean?
max_hops Int?
created_at DateTime @default(now())
updated_at DateTime @default(now()) @updatedAt