commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/30e8f84914bd/ Changeset: 30e8f84914bd User: dannon Date: 2013-06-14 01:08:16 Summary: Fix toolshed migration 0017 to work with both postgres, postgresql dialect names Affected #: 1 file diff -r 827ff13a72914ed3ddacace717cc07af66af718e -r 30e8f84914bdd4ea66138f690c9df83e520d9572 lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py --- a/lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py +++ b/lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py @@ -29,7 +29,7 @@ # Initialize. if migrate_engine.name == 'mysql' or migrate_engine.name == 'sqlite': default_false = "0" - elif migrate_engine.name == 'postgres': + elif migrate_engine.name in ['postgres', 'postgresql']: default_false = "false" # Create and initialize tools_functionally_correct, do_not_test, time_last_tested, and tool_test_errors columns in repository_metadata table. RepositoryMetadata_table = Table( "repository_metadata", metadata, autoload=True ) https://bitbucket.org/galaxy/galaxy-central/commits/68c705bf0325/ Changeset: 68c705bf0325 Branch: stable User: dannon Date: 2013-06-14 01:08:16 Summary: Fix toolshed migration 0017 to work with both postgres, postgresql dialect names Affected #: 1 file diff -r aea50b1c8d9178de429e58805ca6c12e7f0465ee -r 68c705bf0325a54d2424a7b8ed44232c57a3b506 lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py --- a/lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py +++ b/lib/galaxy/webapps/tool_shed/model/migrate/versions/0017_add_galaxy_utility_columns_to_repository_metadata_table.py @@ -29,7 +29,7 @@ # Initialize. if migrate_engine.name == 'mysql' or migrate_engine.name == 'sqlite': default_false = "0" - elif migrate_engine.name == 'postgres': + elif migrate_engine.name in ['postgres', 'postgresql']: default_false = "false" # Create and initialize tools_functionally_correct, do_not_test, time_last_tested, and tool_test_errors columns in repository_metadata table. RepositoryMetadata_table = Table( "repository_metadata", metadata, autoload=True ) 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.
participants (1)
-
commits-noreply@bitbucket.org