This commit is contained in:
PaulVua
2025-03-17 11:00:55 +01:00
parent 1c6af36313
commit ec3e81e99e
2 changed files with 37 additions and 3 deletions

View File

@@ -30,6 +30,15 @@ cursor.execute("""
VALUES (1, CURRENT_TIMESTAMP);
""")
#create a modem status table
cursor.execute("""
CREATE TABLE IF NOT EXISTS modem_status (
id INTEGER PRIMARY KEY AUTOINCREMENT,
timestamp TEXT,
status TEXT
)
""")
# Create a table NPM
cursor.execute("""
CREATE TABLE IF NOT EXISTS data_NPM (