This commit is contained in:
əlemi 2022-04-20 00:20:24 +02:00
parent eefa1bf211
commit 6f53778fc9
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -42,7 +42,7 @@ class Storage:
cur = self.db.cursor() cur = self.db.cursor()
cur.execute('CREATE TABLE system (name TEXT PRIMARY KEY, version TEXT, start_time LONG)') cur.execute('CREATE TABLE system (name TEXT PRIMARY KEY, version TEXT, start_time LONG)')
cur.execute('CREATE TABLE documents (name TEXT PRIMARY KEY, value TEXT)') cur.execute('CREATE TABLE documents (name TEXT PRIMARY KEY, value TEXT)')
cur.execute('CREATE TABLE authenticator (date TEXT PRIMARY KEY, token TEXT, legacy BOOL') cur.execute('CREATE TABLE authenticator (date TEXT PRIMARY KEY, token TEXT, legacy BOOL)')
self.db.commit() self.db.commit()
def _set_state(self, state:SystemState): def _set_state(self, state:SystemState):