We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b78be1 commit a2ba488Copy full SHA for a2ba488
create_db.py
@@ -15,15 +15,15 @@
15
temperature REAL NOT NULL,
16
humidity REAL NOT NULL
17
);
18
-
+''')
19
+cursor.execute('''
20
CREATE TABLE IF NOT EXISTS last_day_sensor_data (
21
id INTEGER PRIMARY KEY AUTOINCREMENT,
22
date TEXT NOT NULL,
23
co2 INTEGER NOT NULL,
24
25
26
27
''')
28
conn.commit()
29
conn.close()
0 commit comments