add state column to db

This commit is contained in:
Usman Nasir
2020-01-22 14:18:13 +05:00
parent be4b85cbe3
commit 9301a524f7

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: