mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix two more downgrade invocations to accept the migrate_engine parameter
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user