gate2: fix all migrations for fresh DB installation
This commit is contained in:
@@ -17,7 +17,7 @@ down_revision = "0025_entity_history"
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.execute("ALTER TABLE mail_accounts ADD COLUMN IF NOT EXISTS password_salt VARCHAR(64) NOT NULL DEFAULT ''")
|
||||
op.execute("ALTER TABLE IF EXISTS mail_accounts ADD COLUMN IF NOT EXISTS password_salt VARCHAR(64) NOT NULL DEFAULT ''")
|
||||
|
||||
|
||||
def downgrade():
|
||||
|
||||
Reference in New Issue
Block a user