add state column to db

This commit is contained in:
Usman Nasir
2020-01-22 14:18:13 +05:00
parent 67243a44b2
commit 28fc0a9c4d

View File

@@ -526,6 +526,11 @@ class Upgrade:
except:
pass
try:
cursor.execute('ALTER TABLE loginSystem_administrator ADD state varchar(15)')
except:
pass
try:
cursor.execute('ALTER TABLE loginSystem_administrator ADD securityLevel integer DEFAULT 1')
except: