Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.webapps.tool_shed.model.migrate package¶
Subpackages¶
- galaxy.webapps.tool_shed.model.migrate.versions package
- Submodules
- galaxy.webapps.tool_shed.model.migrate.versions.0001_initial_tables module
- galaxy.webapps.tool_shed.model.migrate.versions.0002_add_tool_suite_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0003_review_and_review_association_tables module
- galaxy.webapps.tool_shed.model.migrate.versions.0004_repository_tables module
- galaxy.webapps.tool_shed.model.migrate.versions.0005_drop_tool_related_tables module
- galaxy.webapps.tool_shed.model.migrate.versions.0006_add_email_alerts_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0007_add_long_description_times_downloaded_columns module
- galaxy.webapps.tool_shed.model.migrate.versions.0008_add_repository_metadata_table module
- galaxy.webapps.tool_shed.model.migrate.versions.0009_add_malicious_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0010_add_new_repo_alert_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0011_add_tool_versions_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0012_add_downloadable_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0013_add_review_tables module
- galaxy.webapps.tool_shed.model.migrate.versions.0014_add_deprecated_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0015_add_api_keys_table module
- galaxy.webapps.tool_shed.model.migrate.versions.0016_add_do_not_test_tools_functionally_correct_errors_columns module
- galaxy.webapps.tool_shed.model.migrate.versions.0017_add_galaxy_utility_columns_to_repository_metadata_table module
- galaxy.webapps.tool_shed.model.migrate.versions.0018_add_repository_metadata_flag_columns module
- galaxy.webapps.tool_shed.model.migrate.versions.0019_add_skip_tool_test_table_and_test_install_error_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0020_add_repository_type_column module
- galaxy.webapps.tool_shed.model.migrate.versions.0021_change_repository_type_value module
- galaxy.webapps.tool_shed.model.migrate.versions.0022_add_repository_admin_roles module
- galaxy.webapps.tool_shed.model.migrate.versions.0023_add_repository_url_and_hompeage_url module
- galaxy.webapps.tool_shed.model.migrate.versions.0024_password_reset module
- galaxy.webapps.tool_shed.model.migrate.versions.0025_session_timeout module
- galaxy.webapps.tool_shed.model.migrate.versions.0026_add_numeric_revision_column module
Submodules¶
galaxy.webapps.tool_shed.model.migrate.check module¶
-
galaxy.webapps.tool_shed.model.migrate.check.
create_or_verify_database
(url, engine_options={})[source]¶ Check that the database is use-able, possibly creating it if empty (this is the only time we automatically create tables, otherwise we force the user to do it using the management script so they can create backups).
- Empty database –> initialize with latest version and return
- Database older than migration support –> fail and require manual update
- Database at state where migrate support introduced –> add version control information but make no changes (might still require manual update)
- Database versioned but out of date –> fail with informative message, user must run “sh manage_db.sh upgrade”