Skip to content

Commit

Permalink
default value for state
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 22, 2020
1 parent 20c4292 commit e179aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plogical/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def applyLoginSystemMigrations():
pass

try:
cursor.execute('ALTER TABLE loginSystem_administrator ADD state varchar(15)')
cursor.execute("ALTER TABLE loginSystem_administrator ADD state varchar(15) DEFAULT 'ACTIVE'")
except:
pass

Expand Down

0 comments on commit e179aaf

Please sign in to comment.