You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create schema.sql in the database/ folder containing the full SQLite database schema. Must include four tables — Rooms (room_id, room_name, capacity), Sensors (sensor_id, room_id, sensor_type, foreign key to Rooms), Sensor_Readings (reading_id, sensor_id, value, unit, timestamp), Alerts (alert_id, room_id, sensor_type, value, threshold, timestamp, resolved). All column names must be lowercase. This file must be committed before database.py so the team can see the structure. Commit with message [DATABASE] Add SQLite schema and reference this issue.
The text was updated successfully, but these errors were encountered:
Create schema.sql in the database/ folder containing the full SQLite database schema. Must include four tables — Rooms (room_id, room_name, capacity), Sensors (sensor_id, room_id, sensor_type, foreign key to Rooms), Sensor_Readings (reading_id, sensor_id, value, unit, timestamp), Alerts (alert_id, room_id, sensor_type, value, threshold, timestamp, resolved). All column names must be lowercase. This file must be committed before database.py so the team can see the structure. Commit with message [DATABASE] Add SQLite schema and reference this issue.
The text was updated successfully, but these errors were encountered: