Commit Graph

1 Commits

Author SHA1 Message Date
Tony Murray
efadac68d4 Clean up sensors and related tables and add constraints
Remove sensors for non existent devices and delete unused sensors_to_state_indexes, state_indexes, and state_translations
Change sensors.device_id to unsigned to match devices.device_id
Add foreign keys to sensors and sensors_to_state_indexes for cascading deletes
2016-06-28 21:09:25 -05:00