pihome-shc / pihome

PiHome - Smart Heating, Ventilation and Air Conditioning (HVAC)
http://www.pihome.eu
Other
52 stars 25 forks source link

#368 Enable Multiple controllers per Zone. NOTE: execute migrate_controller.php in the MySQL_Database directory to update the database DO NOT USE update_db.php #390

Closed twa127 closed 3 years ago

pihome-shc commented 3 years ago

@twa127 this update does require database update for this to work?

twa127 commented 3 years ago

Yes but migrate_controller.php takes care of that, it creates the new table zone_controllers, modifies the zone table and updates the zone_view

pihome-shc commented 3 years ago

should we do new release now? i.e 1.77?

twa127 commented 3 years ago

Yes good point as the database structure has changed, perhaps the code for the version update need to be included in migrate_controllers.php as not using update_db.php, what do you think ?

pihome-shc commented 3 years ago

yes that is right, also i need to get #391 completed before next release. as it is very critical we have way to communicate with user and send update alerts.

twa127 commented 3 years ago

okay I'll add to migrate_controllers.php and set version to 1.77

twa127 commented 3 years ago

Okay added to the commit

pihome-shc commented 3 years ago

392

391

388

368