1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Updated runtime_sensor.occupancy column type for #401

This commit is contained in:
Jon Ziebell 2023-12-06 21:29:38 -05:00
parent 70b82351a1
commit ee0e1d55c2

View File

@ -421,7 +421,7 @@ CREATE TABLE `runtime_sensor` (
`sensor_id` int unsigned NOT NULL, `sensor_id` int unsigned NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`temperature` smallint DEFAULT NULL, `temperature` smallint DEFAULT NULL,
`occupancy` tinyint unsigned DEFAULT NULL, `occupancy` tinyint(1) DEFAULT NULL,
`air_pressure` mediumint unsigned DEFAULT NULL, `air_pressure` mediumint unsigned DEFAULT NULL,
`air_quality` smallint unsigned DEFAULT NULL, `air_quality` smallint unsigned DEFAULT NULL,
`air_quality_accuracy` tinyint unsigned DEFAULT NULL, `air_quality_accuracy` tinyint unsigned DEFAULT NULL,