mirror of
https://github.com/kaaninchen/Laterna.git
synced 2026-09-17 19:12:48 +00:00
feat: toggle controller state on/off
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user