store neighbour info directly in the nodes table
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `nodes` ADD COLUMN `neighbour_broadcast_interval_secs` INTEGER NULL,
|
||||
ADD COLUMN `neighbours` JSON NULL;
|
@ -31,6 +31,9 @@ model Node {
|
||||
channel_utilization Decimal?
|
||||
air_util_tx Decimal?
|
||||
|
||||
neighbour_broadcast_interval_secs Int?
|
||||
neighbours Json?
|
||||
|
||||
created_at DateTime @default(now())
|
||||
updated_at DateTime @default(now()) @updatedAt
|
||||
|
||||
|
Reference in New Issue
Block a user