mirror of
https://github.com/beestat/app.git
synced 2026-06-08 15:25:16 -04:00
Allowed outdoor temperature/humidity to be null in runtime_thermostat_summary
Since runtime_thermostat is now allowing null values for these fields, the summary table also has to allow null values for when there is no weather data for the entire time period.
This commit is contained in:
+4
-4
@@ -491,10 +491,10 @@ CREATE TABLE `runtime_thermostat_summary` (
|
||||
`sum_economizer` mediumint unsigned NOT NULL,
|
||||
`sum_heating_degree_days` smallint unsigned NOT NULL,
|
||||
`sum_cooling_degree_days` smallint unsigned NOT NULL,
|
||||
`avg_outdoor_temperature` smallint NOT NULL,
|
||||
`avg_outdoor_humidity` tinyint unsigned NOT NULL,
|
||||
`min_outdoor_temperature` smallint NOT NULL,
|
||||
`max_outdoor_temperature` smallint NOT NULL,
|
||||
`avg_outdoor_temperature` smallint NULL,
|
||||
`avg_outdoor_humidity` tinyint unsigned NULL,
|
||||
`min_outdoor_temperature` smallint NULL,
|
||||
`max_outdoor_temperature` smallint NULL,
|
||||
`avg_indoor_temperature` smallint NOT NULL,
|
||||
`avg_indoor_humidity` tinyint unsigned NOT NULL,
|
||||
`deleted` tinyint(1) NOT NULL DEFAULT '0',
|
||||
|
||||
Reference in New Issue
Block a user