save temperature, humidity and pressure to nodes table
This commit is contained in:
parent
b2321a7268
commit
d71b03f0d8
3 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE `nodes` ADD COLUMN `barometric_pressure` DECIMAL(65, 30) NULL,
|
||||
ADD COLUMN `relative_humidity` DECIMAL(65, 30) NULL,
|
||||
ADD COLUMN `temperature` DECIMAL(65, 30) NULL;
|
||||
|
|
@ -40,6 +40,10 @@ model Node {
|
|||
air_util_tx Decimal?
|
||||
uptime_seconds BigInt?
|
||||
|
||||
temperature Decimal?
|
||||
relative_humidity Decimal?
|
||||
barometric_pressure Decimal?
|
||||
|
||||
neighbour_broadcast_interval_secs Int?
|
||||
neighbours Json?
|
||||
neighbours_updated_at DateTime?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue