This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/data/migrations/versions
Joseph Schorr 2d2662f53f Fix deleting repos and images under MySQL
MySQL doesn't handle constraints at the end of transactions, so deleting images currently fails. This removes the constraint and just leaves parent_id as an int
2015-11-09 14:42:05 -05:00
..
1c0f6ede8992_quay_releases.py Add quay releases 2015-09-16 17:18:46 -04:00
1c3decf6b9c4_add_revert_tag_log_entry_kind.py Add ability to revert tags via time machine 2015-04-16 17:18:00 -04:00
1c5b738283a5_backfill_user_uuids.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
1d2d86d09fcd_actually_remove_the_column.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
1f116e06b68_add_gitlab_trigger_type.py Add migration to add gitlab trigger type 2015-05-03 10:49:13 -07:00
2b4dc0818a5e_add_a_unique_index_to_prevent_deadlocks_.py Add the migration for the unique index which helps prevent tag deadlocks. 2015-03-24 18:00:04 -04:00
2b2529fd23ff_add_aggregate_size_column.py Add aggregate size column and a migration to backfill it 2015-03-16 18:03:17 -04:00
2bf8af5bad95_add_keystone_login_service.py Basic Keystone Auth support 2015-07-20 10:55:21 -04:00
2e09ad97b06c_add_missing_tag_manifest_table.py Add missing migration 2015-07-22 16:19:10 -04:00
2e0380215d01_backfill_image_fields_from_image_.py Revert "Revert "Merge pull request #682 from jzelinskie/revertrevert"" 2015-10-23 15:26:33 -04:00
2fb36d4be80d_remove_the_namespace_column.py Temporarily put user rename behind a feature flag. Switch queue names back to using the username for namespace while we figure out a real migration strategy. 2014-11-20 15:36:39 -05:00
3a3bb77e17d5_add_support_for_dex_login.py Add support for Dex to Quay 2015-09-04 17:05:06 -04:00
3b4d3a4461dc_add_support_for_squashed_images.py Fix the squashed image migration to insert the proper image transformation type. 2014-10-08 11:47:02 -04:00
3e2d38b52a75_add_access_token_kinds_type.py Add tracking of the kind of temporary access tokens, so we can display if a pull/push by token is for a build worker 2015-02-17 12:35:16 -05:00
3f4fe1194671_backfill_the_namespace_user_fields.py Fix all of the upgrades and downgrades to work on both mysql and postgres. 2014-10-06 16:41:49 -04:00
3fee6f979c2a_make_auth_token_nullable.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
3ff4fbc94644_migrate_github_triggers_to_use_deploy_.py Migrate all GitHub build triggers to use deploy keys 2015-09-16 17:55:51 -04:00
4a0c94399f38_add_new_notification_kinds.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
4b7ef0c7bdb2_add_the_maintenance_notification_type.py Inject the tables metadata into the upgrade and downgrade functions. Fix a bunch of the downgrades to actually work. 2014-09-04 20:58:29 -04:00
4ce2169efd3b_add_reversion_column_to_the_tags_table.py migration: use SA boolean value for server_default 2015-05-15 19:04:54 -04:00
4d5f6716df0_add_legacy_column_for_github_backfill_.py Fix migration head 2015-09-16 18:34:42 -04:00
4ef04c61fcf9_allow_tags_to_be_marked_as_hidden.py Allow tags to be marked as hidden. Create a hidden tag on every image during a push to prevent them from getting GCed. 2015-02-18 17:05:16 -05:00
4fdb65816b8d_add_brute_force_prevention_metadata_to_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
5a07499ce53f_set_up_initial_database.py Explicitly declare length of large MySQL indices. 2015-01-06 14:55:31 -05:00
5ad999136045_add_signature_storage.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
5b84373e5db_convert_slack_webhook_data.py Refactor the util directory to use subpackages. 2015-08-03 16:04:19 -04:00
5cdc2d819c5_add_vulnerability_found_event.py Add a vulnerability_found event for notice when we detect a vuln 2015-11-06 15:22:18 -05:00
6f2ecf5afcf_add_the_uncompressed_size_to_image_.py Fix the migration to use the proper base. 2014-09-23 14:04:20 -04:00
9a1087b007d_allow_the_namespace_column_to_be_.py Fix all of the upgrades and downgrades to work on both mysql and postgres. 2014-10-06 16:41:49 -04:00
13da56878560_migrate_registry_namespaces_to_.py Fix the migration to use the proper column name that peewee expects. 2014-09-23 14:20:15 -04:00
14fe12ade3df_add_build_queue_item_reference_to_the_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
17f11e265e13_add_uuid_field_to_user.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
22af01f81722_backfill_parent_id_and_v1_checksums.py Re-enable parent id backfill, use new backfill style 2015-11-06 16:17:12 -05:00
30c044b75632_add_repositoryactioncount_table.py Add a RepositoryActionCount table so we can use it (instead of LogEntry) when scoring repo search results 2015-04-13 13:31:07 -04:00
33bd39ef5ed6_backport_v2_db_changes.py Backport remaining v2 changes to phase4 2015-10-24 15:00:13 -04:00
34fd69f63809_add_support_for_build_log_migration.py Set up the service monitoring for the log migration script. Add a database migration to add the logs_archived column. 2014-09-12 11:57:47 -04:00
35f538da62_switch_manifest_text_to_a_longtext.py UTF-8 v1_json_metadata, comment, manifest 2015-11-02 15:40:19 -05:00
37c47a7af956_add_custom_git_trigger_type_to_database.py migration: add custom-git service to database 2015-04-24 16:11:58 -04:00
41f4587c84ae_add_jwt_authentication_login_service.py Add support for an external JWT-based authentication system 2015-06-05 13:20:10 -04:00
43e943c0639f_add_log_kind_for_regenerating_robot_.py - Add a log entry for repo verb handling and make the container usage calculation take it into account 2014-10-29 15:42:44 -04:00
51d04d0e7e6f_email_invites_for_joining_a_team.py Allow the namespace column to be null, and also non-unique. Fix the uncompressed size clobbering the size on the wire field. Add metadata constraints so that foreign key constraints get predictable names. Fix all downgrade migrations. 2014-10-02 10:46:20 -04:00
57dad559ff2d_add_support_for_quay_s_security_indexer.py Fix deleting repos and images under MySQL 2015-11-09 14:42:05 -05:00
67eb43c778b_add_index_for_repository_datetime_to_.py Add migration for properly creating the repository_id+datetime index 2015-04-19 16:03:06 -04:00
154f2befdfbe_add_enabled_column_to_the_user_system.py Add a server default for the broken migration. 2015-07-14 16:58:58 -04:00
201d55b38649_remove_fields_from_image_table_that_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
204abf14783d_add_log_entry_kind_for_verbs.py Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
228d1af6af1c_mysql_max_index_lengths.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
246df01a6d51_add_index_to_retries_remaining.py Add missing index on retries_remaining 2015-08-04 18:01:28 -04:00
313d297811c4_add_an_index_to_the_docker_image_id_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
325a4d7c79d9_prepare_the_database_for_the_new_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
437ee6269a9d_migrate_bitbucket_services_to_webhooks.py Refactor the util directory to use subpackages. 2015-08-03 16:04:19 -04:00
499f6f08de3_add_title_field_to_notification.py Add missing migration 2015-08-21 14:21:11 -04:00
509d2857566f_track_the_lifetime_start_and_end_for_.py Merge remote-tracking branch 'origin/master' into rockyhorror 2015-02-18 10:56:01 -05:00
707d5191eda_change_build_queue_reference_from_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
1594a74a74ca_add_metadata_field_to_external_logins.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
2088f2b81010_add_stars.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
2430f55c41d5_calculate_uncompressed_sizes_for_all_.py Refactor the util directory to use subpackages. 2015-08-03 16:04:19 -04:00
2827d36939e4_separate_v1_and_v2_checksums.py resolve migration branches and run initdb 2015-11-06 16:10:31 -05:00
5232a5610a0a_add_logentry_repo_datetime_kind_index.py Switch to using an aggregated logs query and infinite scrolling 2015-07-31 16:38:02 -04:00
31288f79df53_make_resource_key_nullable.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
47670cbeced_migrate_existing_webhooks_to_.py Inject the tables metadata into the upgrade and downgrade functions. Fix a bunch of the downgrades to actually work. 2014-09-04 20:58:29 -04:00
73669db7e12_remove_legacy_github_column.py Move v1 checksums to image and track v2 separately 2015-11-06 15:17:55 -05:00
82297d834ad_add_us_west_location.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
127905a52fdd_remove_the_deprecated_imagestorage_.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00
214350b6a8b1_add_private_key_to_build_triggers.py Merge branch 'master' into git 2015-04-20 10:58:49 -04:00
9512773a4a2_add_userregion_table.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
50925110da8c_add_event_specific_config.py prepare branch to be merged into phase1-11-07-2015 2015-11-06 15:22:18 -05:00
313179799c8b_add_bitbucket_build_trigger_type.py Add bitbucket trigger type 2015-04-30 15:55:57 -04:00
545794454f49_migrate_image_data_back_to_image_table.py UTF-8 v1_json_metadata, comment, manifest 2015-11-02 15:40:19 -05:00
b1d41e2071b_add_an_index_to_the_uuid_in_the_image_.py Add an index to the image storage uuid to improve performance. 2014-10-06 18:44:37 -04:00
bcdde200a1b_add_placements_and_locations_to_the_db.py Inject the tables metadata into the upgrade and downgrade functions. Fix a bunch of the downgrades to actually work. 2014-09-04 20:58:29 -04:00
f42b0ea7a4d_remove_the_old_webhooks_table.py Fix references to mysql in migrations 2015-10-24 15:00:19 -04:00