Killed existing downgrade rules in migration scripts
Change-Id: If98c08bc45e4bf0f7df40c43e8cb1abc36bd7873 Partial-Bug: #1434103
This commit is contained in:
parent
deebfab485
commit
c1a595a047
@ -34,7 +34,3 @@ ${imports if imports else ""}
|
||||
|
||||
def upgrade():
|
||||
${upgrades if upgrades else "pass"}
|
||||
|
||||
|
||||
def downgrade():
|
||||
${downgrades if downgrades else "pass"}
|
||||
|
@ -35,9 +35,3 @@ def upgrade():
|
||||
for table in TABLES:
|
||||
op.create_index(op.f('ix_%s_tenant_id' % table),
|
||||
table, ['tenant_id'], unique=False)
|
||||
|
||||
|
||||
def downgrade():
|
||||
for table in TABLES:
|
||||
op.drop_index(op.f('ix_%s_tenant_id' % table),
|
||||
table_name=table)
|
||||
|
@ -28,7 +28,3 @@ down_revision = None
|
||||
|
||||
def upgrade():
|
||||
pass
|
||||
|
||||
|
||||
def downgrade():
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user