fix sqlite syntax error
This commit is contained in:
parent
7d2f2a89ac
commit
f7eaeeb88e
@ -45,7 +45,7 @@ class Database(SQLiteBase):
|
||||
cursor = self.cursor()
|
||||
|
||||
if version < 1:
|
||||
cursor.execute("CREATE TABLE IF NOT EXISTS status (guard_enabled) INTEGER NOT NULL")
|
||||
cursor.execute("CREATE TABLE IF NOT EXISTS status (guard_enabled INTEGER NOT NULL)")
|
||||
cursor.execute("INSERT INTO status (guard_enabled) VALUES (-1)")
|
||||
|
||||
self.commit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user