Fix two more downgrade invocations to accept the migrate_engine parameter

This commit is contained in:
Dannon Baker
2013-07-02 10:48:31 -04:00
parent 46eee3acda
commit b35a6c7992
2 changed files with 2 additions and 2 deletions
@@ -94,7 +94,7 @@ def upgrade(migrate_engine):
Tool_table.drop()
except Exception, e:
log.debug( "Dropping tool table failed: %s" % str( e ) )
def downgrade():
def downgrade(migrate_engine):
# Load existing tables
metadata.bind = migrate_engine
metadata.reflect()
@@ -64,7 +64,7 @@ def upgrade(migrate_engine):
except Exception, e:
print "Adding missing_test_components column to the repository_metadata table failed: %s" % str( e )
def downgrade():
def downgrade(migrate_engine):
metadata.bind = migrate_engine
metadata.reflect()
# Drop missing_test_components and tool_test_results from the repository_metadata table and add tool_test_errors to the repository_metadata table.