Create mutation to store current weather conditions to db
Changes
remove forgotten .sql after mysql was removed
fix/modify timescaledb init file
a, fix creating index (was using non-existing field)
b, change column types - float precision is enough, tz is not neccessary
implement new mutation insert_weather_data - store data into wather_real_time table
a, add new model StationCondition
b, add field weather_station_conditions to WeatherStation type - I want to have possibily to get real time data together with station overview
c, make battery status optional - doesn't make sense to keep battery status not null, could just as well happen that battery 'sensor' dies, just as any other can, which should not stop reporting other values.
d, add/modify request examples
Add a way to insert weather condition data
Create mutation to store current weather conditions to db
Changes
remove forgotten .sql after mysql was removed
fix/modify timescaledb init file a, fix creating index (was using non-existing field) b, change column types - float precision is enough, tz is not neccessary
implement new mutation
insert_weather_data
- store data intowather_real_time
table a, add new modelStationCondition
b, add fieldweather_station_conditions
toWeatherStation
type - I want to have possibily to get real time data together with station overview c, make battery status optional - doesn't make sense to keep battery status not null, could just as well happen that battery 'sensor' dies, just as any other can, which should not stop reporting other values. d, add/modify request examples