feat: toggle controller state on/off

This commit is contained in:
Kaaninchen
2026-08-03 18:50:22 +02:00
parent 67162359ed
commit 3f470096ce
7 changed files with 86 additions and 11 deletions
+2 -1
View File
@@ -34,6 +34,7 @@ func InitDB() {
id INTEGER PRIMARY KEY,
token_hash TEXT,
color TEXT,
active INTEGER DEFAULT 0,
updated_at DATETIME
);
`)
@@ -42,4 +43,4 @@ func InitDB() {
logger.DBLogger.Fatalf("An error occured while initializing the database: %v", err)
}
}
}