summaryrefslogtreecommitdiff
path: root/spec/migrations
ModeNameSize
-rw-r--r--20190924152703_migrate_issue_trackers_data_spec.rb2015logplain
-rw-r--r--20191015154408_drop_merge_requests_require_code_owner_approval_from_projects_spec.rb1815logplain
-rw-r--r--20191125114345_add_admin_mode_protected_path_spec.rb1456logplain
-rw-r--r--20191204114127_delete_legacy_triggers_spec.rb700logplain
-rw-r--r--20200107172020_add_timestamp_softwarelicensespolicy_spec.rb749logplain
-rw-r--r--20200122123016_backfill_project_settings_spec.rb1063logplain
-rw-r--r--20200123155929_remove_invalid_jira_data_spec.rb2065logplain
-rw-r--r--20200127090233_remove_invalid_issue_tracker_data_spec.rb1854logplain
-rw-r--r--20200130145430_reschedule_migrate_issue_trackers_data_spec.rb3609logplain
-rw-r--r--20200313203550_remove_orphaned_chat_names_spec.rb1024logplain
-rw-r--r--20200406102120_backfill_deployment_clusters_from_deployments_spec.rb1876logplain
-rw-r--r--20200511145545_change_variable_interpolation_format_in_common_metrics_spec.rb1354logplain
-rw-r--r--20200526115436_dedup_mr_metrics_spec.rb3089logplain
-rw-r--r--20200526231421_update_index_approval_rule_name_for_code_owners_rule_type_spec.rb5728logplain
-rw-r--r--20200703125016_backfill_namespace_settings_spec.rb943logplain
-rw-r--r--20200706035141_adjust_unique_index_alert_management_alerts_spec.rb1883logplain
-rw-r--r--20200728080250_replace_unique_index_on_cycle_analytics_stages_spec.rb1867logplain
-rw-r--r--20200728182311_add_o_auth_paths_to_protected_paths_spec.rb1596logplain
-rw-r--r--20200811130433_create_missing_vulnerabilities_issue_links_spec.rb5637logplain
-rw-r--r--20200915044225_schedule_migration_to_hashed_storage_spec.rb385logplain
-rw-r--r--20200929052138_create_initial_versions_for_pre_versioning_terraform_states_spec.rb1747logplain
-rw-r--r--20201014205300_drop_backfill_jira_tracker_deployment_type_jobs_spec.rb2452logplain
-rw-r--r--20201027002551_migrate_services_to_http_integrations_spec.rb1445logplain
-rw-r--r--20201028182809_backfill_jira_tracker_deployment_type2_spec.rb1567logplain
-rw-r--r--20201110161542_cleanup_transfered_projects_shared_runners_spec.rb1175logplain
-rw-r--r--20201112130710_schedule_remove_duplicate_vulnerabilities_findings_spec.rb5029logplain
-rw-r--r--20201112130715_schedule_recalculate_uuid_on_vulnerabilities_occurrences_spec.rb4706logplain
-rw-r--r--20210112143418_remove_duplicate_services2_spec.rb2114logplain
-rw-r--r--20210119122354_alter_vsa_issue_first_mentioned_in_commit_value_spec.rb1711logplain
-rw-r--r--20210205174154_remove_bad_dependency_proxy_manifests_spec.rb1285logplain
-rw-r--r--20210210093901_backfill_updated_at_after_repository_storage_move_spec.rb3096logplain
-rw-r--r--20210218040814_add_environment_scope_to_group_variables_spec.rb1409logplain
-rw-r--r--20210226141517_dedup_issue_metrics_spec.rb2814logplain
-rw-r--r--20210406144743_backfill_total_tuple_count_for_batched_migrations_spec.rb1127logplain
-rw-r--r--20210413132500_reschedule_artifact_expiry_backfill_again_spec.rb1442logplain
-rw-r--r--20210421163509_schedule_update_jira_tracker_data_deployment_type_based_on_url_spec.rb1845logplain
-rw-r--r--20210423160427_schedule_drop_invalid_vulnerabilities_spec.rb3785logplain
-rw-r--r--20210430134202_copy_adoption_snapshot_namespace_spec.rb1475logplain
-rw-r--r--20210430135954_copy_adoption_segments_namespace_spec.rb822logplain
-rw-r--r--20210503105845_add_project_value_stream_id_to_project_stages_spec.rb1012logplain
-rw-r--r--20210511142748_schedule_drop_invalid_vulnerabilities2_spec.rb4213logplain
-rw-r--r--20210514063252_schedule_cleanup_orphaned_lfs_objects_projects_spec.rb1787logplain
-rw-r--r--20210601073400_fix_total_stage_in_vsa_spec.rb1644logplain
-rw-r--r--20210601080039_group_protected_environments_add_index_and_constraint_spec.rb1073logplain
-rw-r--r--20210603222333_remove_builds_email_service_from_services_spec.rb799logplain
-rw-r--r--20210610153556_delete_legacy_operations_feature_flags_spec.rb2484logplain
-rw-r--r--2021061716138_cascade_delete_freeze_periods_spec.rb714logplain
-rw-r--r--20210708130419_reschedule_merge_request_diff_users_background_migration_spec.rb2184logplain
-rw-r--r--20210722042939_update_issuable_slas_where_issue_closed_spec.rb1289logplain
-rw-r--r--20210722150102_operations_feature_flags_correct_flexible_rollout_values_spec.rb2313logplain
-rw-r--r--20210804150320_create_base_work_item_types_spec.rb1011logplain
-rw-r--r--20210805192450_update_trial_plans_ci_daily_pipeline_schedule_triggers_spec.rb5604logplain
-rw-r--r--20210811122206_update_external_project_bots_spec.rb954logplain
-rw-r--r--20210818185845_backfill_projects_with_coverage_spec.rb2333logplain
-rw-r--r--20210819145000_drop_temporary_columns_and_triggers_for_ci_builds_runner_session_spec.rb745logplain
-rw-r--r--20210831203408_upsert_base_work_item_types_spec.rb1803logplain
-rw-r--r--20210902144144_drop_temporary_columns_and_triggers_for_ci_build_needs_spec.rb664logplain
-rw-r--r--20210906100316_drop_temporary_columns_and_triggers_for_ci_build_trace_chunks_spec.rb712logplain
-rw-r--r--README.md131logplain
d---------active_record42logplain
-rw-r--r--add_default_and_free_plans_spec.rb799logplain
-rw-r--r--add_default_project_approval_rules_vuln_allowed_spec.rb1157logplain
-rw-r--r--add_default_value_stream_to_groups_with_group_stages_spec.rb1360logplain
-rw-r--r--add_deploy_token_type_to_deploy_tokens_spec.rb723logplain
-rw-r--r--add_has_external_issue_tracker_trigger_spec.rb6578logplain
-rw-r--r--add_has_external_wiki_trigger_spec.rb4534logplain
-rw-r--r--add_incident_settings_to_all_existing_projects_spec.rb2921logplain
-rw-r--r--add_new_post_eoa_plans_spec.rb845logplain
-rw-r--r--add_new_trail_plans_spec.rb3376logplain
-rw-r--r--add_partial_index_to_ci_builds_table_on_user_id_name_spec.rb688logplain
-rw-r--r--add_premium_and_ultimate_plan_limits_spec.rb2933logplain
-rw-r--r--add_repository_storages_weighted_to_application_settings_spec.rb882logplain
-rw-r--r--add_temporary_partial_index_on_project_id_to_services_spec.rb677logplain
-rw-r--r--add_triggers_to_integrations_type_new_spec.rb2195logplain
-rw-r--r--add_unique_constraint_to_approvals_user_id_and_merge_request_id_spec.rb1805logplain
-rw-r--r--add_upvotes_count_index_to_issues_spec.rb662logplain
-rw-r--r--associate_existing_dast_builds_with_variables_spec.rb3706logplain
-rw-r--r--backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb996logplain
-rw-r--r--backfill_cadence_id_for_boards_scoped_to_iteration_spec.rb5281logplain
-rw-r--r--backfill_clusters_integration_prometheus_enabled_spec.rb3683logplain
-rw-r--r--backfill_escalation_policies_for_oncall_schedules_spec.rb4753logplain
-rw-r--r--backfill_imported_snippet_repositories_spec.rb1323logplain
-rw-r--r--backfill_integrations_type_new_spec.rb897logplain
-rw-r--r--backfill_issues_upvotes_count_spec.rb1364logplain
-rw-r--r--backfill_nuget_temporary_packages_to_processing_status_spec.rb1636logplain
-rw-r--r--backfill_operations_feature_flags_active_spec.rb1433logplain
-rw-r--r--backfill_operations_feature_flags_iid_spec.rb825logplain
-rw-r--r--backfill_releases_table_updated_at_and_add_not_null_constraints_to_timestamps_spec.rb2378logplain
-rw-r--r--backfill_snippet_repositories_spec.rb1070logplain
-rw-r--r--backfill_stage_event_hash_spec.rb3306logplain
-rw-r--r--backfill_status_page_published_incidents_spec.rb2198logplain
-rw-r--r--backport_enterprise_schema_spec.rb1050logplain
-rw-r--r--cap_designs_filename_length_to_new_limit_spec.rb2069logplain
-rw-r--r--change_outbound_local_requests_whitelist_default_spec.rb745logplain
-rw-r--r--change_packages_size_defaults_in_project_statistics_spec.rb985logplain
-rw-r--r--change_web_hook_events_default_spec.rb1247logplain
-rw-r--r--clean_grafana_url_spec.rb1085logplain
-rw-r--r--clean_up_noteable_id_for_notes_on_commits_spec.rb1252logplain
-rw-r--r--clean_up_pending_builds_table_spec.rb1532logplain
-rw-r--r--cleanup_empty_commit_user_mentions_spec.rb2173logplain
-rw-r--r--cleanup_group_import_states_with_null_user_id_spec.rb4748logplain
-rw-r--r--cleanup_legacy_artifact_migration_spec.rb3299logplain
-rw-r--r--cleanup_move_container_registry_enabled_to_project_features_spec.rb3393logplain
-rw-r--r--cleanup_optimistic_locking_nulls_pt2_fixed_spec.rb1240logplain
-rw-r--r--cleanup_optimistic_locking_nulls_spec.rb1717logplain
-rw-r--r--cleanup_projects_with_bad_has_external_issue_tracker_data_spec.rb3512logplain
-rw-r--r--cleanup_projects_with_bad_has_external_wiki_data_spec.rb2869logplain
-rw-r--r--cleanup_projects_with_missing_namespace_spec.rb5489logplain
-rw-r--r--cleanup_remaining_orphan_invites_spec.rb1219logplain
-rw-r--r--complete_namespace_settings_migration_spec.rb768logplain
-rw-r--r--confirm_project_bot_users_spec.rb2192logplain
-rw-r--r--confirm_security_bot_spec.rb910logplain
-rw-r--r--confirm_support_bot_user_spec.rb2342logplain
-rw-r--r--create_environment_for_self_monitoring_project_spec.rb1932logplain
-rw-r--r--deduplicate_epic_iids_spec.rb1592logplain
-rw-r--r--delete_internal_ids_where_feature_flags_usage_spec.rb1156logplain
-rw-r--r--delete_security_findings_without_uuid_spec.rb2030logplain
-rw-r--r--delete_template_project_services_spec.rb774logplain
-rw-r--r--delete_template_services_duplicated_by_type_spec.rb814logplain
-rw-r--r--delete_user_callout_alerts_moved_spec.rb930logplain
-rw-r--r--disable_expiration_policies_linked_to_no_container_images_spec.rb1681logplain
-rw-r--r--disable_job_token_scope_when_unused_spec.rb1821logplain
-rw-r--r--drop_activate_prometheus_services_background_jobs_spec.rb4032logplain
-rw-r--r--drop_alerts_service_data_spec.rb576logplain
-rw-r--r--drop_background_migration_jobs_spec.rb2677logplain
-rw-r--r--drop_project_ci_cd_settings_merge_trains_enabled_spec.rb602logplain
-rw-r--r--encrypt_feature_flags_clients_tokens_spec.rb1384logplain
-rw-r--r--encrypt_plaintext_attributes_on_application_settings_spec.rb1860logplain
-rw-r--r--enqueue_reset_merge_status_second_run_spec.rb1688logplain
-rw-r--r--enqueue_reset_merge_status_spec.rb1679logplain
-rw-r--r--ensure_filled_external_diff_store_on_merge_request_diffs_spec.rb1808logplain
-rw-r--r--ensure_filled_file_store_on_package_files_spec.rb1717logplain
-rw-r--r--ensure_namespace_settings_creation_spec.rb1472logplain
-rw-r--r--ensure_target_project_id_is_filled_spec.rb1548logplain
-rw-r--r--ensure_u2f_registrations_migrated_spec.rb1692logplain
-rw-r--r--fill_file_store_ci_job_artifacts_spec.rb1495logplain
-rw-r--r--fill_file_store_lfs_objects_spec.rb1122logplain
-rw-r--r--fill_productivity_analytics_start_date_spec.rb1441logplain
-rw-r--r--fill_store_uploads_spec.rb1278logplain
-rw-r--r--fix_batched_migrations_old_format_job_arguments_spec.rb2953logplain
-rw-r--r--fix_max_pages_size_spec.rb771logplain
-rw-r--r--fix_null_type_labels_spec.rb1403logplain
-rw-r--r--fix_pool_repository_source_project_id_spec.rb1404logplain
-rw-r--r--fix_projects_without_project_feature_spec.rb1139logplain
-rw-r--r--fix_projects_without_prometheus_services_spec.rb1198logplain
-rw-r--r--fix_wrong_pages_access_level_spec.rb4242logplain
-rw-r--r--generate_ci_jwt_signing_key_spec.rb1197logplain
-rw-r--r--generate_customers_dot_jwt_signing_key_spec.rb1284logplain
-rw-r--r--generate_lets_encrypt_private_key_spec.rb261logplain
-rw-r--r--generate_missing_routes_for_bots_spec.rb2858logplain
-rw-r--r--insert_ci_daily_pipeline_schedule_triggers_plan_limits_spec.rb2223logplain
-rw-r--r--insert_daily_invites_plan_limits_spec.rb1522logplain
-rw-r--r--insert_project_feature_flags_plan_limits_spec.rb2093logplain
-rw-r--r--insert_project_hooks_plan_limits_spec.rb1755logplain
-rw-r--r--migrate_all_merge_request_user_mentions_to_db_spec.rb2056logplain
-rw-r--r--migrate_auto_dev_ops_domain_to_cluster_domain_spec.rb3300logplain
-rw-r--r--migrate_bot_type_to_user_type_spec.rb602logplain
-rw-r--r--migrate_code_owner_approval_status_to_protected_branches_in_batches_spec.rb1674logplain
-rw-r--r--migrate_commit_notes_mentions_to_db_spec.rb2145logplain
-rw-r--r--migrate_compliance_framework_enum_to_database_framework_record_spec.rb2811logplain
-rw-r--r--migrate_create_commit_signature_worker_sidekiq_queue_spec.rb1402logplain
-rw-r--r--migrate_delayed_project_removal_from_namespaces_to_namespace_settings_spec.rb1793logplain
-rw-r--r--migrate_discussion_id_on_promoted_epics_spec.rb2520logplain
-rw-r--r--migrate_elastic_index_settings_spec.rb1025logplain
-rw-r--r--migrate_incident_issues_to_incident_type_spec.rb1665logplain
-rw-r--r--migrate_k8s_service_integration_spec.rb6007logplain
-rw-r--r--migrate_legacy_managed_clusters_to_unmanaged_spec.rb1241logplain
-rw-r--r--migrate_managed_clusters_with_no_token_to_unmanaged_spec.rb1402logplain
-rw-r--r--migrate_merge_request_mentions_to_db_spec.rb1912logplain
-rw-r--r--migrate_ops_feature_flags_scopes_target_user_ids_spec.rb4811logplain
-rw-r--r--migrate_protected_attribute_to_pending_builds_spec.rb1396logplain
-rw-r--r--migrate_storage_migrator_sidekiq_queue_spec.rb1307logplain
-rw-r--r--migrate_store_security_reports_sidekiq_queue_spec.rb1057logplain
-rw-r--r--migrate_sync_security_reports_to_report_approval_rules_sidekiq_queue_spec.rb1221logplain
-rw-r--r--move_container_registry_enabled_to_project_features3_spec.rb2165logplain
-rw-r--r--move_limits_from_plans_spec.rb1552logplain
-rw-r--r--nullify_users_role_spec.rb1035logplain
-rw-r--r--orphaned_invite_tokens_cleanup_spec.rb1705logplain
-rw-r--r--populate_dismissal_information_for_vulnerabilities_spec.rb4040logplain
-rw-r--r--populate_project_statistics_packages_size_spec.rb1545logplain
-rw-r--r--populate_remaining_missing_dismissal_information_for_vulnerabilities_spec.rb1730logplain
-rw-r--r--populate_rule_type_on_approval_merge_request_rules_spec.rb1651logplain
-rw-r--r--re_schedule_latest_pipeline_id_population_with_all_security_related_artifact_types_spec.rb2345logplain
-rw-r--r--remove_additional_application_settings_rows_spec.rb731logplain
-rw-r--r--remove_alerts_service_records_again_spec.rb596logplain
-rw-r--r--remove_alerts_service_records_spec.rb828logplain
-rw-r--r--remove_deprecated_jenkins_service_records_spec.rb906logplain
-rw-r--r--remove_duplicate_dast_site_tokens_spec.rb2185logplain
-rw-r--r--remove_duplicate_dast_site_tokens_with_same_token_spec.rb2605logplain
-rw-r--r--remove_duplicate_labels_from_groups_spec.rb10275logplain
-rw-r--r--remove_duplicate_labels_from_project_spec.rb10902logplain
-rw-r--r--remove_empty_github_service_templates_spec.rb1359logplain
-rw-r--r--remove_gitlab_issue_tracker_service_records_spec.rb596logplain
-rw-r--r--remove_hipchat_service_records_spec.rb539logplain
-rw-r--r--remove_orphan_service_hooks_spec.rb863logplain
-rw-r--r--remove_orphaned_invited_members_spec.rb2188logplain
-rw-r--r--remove_packages_deprecated_dependencies_spec.rb1077logplain
-rw-r--r--remove_records_without_group_from_webhooks_table_spec.rb993logplain
-rw-r--r--remove_security_dashboard_feature_flag_spec.rb1950logplain
-rw-r--r--rename_security_dashboard_feature_flag_to_instance_security_dashboard_spec.rb2068logplain
-rw-r--r--rename_services_to_integrations_spec.rb10218logplain
-rw-r--r--rename_sitemap_namespace_spec.rb808logplain
-rw-r--r--rename_sitemap_root_namespaces_spec.rb1142logplain
-rw-r--r--replace_external_wiki_triggers_spec.rb4234logplain
-rw-r--r--reschedule_artifact_expiry_backfill_spec.rb1392logplain
-rw-r--r--reschedule_delete_orphaned_deployments_spec.rb2595logplain
-rw-r--r--reschedule_set_default_iteration_cadences_spec.rb2488logplain
-rw-r--r--reseed_merge_trains_enabled_spec.rb976logplain
-rw-r--r--reseed_repository_storages_weighted_spec.rb1331logplain
-rw-r--r--reset_job_token_scope_enabled_again_spec.rb918logplain
-rw-r--r--reset_job_token_scope_enabled_spec.rb913logplain
-rw-r--r--reset_severity_levels_to_new_default_spec.rb1351logplain
-rw-r--r--retry_backfill_traversal_ids_spec.rb3622logplain
-rw-r--r--save_instance_administrators_group_id_spec.rb3419logplain
-rw-r--r--schedule_backfill_push_rules_id_in_projects_spec.rb1474logplain
-rw-r--r--schedule_blocked_by_links_replacement_second_try_spec.rb1417logplain
-rw-r--r--schedule_copy_ci_builds_columns_to_security_scans2_spec.rb2422logplain
-rw-r--r--schedule_disable_expiration_policies_linked_to_no_container_images_spec.rb1940logplain
-rw-r--r--schedule_fill_valid_time_for_pages_domain_certificates_spec.rb1690logplain
-rw-r--r--schedule_link_lfs_objects_projects_spec.rb2968logplain
-rw-r--r--schedule_merge_request_cleanup_schedules_backfill_spec.rb1774logplain
-rw-r--r--schedule_migrate_pages_to_zip_storage_spec.rb1628logplain
-rw-r--r--schedule_migrate_security_scans_spec.rb2148logplain
-rw-r--r--schedule_migrate_u2f_webauthn_spec.rb1913logplain
-rw-r--r--schedule_pages_metadata_migration_spec.rb884logplain
-rw-r--r--schedule_populate_finding_uuid_for_vulnerability_feedback_spec.rb1690logplain
-rw-r--r--schedule_populate_has_vulnerabilities_spec.rb1528logplain
-rw-r--r--schedule_populate_issue_email_participants_spec.rb1376logplain
-rw-r--r--schedule_populate_merge_request_assignees_table_spec.rb1260logplain
-rw-r--r--schedule_populate_missing_dismissal_information_for_vulnerabilities_spec.rb2136logplain
-rw-r--r--schedule_populate_personal_snippet_statistics_spec.rb2091logplain
-rw-r--r--schedule_populate_project_snippet_statistics_spec.rb2194logplain
-rw-r--r--schedule_populate_user_highest_roles_table_spec.rb1101logplain
-rw-r--r--schedule_recalculate_project_authorizations_second_run_spec.rb731logplain
-rw-r--r--schedule_recalculate_project_authorizations_spec.rb2319logplain
-rw-r--r--schedule_recalculate_project_authorizations_third_run_spec.rb730logplain
-rw-r--r--schedule_recalculate_uuid_on_vulnerabilities_occurrences2_spec.rb4012logplain
-rw-r--r--schedule_recalculate_uuid_on_vulnerabilities_occurrences3_spec.rb4012logplain
-rw-r--r--schedule_repopulate_historical_vulnerability_statistics_spec.rb1558logplain
-rw-r--r--schedule_security_setting_creation_spec.rb1736logplain
-rw-r--r--schedule_sync_issuables_state_id_spec.rb4074logplain
-rw-r--r--schedule_sync_issuables_state_id_where_nil_spec.rb2758logplain
-rw-r--r--schedule_update_existing_subgroup_to_match_visibility_level_of_parent_spec.rb3323logplain
-rw-r--r--schedule_update_existing_users_that_require_two_factor_auth_spec.rb1171logplain
-rw-r--r--schedule_update_timelogs_project_id_spec.rb1373logplain
-rw-r--r--schedule_update_users_where_two_factor_auth_required_from_group_spec.rb1182logplain
-rw-r--r--seed_merge_trains_enabled_spec.rb970logplain
-rw-r--r--seed_repository_storages_weighted_spec.rb844logplain
-rw-r--r--services_remove_temporary_index_on_project_id_spec.rb1246logplain
-rw-r--r--set_default_job_token_scope_true_spec.rb942logplain
-rw-r--r--set_issue_id_for_all_versions_spec.rb1425logplain
-rw-r--r--set_job_waiter_ttl_spec.rb974logplain
-rw-r--r--slice_merge_request_diff_commit_migrations_spec.rb1790logplain
-rw-r--r--steal_merge_request_diff_commit_users_migration_spec.rb787logplain
-rw-r--r--sync_issuables_state_id_spec.rb2332logplain
-rw-r--r--truncate_user_fullname_spec.rb666logplain
-rw-r--r--unconfirm_wrongfully_verified_emails_spec.rb1505logplain
-rw-r--r--update_application_setting_npm_package_requests_forwarding_default_spec.rb1147logplain
-rw-r--r--update_fingerprint_sha256_within_keys_spec.rb1040logplain
-rw-r--r--update_historical_data_recorded_at_spec.rb869logplain
-rw-r--r--update_integrations_trigger_type_new_on_insert_spec.rb3045logplain
-rw-r--r--update_internal_ids_last_value_for_epics_renamed_spec.rb1702logplain
-rw-r--r--update_invalid_web_hooks_spec.rb1009logplain
-rw-r--r--update_minimum_password_length_spec.rb838logplain
-rw-r--r--update_routes_for_lost_and_found_group_and_orphaned_projects_spec.rb7317logplain
-rw-r--r--update_timestamp_softwarelicensespolicy_spec.rb755logplain