1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/69a6f9012305/ Changeset: 69a6f9012305 User: davebgx Date: 2014-11-25 15:33:01+00:00 Summary: Actually fix migration 23. Affected #: 1 file diff -r c35433664129cfcf07c39365350d2811b88c8a0f -r 69a6f901230540012d38f17adb1995d96f6a5dba lib/galaxy/webapps/tool_shed/model/migrate/versions/0023_add_repository_url_and_hompeage_url.py --- a/lib/galaxy/webapps/tool_shed/model/migrate/versions/0023_add_repository_url_and_hompeage_url.py +++ b/lib/galaxy/webapps/tool_shed/model/migrate/versions/0023_add_repository_url_and_hompeage_url.py @@ -7,6 +7,7 @@ from sqlalchemy.orm import * from migrate import * from migrate.changeset import * +from galaxy.model.custom_types import TrimmedString import sys, logging @@ -35,7 +36,6 @@ assert c_homepage is Repository_table.c.homepage_url except Exception, e: print "Adding remote_repository_url and homepage_url columns to the repository table failed: %s" % str( e ) - migrate_engine.execute( cmd ) def downgrade( migrate_engine ): metadata.bind = migrate_engine @@ -43,7 +43,7 @@ # Drop type column from repository table. Repository_table = Table( "repository", metadata, autoload=True ) try: - Repository_table.c.drop() + Repository_table.c.remote_repository_url.drop() Repository_table.c.homepage_url.drop() except Exception, e: print "Dropping columns remote_repository_url and homepage_url from the repository table failed: %s" % str( e ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.