From c9d9a3bb5c6f249075f63c7d4fbd3feed9df1ab6 Mon Sep 17 00:00:00 2001
From: Leonardo da Rosa <ldarosa@gitlab.com>
Date: Tue, 5 Mar 2024 21:41:46 +0000
Subject: [PATCH] Removes database migrations up to 16-1-stable-ee

Pre-16.3 migration files were removed and schema
changes moved to db/init_structure.sql file

Changelog: changed
---
 .gitlab/ci/database.gitlab-ci.yml             |    2 +-
 .rubocop_revert_ignores.txt                   |    1 -
 .rubocop_todo/rspec/expect_in_hook.yml        |    1 -
 .rubocop_todo/rspec/named_subject.yml         |    2 -
 .../style/inline_disable_annotation.yml       |   60 -
 db/init_structure.sql                         | 3104 ++++++++++++-----
 .../20221225010101_create_workspaces_table.rb |   44 -
 ...0102_create_workspaces_user_foreign_key.rb |   18 -
 ...3_create_workspaces_project_foreign_key.rb |   18 -
 ...te_workspaces_cluster_agent_foreign_key.rb |   18 -
 ..._remote_development_agent_configs_table.rb |   16 -
 ...elopment_agent_config_agent_foreign_key.rb |   16 -
 ...egistration_enabled_to_project_settings.rb |    9 -
 ...13164245_create_namespace_ldap_settings.rb |   16 -
 ...service_desk_custom_email_verifications.rb |   24 -
 ..._apdex_settings_to_application_settings.rb |    7 -
 ...tgoing_requests_to_application_settings.rb |    9 -
 ...5656_create_container_repository_states.rb |   44 -
 ...hlighting_theme_to_application_settings.rb |    7 -
 ...project_group_link_on_delete_cascade_fk.rb |   21 -
 ...10152109_add_bulk_import_export_batches.rb |   21 -
 ...d_batched_column_to_bulk_import_exports.rb |    9 -
 ..._batch_id_to_bulk_import_export_uploads.rb |    7 -
 ...reign_key_to_bulk_import_export_uploads.rb |   15 -
 ...10160351_add_bulk_import_batch_trackers.rb |   22 -
 ..._batched_column_to_bulk_import_trackers.rb |    7 -
 ..._id_index_to_bulk_import_export_uploads.rb |   15 -
 ...vulnerability_id_on_vulnerability_reads.rb |   15 -
 ...runner_machine_builds_partitioned_table.rb |   30 -
 ...provisioned_by_group_at_to_user_details.rb |    9 -
 ...add_has_failures_column_to_bulk_imports.rb |    7 -
 ...x_sbom_occurrences_on_project_id_and_id.rb |   15 -
 ...status_and_resolved_at_to_abuse_reports.rb |    8 -
 ..._category_and_id_index_to_abuse_reports.rb |   15 -
 ...rability_reads_trigger_to_set_has_issue.rb |  185 -
 .../20230216144719_drop_table_airflow_dags.rb |   22 -
 ...failures_column_to_bulk_import_entities.rb |    7 -
 ...16171309_create_ci_runner_cost_settings.rb |   17 -
 ...unauthenticated_to_application_settings.rb |    7 -
 ...7144421_add_check_type_to_pre_scan_step.rb |   11 -
 ...d_in_to_vulnerability_state_transitions.rb |   11 -
 ...dd_status_and_id_index_to_abuse_reports.rb |   15 -
 ...20163141_create_catalog_resources_table.rb |   11 -
 ..._partition_for_ci_runner_machine_builds.rb |   49 -
 ...12_add_wiki_asciidoc_allow_uri_includes.rb |    8 -
 ...ed_to_namespace_root_storage_statistics.rb |   21 -
 ..._custom_jira_regex_to_jira_tracker_data.rb |   12 -
 ..._text_limit_to_custom_jira_regex_fields.rb |   15 -
 ...ojects_minutes_cost_factor_default_to_1.rb |   17 -
 ...to_postgres_async_constraint_validation.rb |    7 -
 ...saml_group_lock_to_application_settings.rb |    7 -
 ..._limit_check_at_asc_order_synchronously.rb |   17 -
 .../20230228133011_add_design_description.rb  |   18 -
 ...0228135034_add_design_description_limit.rb |   13 -
 ...2350_add_notifications_work_item_widget.rb |   57 -
 ...titioning_info_to_postgres_foreign_keys.rb |   90 -
 ...er_id_for_enterprise_users_without_date.rb |   19 -
 ..._user_id_for_enterprise_users_with_date.rb |   19 -
 ...ique_index_on_catalog_resources_project.rb |   17 -
 ..._role_approvers_to_scan_result_policies.rb |    9 -
 ..._collector_host_to_application_settings.rb |    9 -
 ...000_create_design_management_repository.rb |   11 -
 ...porter_id_and_id_index_to_abuse_reports.rb |   15 -
 ...s_product_analytics_data_collector_host.rb |   13 -
 ...307132729_create_schema_inconsistencies.rb |   15 -
 ...reate_learn_gitlab_worker_job_instances.rb |   11 -
 ...ic_runner_release_version_fetch_setting.rb |   14 -
 ...8154243_add_package_id_to_ml_candidates.rb |    7 -
 ...package_id_foreign_key_to_ml_candidates.rb |   15 -
 ...d_index_on_package_id_for_ml_candidates.rb |   15 -
 ..._container_registry_data_repair_details.rb |   17 -
 ...external_identifiers_to_import_failures.rb |    9 -
 .../20230313012226_create_search_indices.rb   |   18 -
 ...eate_search_namespace_index_assignments.rb |   26 -
 ...y_to_search_namespace_index_assignments.rb |   18 -
 ...30313031351_create_resource_link_events.rb |   15 -
 ...and_updated_at_indexes_to_abuse_reports.rb |   18 -
 ...nd_and_current_values_to_wi_progressess.rb |   11 -
 ...icated_instance_to_application_settings.rb |    9 -
 ...536_create_packages_npm_metadata_caches.rb |   26 -
 ...hn_registrations_on_u2f_registration_id.rb |   16 -
 ...5053635_add_screenshot_to_abuse_reports.rb |   10 -
 ..._insert_daily_invites_trial_plan_limits.rb |   19 -
 ...e_service_desk_custom_email_credentials.rb |   22 -
 ...add_current_user_todos_work_item_widget.rb |   57 -
 ...21085011_add_column_to_users_statistisc.rb |    7 -
 ..._to_merge_request_compliance_violations.rb |   29 -
 ...1153304_rename_ml_candidates_iid_to_eid.rb |   13 -
 ...oject_access_token_limit_to_plan_limits.rb |    7 -
 ...61441_insert_project_access_token_limit.rb |   15 -
 ...1162810_add_project_id_to_ml_candidates.rb |    9 -
 ...dd_index_on_project_id_on_ml_candidates.rb |   15 -
 ...project_id_foreign_key_to_ml_candidates.rb |   15 -
 ...170734_add_internal_id_to_ml_candidates.rb |    7 -
 ...ject_id_on_internal_id_to_ml_candidates.rb |   15 -
 ...ign_key_to_packages_npm_metadata_caches.rb |   19 -
 ...erun_remove_invalid_deploy_access_level.rb |   26 -
 ...dd_valid_deploy_access_level_constraint.rb |   16 -
 ...ate_design_management_repository_states.rb |   41 -
 ...nt_mode_enabled_to_application_settings.rb |    7 -
 ...101138_add_award_emoji_work_item_widget.rb |   57 -
 ...23120601_create_dora_performance_scores.rb |   16 -
 ..._add_root_directory_to_pages_deployment.rb |   10 -
 ...imit_to_pages_deployment_root_directory.rb |   13 -
 ...230323153042_track_push_rules_deletions.rb |   15 -
 .../20230323153328_track_tags_deletions.rb    |   15 -
 ...50_add_shard_settings_to_search_indices.rb |    8 -
 ..._text_limit_to_abuse_reports_screenshot.rb |   13 -
 ...l_product_analytics_data_collector_host.rb |   20 -
 ...e_requests_on_state_id_and_merge_status.rb |   17 -
 ...n_of_award_emoji_awardable_id_to_bigint.rb |   16 -
 ...onversion_of_events_target_id_to_bigint.rb |   16 -
 ...dd_retried_at_to_status_check_responses.rb |    7 -
 ..._disabled_following_to_user_preferences.rb |    9 -
 ...129_add_lock_version_to_terraform_state.rb |    9 -
 ...ign_key_to_resource_link_events_on_user.rb |   15 -
 ...chievements_enabled_to_user_preferences.rb |    9 -
 ...kages_debian_file_metadata_when_unknown.rb |   17 -
 ...add_diagramsnet_to_application_settings.rb |   12 -
 ..._fk_ml_candidate_params_on_candidate_id.rb |   29 -
 ..._fk_ml_candidate_params_on_candidate_id.rb |   13 -
 ..._fk_ml_candidate_params_on_candidate_id.rb |   21 -
 ...fk_ml_candidate_metrics_on_candidate_id.rb |   29 -
 ...fk_ml_candidate_metrics_on_candidate_id.rb |   13 -
 ...fk_ml_candidate_metrics_on_candidate_id.rb |   21 -
 ...5636_remove_unused_project_jira_indexes.rb |   34 -
 ...add_open_ai_api_key_application_setting.rb |    8 -
 ...ound_migrations_to_application_settings.rb |    8 -
 ...ed_background_migrations_for_gitlab_com.rb |   17 -
 ...e_packages_npm_metadata_caches_is_empty.rb |   13 -
 ...add_pinned_nav_items_to_user_preference.rb |    9 -
 ...0230403145705_add_purl_sync_to_settings.rb |    7 -
 ...size_columns_to_root_storage_statistics.rb |   11 -
 ...t_contribution_to_merge_request_metrics.rb |    9 -
 ...60131_add_status_to_data_repair_details.rb |   20 -
 ...age_key_to_packages_npm_metadata_caches.rb |   25 -
 ...space_index_to_storage_limit_exclusions.rb |   25 -
 ...te_metadata_id__to_resource_link_events.rb |    7 -
 ..._link_events_on_system_note_metadata_id.rb |   15 -
 ...ata_foreign_key_to_resource_link_events.rb |   16 -
 ...tance_external_audit_event_destinations.rb |   14 -
 ..._link_events_on_system_note_metadata_id.rb |   11 -
 ...dd_pa_configurator_base_to_app_settings.rb |   13 -
 ...230406115900_add_diagramsnet_text_limit.rb |   13 -
 ...add_identity_toggle_to_user_preferences.rb |    9 -
 ...ser_access_project_authorizations_table.rb |   17 -
 ..._user_access_group_authorizations_table.rb |   17 -
 ...fks_to_agent_user_access_authorizations.rb |   34 -
 ..._code_suggestions_to_namespace_settings.rb |    9 -
 ...instrumentation_key_to_project_settings.rb |   21 -
 ...0230411171001_create_abuse_trust_scores.rb |   16 -
 ...1_create_package_metadata_advisory_info.rb |   39 -
 ...12073614_create_issue_assignment_events.rb |   14 -
 ...oncurrent_fk_to_issue_assignment_events.rb |   16 -
 ...59_add_ci_job_artifacts_file_final_path.rb |   12 -
 ...lidate_ci_job_artifacts_file_final_path.rb |   11 -
 ..._create_merge_request_assignment_events.rb |   15 -
 ...t_fk_to_merge_request_assignment_events.rb |   16 -
 ...to_project_settings_instrumentation_key.rb |   13 -
 ...d_product_analytics_to_project_settings.rb |   45 -
 ...identifiers_index_to_import_failures.rb.rb |   16 -
 ...ty_pipeline_id_type_to_user_preferences.rb |    7 -
 .../20230418183540_create_project_states.rb   |   44 -
 ...215853_add_assignee_widget_to_incidents.rb |   48 -
 ...e_phabricator_from_application_settings.rb |   29 -
 ...0952_remove_github_import_job_instances.rb |   11 -
 ...ity_orchestration_policy_configurations.rb |    7 -
 ...ity_orchestration_policy_configurations.rb |   24 -
 .../20230420012220_create_organizations.rb    |    9 -
 ...2_initialize_conversion_of_ci_pipelines.rb |   16 -
 ...3_add_ai_settings_to_namespace_settings.rb |   10 -
 ...131608_add_partitioned_vsd_counts_table.rb |   26 -
 ...0230420132910_create_ci_ai_conversation.rb |   31 -
 .../20230421035557_create_note_metadata.rb    |   18 -
 ...1907_add_auth_type_to_jira_tracker_data.rb |    9 -
 .../20230421124302_epic_boards_show_colors.rb |    7 -
 ...ci_max_includes_to_application_settings.rb |    7 -
 ..._add_read_vulnerability_to_member_roles.rb |    7 -
 ...4122236_add_ci_build_id_to_ml_candidate.rb |    7 -
 ...d_index_on_ci_build_id_to_ml_candidates.rb |   15 -
 ...nses_field_to_package_metadata_packages.rb |    9 -
 ...424194721_add_tofa_application_settings.rb |   30 -
 ...s_project_pipeline_worker_job_instances.rb |   11 -
 ...1_create_merge_request_diff_llm_summary.rb |   16 -
 ...tion_settings_after_phabricator_removal.rb |   23 -
 ...n_key_to_merge_request_diff_llm_summary.rb |   15 -
 ...n_key_to_merge_request_diff_llm_summary.rb |   16 -
 ...ize_conversion_of_ci_pipeline_variables.rb |   16 -
 ...ics_value_stream_dashboard_aggregations.rb |   14 -
 ...ccount_deletion_to_application_settings.rb |    7 -
 ...230428101217_create_abuse_report_events.rb |   14 -
 ...s_project_pipeline_worker_job_instances.rb |   16 -
 ...428165514_add_type_to_http_integrations.rb |    7 -
 ...636_add_users_fk_to_abuse_report_events.rb |   18 -
 ...mber_me_enabled_to_application_settings.rb |    7 -
 ...abuse_reports_fk_to_abuse_report_events.rb |   18 -
 ...ion_format_and_data_type_to_checkpoints.rb |   19 -
 ..._npm_metadata_caches_object_storage_key.rb |   13 -
 ...30504084524_remove_gitlab_import_source.rb |   32 -
 ...d_anthropic_api_key_application_setting.rb |    8 -
 ...a_configurator_base_to_project_settings.rb |   14 -
 ...hors_and_description_to_nuget_metadatum.rb |   22 -
 ...05122015_add_lock_version_to_milestones.rb |    9 -
 ...nts_google_cloud_logging_configurations.rb |   23 -
 ...ging_configuration_limit_to_plan_limits.rb |    7 -
 ...ct_shortcut_buttons_to_user_preferences.rb |    9 -
 ...ed_runners_minutes_worker_job_instances.rb |   14 -
 ...unused_sequence_by_recreating_vsa_table.rb |   24 -
 ...509085428_change_organizations_sequence.rb |   12 -
 ...20230509115525_add_name_to_organization.rb |   20 -
 ...20230509131736_add_default_organization.rb |   16 -
 ...te_drop_older_deployments_worker_queues.rb |   16 -
 ...10141454_add_user_id_to_import_failures.rb |    7 -
 ...add_index_on_user_id_to_import_failures.rb |   15 -
 ...eign_key_for_user_id_to_import_failures.rb |   15 -
 ...add_group_id_to_dependency_list_exports.rb |    7 -
 ...314_add_text_limit_on_organization_name.rb |   13 -
 ...044606_add_organization_id_to_namespace.rb |    7 -
 ...45238_track_organization_record_changes.rb |   11 -
 ..._prepare_index_for_org_id_on_namespaces.rb |   11 -
 ..._vertex_project_to_application_settings.rb |   15 -
 ...eplace_vsd_index_with_nulls_first_order.rb |   25 -
 ...d_ml_model_max_file_size_to_plan_limits.rb |    7 -
 ...ion_id_size_limit_in_abuse_trust_scores.rb |   17 -
 ...eate_dependency_proxy_packages_settings.rb |   53 -
 ...instance_audit_events_streaming_headers.rb |   20 -
 ...max_concurrency_to_application_settings.rb |   26 -
 ..._lease_duration_to_application_settings.rb |   11 -
 ...041_add_agent_id_column_to_environments.rb |    9 -
 ...d_index_to_agent_id_column_environments.rb |   15 -
 ...dd_agent_id_foreign_key_to_environments.rb |   17 -
 ...30517182802_add_fields_to_abuse_reports.rb |   30 -
 ...oreign_key_constraints_to_abuse_reports.rb |   20 -
 ...reign_key_to_abuse_reports_for_assignee.rb |   20 -
 ...4_truncate_schema_inconsistencies_table.rb |   13 -
 ...d_diff_column_to_schema_inconsistencies.rb |   12 -
 .../20230519135414_add_text_limit_for_diff.rb |   13 -
 ...emove_git_hub_import_deprecated_workers.rb |   18 -
 ...riments_access_level_to_project_feature.rb |   15 -
 .../20230522180913_create_abuse_events.rb     |   24 -
 ...foreign_key_constraints_to_abuse_events.rb |   15 -
 ...add_admin_vulnerability_to_member_roles.rb |    7 -
 ...sync_index_table_name_length_constraint.rb |   15 -
 ...sync_index_table_name_length_constraint.rb |   13 -
 ...sync_index_table_name_length_constraint.rb |   20 -
 ...523122242_add_encrypted_ai_access_token.rb |    8 -
 ..._dismissal_reason_to_vulnerability_read.rb |   13 -
 ..._vertex_ai_host_to_application_settings.rb |   21 -
 ...08_remove_index_on_name_on_organization.rb |   15 -
 ...5_add_enabled_zoekt_to_user_preferences.rb |    9 -
 ...e_desk_enabled_to_service_desk_settings.rb |    7 -
 ...35_add_show_in_cli_to_broadcast_message.rb |    7 -
 ...9173607_add_id_column_to_pm_checkpoints.rb |   21 -
 .../20230529182720_recreate_billable_index.rb |   24 -
 ...20230529184716_recreated_activity_index.rb |   25 -
 .../20230530003417_rename_tofa_settings.rb    |   21 -
 ...0230530112122_add_path_to_organizations.rb |   18 -
 ...602_add_text_limit_on_organization_path.rb |   13 -
 ...code_suggestion_enabled_to_app_settings.rb |    7 -
 ...n_packages_id_id_to_package_build_infos.rb |   15 -
 ...30531134916_create_subscription_add_ons.rb |   12 -
 ...01_create_subscription_add_on_purchases.rb |   18 -
 ..._on_id_on_subscription_add_on_purchases.rb |   18 -
 ...ace_id_on_subscription_add_on_purchases.rb |   15 -
 ..._value_interval_to_scan_result_policies.rb |   21 -
 ...d_user_deletion_to_application_settings.rb |    8 -
 ...request_diff_llm_summaries_unique_index.rb |   18 -
 ..._project_compliance_standards_adherence.rb |   19 -
 ...iance_standards_adherence_on_project_id.rb |   16 -
 ...nce_standards_adherence_on_namespace_id.rb |   16 -
 ..._to_batched_background_migrations_table.rb |    7 -
 ...d_unconfirmed_created_at_index_to_users.rb |   19 -
 ...or_vulnerability_reads_container_images.rb |   19 -
 ...30605095810_ensure_default_organization.rb |   30 -
 ...rotections_json_to_application_settings.rb |    7 -
 ..._protections_json_to_namespace_settings.rb |    7 -
 ...e_constraint_to_namespace_settings_json.rb |   16 -
 ...constraint_to_application_settings_json.rb |   16 -
 ..._add_enterprise_columns_to_user_details.rb |   11 -
 ...80200_add_limits_history_to_plan_limits.rb |    7 -
 ...0607101334_add_ci_job_annotations_table.rb |   21 -
 ...7102017_add_index_on_ci_job_annotations.rb |   22 -
 ...check_constraints_to_ci_job_annotations.rb |   17 -
 ...31_create_ci_job_annotations_partitions.rb |   19 -
 ...reate_learn_gitlab_worker_job_instances.rb |   15 -
 ...operation_limit_to_application_settings.rb |    7 -
 ...s_streaming_instance_event_type_filters.rb |   18 -
 ...07_add_vacuum_type_to_autovacuum_status.rb |   47 -
 ...reset_duplicate_ci_runners_token_values.rb |   21 -
 ...57_add_unique_index_on_ci_runners_token.rb |   18 -
 ...icate_ci_runners_token_encrypted_values.rb |   21 -
 ...que_index_on_ci_runners_token_encrypted.rb |   18 -
 ...d_namespaces_emails_enabled_column_data.rb |   22 -
 ...add_projects_emails_enabled_column_data.rb |   22 -
 ...201308_backfill_namespace_ldap_settings.rb |   30 -
 ...4623_schedule_migration_for_remediation.rb |   18 -
 ...03_queue_backfill_compliance_violations.rb |   24 -
 ...07_add_partition_index_to_web_hook_logs.rb |   21 -
 ...le_create_vulnerability_links_migration.rb |   27 -
 ...llable_users_index_for_service_accounts.rb |   29 -
 ...2135758_queue_backfill_prepared_at_data.rb |   23 -
 .../20230202211434_migrate_redis_slot_keys.rb |   13 -
 ...0208125736_schedule_migration_for_links.rb |   18 -
 ..._project_group_link_with_missing_groups.rb |   27 -
 ..._add_index_for_next_over_limit_check_at.rb |   17 -
 ...alize_ci_build_needs_big_int_conversion.rb |   28 -
 ...index_on_packages_package_file_filename.rb |   21 -
 ..._validation_for_ci_build_trace_metadata.rb |   15 -
 ...delete_incorrectly_onboarded_namespaces.rb |   17 -
 ...2956_add_sync_index_on_lfs_objects_file.rb |   15 -
 ...ex_on_merge_request_diffs_external_diff.rb |   15 -
 ...ngs_send_user_confirmation_email_column.rb |    7 -
 ...218145930_add_index_users_on_updated_at.rb |   16 -
 ...5940_add_index_namespaces_on_updated_at.rb |   16 -
 ...i_job_artifacts_partition_id_and_job_id.rb |   15 -
 ...to_ci_builds_ci_job_artifacts_on_job_id.rb |   35 -
 ...e_fk_to_vulnerability_state_transitions.rb |   15 -
 ...lumns_ci_build_needs_big_int_conversion.rb |   57 -
 ..._postgres_async_foreign_key_validations.rb |   19 -
 ...eport_results_partition_id_and_build_id.rb |   15 -
 ...lds_ci_build_report_results_on_build_id.rb |   35 -
 ...i_build_needs_partition_id_and_build_id.rb |   15 -
 ...to_ci_builds_ci_build_needs_on_build_id.rb |   35 -
 ...approval_rules_on_scan_result_policy_id.rb |   19 -
 ...key_validation_for_ci_sources_pipelines.rb |   15 -
 ...ign_key_validation_for_ci_job_variables.rb |   15 -
 ...ial_index_on_vulnerability_report_types.rb |   15 -
 ...ial_index_on_vulnerability_report_types.rb |   16 -
 ...igrate_shared_vulnerability_identifiers.rb |   26 -
 ...partitions_on_partition_id_and_build_id.rb |   41 -
 ..._raise_ci_variable_limits_on_gitlab_com.rb |   53 -
 ...ded_namespaces_from_onboarding_progress.rb |   29 -
 ...nc_index_removal_of_token_for_ci_builds.rb |   17 -
 ..._index_on_token_encrypted_for_ci_builds.rb |   18 -
 ...o_ci_build_ci_pending_build_on_build_id.rb |   35 -
 ...o_ci_build_ci_running_build_on_build_id.rb |   35 -
 ...raint_on_oauth_access_tokens_expires_in.rb |   13 -
 ...nullify_creator_id_of_orphaned_projects.rb |   22 -
 ...uilds_metadata_partitions_and_ci_builds.rb |   17 -
 ...d_foreign_key_on_creator_id_on_projects.rb |   15 -
 ...4085743_update_issues_internal_id_scope.rb |   29 -
 ...233_migrate_evidences_from_raw_metadata.rb |   18 -
 ...s_source_partition_id_and_source_job_id.rb |   15 -
 ...s_ci_sources_pipelines_on_source_job_id.rb |   35 -
 ...race_metadata_partition_id_and_build_id.rb |   15 -
 ...lds_ci_build_trace_metadata_on_build_id.rb |   35 -
 ...i_job_variables_partition_id_and_job_id.rb |   15 -
 ...to_ci_builds_ci_job_variables_on_job_id.rb |   35 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...gs_note_id_to_bigint_for_gitlab_dot_com.rb |   56 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...request_user_mentions_note_id_to_bigint.rb |    7 -
 ...xpired_unlocked_non_trace_job_artifacts.rb |   17 -
 ...ocked_non_trace_job_artifacts_expire_at.rb |   15 -
 ...chines_constraint_on_ci_builds_metadata.rb |   27 -
 ...3259_ensure_ci_runner_machines_is_empty.rb |   17 -
 ...ner_machine_id_on_runner_machine_builds.rb |   17 -
 ...x_to_oauth_access_grants_application_id.rb |   15 -
 ...ueue_fix_vulnerability_reads_has_issues.rb |   28 -
 ...e_delete_orphaned_packages_dependencies.rb |   26 -
 ..._temporary_partitioning_indexes_removal.rb |   32 -
 ...3154314_add_user_type_migration_indexes.rb |   24 -
 ...184416_drop_revokable_from_achievements.rb |    9 -
 ...g_fk_on_p_ci_builds_metadata_partitions.rb |   20 -
 ...s_metadata_on_partition_id_and_build_id.rb |   36 -
 ...builds_p_ci_builds_metadata_on_build_id.rb |   32 -
 ..._ci_builds_primary_key_for_partitioning.rb |   66 -
 ...ueue_backfill_project_wiki_repositories.rb |   13 -
 ..._track_ci_runner_machine_record_changes.rb |   15 -
 ...int_fk_rails_f601258b28_on_events_table.rb |   19 -
 ...user_mentions_note_id_convert_to_bigint.rb |   31 -
 ...r_mentions_note_id_convert_to_id_bigint.rb |   43 -
 ...r_mentions_note_id_convert_to_id_bigint.rb |   27 -
 ...071242_delete_security_policy_bot_users.rb |   21 -
 ...uilds_constraints_for_list_partitioning.rb |   15 -
 ...ition_id_index_from_p_ci_build_metadata.rb |   18 -
 ...quest_user_mentions_note_id_to_bigint_2.rb |   93 -
 ...59_recreate_user_type_migration_indexes.rb |   26 -
 ...les_that_may_have_been_deleted_by_a_bug.rb |   37 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   30 -
 ...42631_backfill_ml_candidates_package_id.rb |   23 -
 ...metrics_id_to_bigint_for_gitlab_dot_com.rb |   64 -
 ...31_reschedule_migration_for_remediation.rb |   32 -
 ...temp_index_for_software_license_cleanup.rb |   15 -
 ...185145_cleanup_orphan_software_licenses.rb |   27 -
 ...14144640_reschedule_migration_for_links.rb |   20 -
 ...setting_from_soft_email_confirmation_ff.rb |   23 -
 ...inalize_issues_iid_scoping_to_namespace.rb |   20 -
 ...otifications_bigint_conversion_backfill.rb |   31 -
 ...650_remove_index_on_events_action_async.rb |   12 -
 ...316014651_remove_index_on_events_action.rb |   13 -
 ...alue_with_progress_work_item_progresses.rb |   22 -
 ...ap_ci_runner_machine_builds_primary_key.rb |   11 -
 ...17_remove_packages_events_package_id_fk.rb |   31 -
 ...230316185746_drop_packages_events_table.rb |   23 -
 ..._redis_hll_events_to_weekly_aggregation.rb |  135 -
 ...d_tmp_unique_packages_index_when_debian.rb |   23 -
 ...317080000_ensure_unique_debian_packages.rb |   48 -
 ...7_add_unique_packages_index_when_debian.rb |   29 -
 ...7151841_remove_from_to_state_constraint.rb |   21 -
 ..._prepare_async_sent_notifications_index.rb |   27 -
 ...105436_remove_member_role_download_code.rb |    7 -
 ...index_to_vulnerability_findings_on_uuid.rb |   19 -
 ...20155635_add_index_to_namespace_details.rb |   17 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   68 -
 ...int_backfill_is_finished_for_gl_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   74 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   68 -
 ...aces_broadcast_messages_namespace_id_fk.rb |   20 -
 ...7_remove_ci_builds_partition_id_default.rb |   13 -
 ..._created_at_desc_index_to_package_files.rb |   15 -
 ...153337_cleanup_ml_candidates_iid_rename.rb |   13 -
 ...eanup_conversion_big_int_ci_build_needs.rb |   25 -
 ...63947_backfill_ml_candidates_project_id.rb |   23 -
 ...0823_backfill_ml_candidates_internal_id.rb |   21 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   74 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ..._namespace_records_from_vsa_aggregation.rb |   26 -
 ...te_partitioning_constraint_on_ci_builds.rb |   12 -
 ...nt_conversion_for_merge_request_metrics.rb |   29 -
 ...20230322203927_change_user_type_default.rb |   13 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   30 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   43 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   27 -
 ..._remove_machine_id_from_builds_metadata.rb |   22 -
 ...fix_application_setting_push_rule_id_fk.rb |   20 -
 ...327103401_queue_migrate_human_user_type.rb |   25 -
 ...ity_finding_signatures_on_signature_sha.rb |   15 -
 ...emove_ci_builds_partition_id_default_v2.rb |   13 -
 ...moji_awardable_id_for_bigint_conversion.rb |   16 -
 ...030101_add_secureflag_training_provider.rb |   31 -
 ..._events_target_id_for_bigint_conversion.rb |   16 -
 ...28100534_truncate_error_tracking_tables.rb |   20 -
 ...230328111013_re_migrate_redis_slot_keys.rb |  179 -
 ...rity_scans_on_pipeline_id_and_scan_type.rb |   16 -
 ...4031_swap_sent_notifications_id_columns.rb |   56 -
 ...107_truncate_p_ci_runner_machine_builds.rb |   12 -
 ...ci_runner_machine_builds_primary_key_v2.rb |   46 -
 ...00222_drop_software_licenses_temp_index.rb |   16 -
 ...rity_scans_on_pipeline_id_and_scan_type.rb |   15 -
 ...p_index_vuln_occurrences_on_report_type.rb |   13 -
 ...0330103104_reschedule_migrate_evidences.rb |   18 -
 ...es_note_id_to_bigint_for_gitlab_dot_com.rb |   68 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |    8 -
 ...al_index_on_vulnerability_report_types2.rb |   17 -
 ...al_index_on_vulnerability_report_types2.rb |   16 -
 ...dd_index_to_security_scans_on_scan_type.rb |   18 -
 ...ync_scan_result_policies_for_namespaces.rb |   77 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   31 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   43 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   27 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   60 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ns_note_id_to_bigint_for_gitlab_dot_com.rb |   74 -
 ..._job_artifacts_on_expire_at_for_removal.rb |   14 -
 ...emove_unused_merge_request_jira_indexes.rb |   29 -
 ..._job_artifacts_on_expire_at_for_removal.rb |   16 -
 ...re_async_index_for_override_uuids_logic.rb |   15 -
 ...404194907_remove_mr_mentions_temp_index.rb |   14 -
 ...404194908_remove_mr_state_id_temp_index.rb |   14 -
 ...ci_builds_metadata_partition_id_default.rb |   13 -
 ...uids_logic_on_vulnerability_occurrences.rb |   17 -
 ..._provider_and_identities_non_root_group.rb |   37 -
 ..._token_and_scim_identity_non_root_group.rb |   34 -
 ...ueue_backfill_project_wiki_repositories.rb |   29 -
 ...e_md5_to_debian_project_component_files.rb |   11 -
 ...ile_md5_to_debian_group_component_files.rb |   11 -
 ...n_mode_scope_for_personal_access_tokens.rb |   23 -
 ...backfill_design_management_repositories.rb |   26 -
 ...1_async_validate_fk_projects_creator_id.rb |   15 -
 ...0123709_validate_fk_projects_creator_id.rb |   15 -
 ..._to_null_dismissed_info_vulnerabilities.rb |   18 -
 ...igint_conversion_for_sent_notifications.rb |   26 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...12104514_add_index_to_group_group_links.rb |   16 -
 ...1_reschedule_links_avoiding_duplication.rb |   20 -
 ...mit_to_ci_job_artifacts_file_final_path.rb |   21 -
 ...populate_vulnerability_dismissal_fields.rb |   29 -
 ..._clusters_applications_cert_managers_fk.rb |   16 -
 ..._remove_clusters_applications_cilium_fk.rb |   16 -
 ...ove_clusters_applications_crossplane_fk.rb |   16 -
 ...49_remove_clusters_applications_helm_fk.rb |   16 -
 ...remove_clusters_applications_ingress_fk.rb |   16 -
 ...remove_clusters_applications_jupyter_fk.rb |   16 -
 ...remove_clusters_applications_knative_fk.rb |   16 -
 ...ove_clusters_applications_prometheus_fk.rb |   16 -
 ...remove_clusters_applications_runners_fk.rb |   16 -
 ..._clusters_applications_jupyter_oauth_fk.rb |   16 -
 ...move_serverless_domain_cluster_pages_fk.rb |   16 -
 ...ve_serverless_domain_cluster_knative_fk.rb |   16 -
 ...ve_serverless_domain_cluster_creator_fk.rb |   16 -
 ...14119_finalize_encrypt_ci_trigger_token.rb |   23 -
 ...e_requests_on_state_id_and_merge_status.rb |   15 -
 ..._note_id_to_bigint_for_gitlab_dot_com_2.rb |   93 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   30 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   43 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   27 -
 ...namespaces_by_top_level_namespace_index.rb |   11 -
 ..._incident_type_temp_index_async_dot_com.rb |   15 -
 ...202_add_issues_incident_type_temp_index.rb |   16 -
 ...ule_incident_work_item_type_id_backfill.rb |   48 -
 ...ggestions_default_in_namespace_settings.rb |    7 -
 ...code_suggestions_for_namespace_settings.rb |   12 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   29 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   43 -
 ...ote_id_convert_to_bigint_for_gitlab_com.rb |   27 -
 ...int_backfill_is_finished_for_self_hosts.rb |   24 -
 ...est_metrics_id_to_bigint_for_self_hosts.rb |   82 -
 ...espaces_by_top_level_namespace_index_v2.rb |   16 -
 ...ons_default_false_in_namespace_settings.rb |    7 -
 ...os_note_id_to_bigint_for_gitlab_dot_com.rb |   63 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...ji_note_id_to_bigint_for_gitlab_dot_com.rb |   56 -
 ...fill_ci_pipelines_for_bigint_conversion.rb |   16 -
 ...ent_packages_size_on_project_statistics.rb |   22 -
 ..._tmp_idx_package_files_on_non_zero_size.rb |   15 -
 ...namespaces_by_top_level_namespace_index.rb |   17 -
 ...rop_index_security_scans_on_pipeline_id.rb |   15 -
 ...ta_note_id_to_bigint_for_gitlab_dot_com.rb |   69 -
 ...n_settings_clickhouse_connection_string.rb |   17 -
 ..._drop_merge_request_mentions_temp_index.rb |   16 -
 ...a_on_id_for_relate_and_unrelate_actions.rb |   19 -
 ...615_queue_backfill_resource_link_events.rb |   43 -
 ...ipeline_variables_for_bigint_conversion.rb |   16 -
 ...keys_from_cycle_analytics_unused_tables.rb |   67 -
 ...4552_drop_cycle_analytics_unused_tables.rb |   80 -
 ...a_on_id_for_relate_and_unrelate_actions.rb |   20 -
 ...remove_shimo_zentao_integration_records.rb |   21 -
 ..._convert_ci_builds_to_list_partitioning.rb |   11 -
 ...ndex_deployments_for_project_id_and_tag.rb |   14 -
 ..._policies_without_scan_result_policy_id.rb |   21 -
 ...rop_clusters_applications_cert_managers.rb |   22 -
 ...ndex_deployments_for_project_id_and_tag.rb |   18 -
 ...ers_on_source_and_type_and_access_level.rb |   13 -
 ...ers_on_source_and_type_and_access_level.rb |   15 -
 ...orizations_on_project_user_access_level.rb |   15 -
 ...orizations_on_project_user_access_level.rb |   15 -
 ...34532_drop_clusters_applications_cilium.rb |   18 -
 ...4_drop_clusters_applications_crossplane.rb |   21 -
 ...2193525_drop_clusters_applications_helm.rb |   26 -
 ...1251_drop_clusters_applications_ingress.rb |   27 -
 ...ndant_index_from_container_repositories.rb |   15 -
 ...5918_drop_clusters_applications_jupyter.rb |   24 -
 ...2349_drop_clusters_applications_knative.rb |   24 -
 ...1_drop_clusters_applications_prometheus.rb |   25 -
 ...5406_drop_clusters_applications_runners.rb |   24 -
 ...03181808_drop_serverless_domain_cluster.rb |   28 -
 ...backfill_is_finished_for_gitlab_dot_com.rb |   29 -
 ...create_indexes_async_for_gitlab_dot_com.rb |   64 -
 ...93910_create_package_manager_name_index.rb |   23 -
 ...9_reschedule_evidences_handling_unicode.rb |   32 -
 ...fill_corrected_secure_files_expirations.rb |   10 -
 ...013754_cleanup_notes_bigint_preparation.rb |   51 -
 ...sonal_access_tokens_with_nil_expires_at.rb |   15 -
 ...510130050_remove_ci_triggers_ref_column.rb |   13 -
 ...r_state_id_temp_index_with_right_column.rb |   15 -
 ...0230511132140_create_component_id_index.rb |   17 -
 ...023321_prepare_audit_events_group_index.rb |   46 -
 ...0512104238_add_audit_events_group_index.rb |   19 -
 ..._exports_project_id_not_null_constraint.rb |   11 -
 ...dex_group_id_on_dependency_list_exports.rb |   15 -
 ..._to_group_id_on_dependency_list_exports.rb |   17 -
 ..._add_unique_index_for_ml_model_packages.rb |   19 -
 ...ze_back_fill_prepared_at_merge_requests.rb |   22 -
 ...tes_id_convert_to_bigint_for_gitlab_com.rb |   34 -
 ...cing_bigint_fks_for_notes_on_gitlab_com.rb |   74 -
 ...3202_create_routing_table_for_ci_builds.rb |   93 -
 ...sues_work_item_type_id_project_id_index.rb |   14 -
 ...sues_work_item_type_id_project_id_index.rb |   15 -
 ...dex_for_ci_pipeline_variables_bigint_id.rb |   15 -
 ..._ensure_backfill_bigint_id_is_completed.rb |   23 -
 ...t_storage_statistics_fork_storage_sizes.rb |   25 -
 ...dex_for_ci_pipeline_variables_bigint_id.rb |   18 -
 ...ill_code_suggestions_namespace_settings.rb |   23 -
 ...121320_remove_time_format_in_24h_column.rb |   13 -
 ...move_invalid_deploy_access_level_groups.rb |   23 -
 ...ap_ci_pipeline_variables_pk_with_bigint.rb |   75 -
 ..._drop_merge_request_state_id_temp_index.rb |   16 -
 ...nt_to_personal_access_tokens_expires_at.rb |   13 -
 ...edule_migration_for_links_from_metadata.rb |   32 -
 ...ent_work_item_type_backfill_is_finished.rb |   37 -
 ...ues_on_issue_type_and_id_only_incidents.rb |   16 -
 ...project_ci_cd_setting_opt_in_jwt_column.rb |   13 -
 ...4_recreate_index_on_vulnerability_reads.rb |   34 -
 ..._recreate_index_on_vulnerability_reads2.rb |   34 -
 ...md5_from_debian_project_component_files.rb |    9 -
 ...e_md5_from_debian_group_component_files.rb |    9 -
 ...524093249_add_async_index_to_vsa_issues.rb |   39 -
 ...230524093355_add_async_index_to_vsa_mrs.rb |   39 -
 ...id_when_npm_and_not_pending_destruction.rb |   23 -
 ...ace_ci_build_pending_states_foreign_key.rb |   23 -
 ...place_ci_build_trace_chunks_foreign_key.rb |   24 -
 ...place_ci_unit_test_failures_foreign_key.rb |   24 -
 ...eplace_ci_sources_pipelines_foreign_key.rb |   24 -
 ...135632_replace_ci_resources_foreign_key.rb |   24 -
 ...ace_ci_build_report_results_foreign_key.rb |   24 -
 ...5658_replace_ci_build_needs_foreign_key.rb |   24 -
 ...ce_ci_builds_runner_session_foreign_key.rb |   24 -
 ...4_replace_ci_pending_builds_foreign_key.rb |   24 -
 ...ace_ci_build_trace_metadata_foreign_key.rb |   24 -
 ...50_replace_ci_job_artifacts_foreign_key.rb |   13 -
 ...3_replace_ci_running_builds_foreign_key.rb |   13 -
 ...15_replace_ci_job_variables_foreign_key.rb |   13 -
 ...eplace_p_ci_builds_metadata_foreign_key.rb |   13 -
 ..._p_ci_runner_machine_builds_foreign_key.rb |   13 -
 ...er_id_for_enterprise_users_without_date.rb |   19 -
 ..._user_id_for_enterprise_users_with_date.rb |   19 -
 ..._duplicate_npm_packages_for_destruction.rb |   29 -
 ...d_index_work_item_types_on_base_type_id.rb |   15 -
 ...9183648_remove_temporary_billable_index.rb |   18 -
 ...185110_cleanup_temporary_activity_index.rb |   17 -
 .../20230530003634_cleanup_tofa_settings.rb   |   23 -
 ...p_notes_id_to_bigint_for_gitlab_dot_com.rb |  195 --
 .../20230530100400_change_user_type_null.rb   |   13 -
 ...45_cleanup_organizations_with_null_path.rb |   18 -
 ...830_remove_default_on_organization_path.rb |   11 -
 ..._fk_ci_build_pending_states_p_ci_builds.rb |   11 -
 ...te_fk_ci_build_trace_chunks_p_ci_builds.rb |   11 -
 ...te_fk_ci_unit_test_failures_p_ci_builds.rb |   11 -
 ...ate_fk_ci_sources_pipelines_p_ci_builds.rb |   11 -
 ...46_validate_fk_ci_resources_p_ci_builds.rb |   11 -
 ..._fk_ci_build_report_results_p_ci_builds.rb |   11 -
 ..._validate_fk_ci_build_needs_p_ci_builds.rb |   11 -
 ...fk_ci_builds_runner_session_p_ci_builds.rb |   11 -
 ...lidate_fk_ci_pending_builds_p_ci_builds.rb |   11 -
 ..._fk_ci_build_trace_metadata_p_ci_builds.rb |   11 -
 ..._drop_index_issues_on_work_item_type_id.rb |   15 -
 ...rop_unnecessary_async_index_from_events.rb |   13 -
 ..._broadcast_messages_namespace_id_column.rb |   17 -
 ...112904_change_user_preferences_defaults.rb |   11 -
 ...change_notified_of_own_activity_default.rb |    9 -
 ...add_new_index_to_vsa_issue_stage_events.rb |   19 -
 ...57_add_new_index_to_vsa_mr_stage_events.rb |   19 -
 ...bom_occurrences_on_project_id_source_id.rb |   15 -
 ...cess_tokens_on_id_where_expires_in_null.rb |   15 -
 ...dex_user_details_on_enterprise_group_id.rb |   21 -
 ...rts_on_created_at_project_id_with_issue.rb |   17 -
 ...egistrations_u2f_registration_id_column.rb |   21 -
 ...ct_id_on_project_wiki_repository_states.rb |   20 -
 ...718_drop_project_wiki_repository_states.rb |   57 -
 ...sonal_access_tokens_with_nil_expires_at.rb |   25 -
 ...ex_members_on_source_id_and_source_type.rb |   15 -
 ...ct_authorizations_on_project_id_user_id.rb |   15 -
 ...1503_add_ci_job_annotations_foreign_key.rb |   22 -
 ...int_conversion_for_todos_for_gitlab_com.rb |   28 -
 ...for_system_note_metadata_for_gitlab_com.rb |   28 -
 ...n_for_epic_user_mentions_for_gitlab_com.rb |   28 -
 ...nversion_for_suggestions_for_gitlab_com.rb |   28 -
 ..._for_issue_user_mentions_for_gitlab_com.rb |   28 -
 ...sion_for_note_diff_files_for_gitlab_com.rb |   28 -
 ...or_snippet_user_mentions_for_gitlab_com.rb |   28 -
 ...for_design_user_mentions_for_gitlab_com.rb |   28 -
 ...nerability_user_mentions_for_gitlab_com.rb |   28 -
 ...for_commit_user_mentions_for_gitlab_com.rb |   28 -
 ...ge_request_user_mentions_for_gitlab_com.rb |   28 -
 ..._conversion_for_timelogs_for_gitlab_com.rb |   28 -
 ...nversion_for_award_emoji_for_gitlab_com.rb |   28 -
 ...replace_ci_job_artifacts_foreign_key_v2.rb |   36 -
 ...eplace_ci_running_builds_foreign_key_v2.rb |   36 -
 ...replace_ci_job_variables_foreign_key_v2.rb |   36 -
 ...ace_p_ci_builds_metadata_foreign_key_v2.rb |   40 -
 ...ci_runner_machine_builds_foreign_key_v2.rb |   40 -
 ..._pm_checkpoints_remove_advisory_entries.rb |   18 -
 ...index_for_contribution_analytics_events.rb |   15 -
 ...tem_type_project_closed_at_where_closed.rb |   15 -
 ...ld_fk_ci_build_pending_states_to_builds.rb |   45 -
 ..._old_fk_ci_build_trace_chunks_to_builds.rb |   45 -
 ..._old_fk_ci_unit_test_failures_to_builds.rb |   45 -
 ...e_old_fk_ci_sources_pipelines_to_builds.rb |   45 -
 ...0_replace_old_fk_ci_resources_to_builds.rb |   45 -
 ...ld_fk_ci_build_report_results_to_builds.rb |   45 -
 ...replace_old_fk_ci_build_needs_to_builds.rb |   45 -
 ...d_fk_ci_builds_runner_session_to_builds.rb |   45 -
 ...lace_old_fk_ci_pending_builds_to_builds.rb |   45 -
 ...ld_fk_ci_build_trace_metadata_to_builds.rb |   45 -
 ...roject_health_status_asc_work_item_type.rb |   16 -
 ...oject_health_status_desc_work_item_type.rb |   16 -
 db/schema_migrations/20221021082256           |    1 -
 db/schema_migrations/20221021082257           |    1 -
 db/schema_migrations/20221021082313           |    1 -
 db/schema_migrations/20221021082314           |    1 -
 db/schema_migrations/20221207135755           |    1 -
 db/schema_migrations/20221207135831           |    1 -
 db/schema_migrations/20221225010101           |    1 -
 db/schema_migrations/20221225010102           |    1 -
 db/schema_migrations/20221225010103           |    1 -
 db/schema_migrations/20221225010104           |    1 -
 db/schema_migrations/20221225010105           |    1 -
 db/schema_migrations/20221225010106           |    1 -
 db/schema_migrations/20221229172604           |    1 -
 db/schema_migrations/20230113164245           |    1 -
 db/schema_migrations/20230113201308           |    1 -
 db/schema_migrations/20230118135145           |    1 -
 db/schema_migrations/20230118144623           |    1 -
 db/schema_migrations/20230125195503           |    1 -
 db/schema_migrations/20230126101907           |    1 -
 db/schema_migrations/20230127024835           |    1 -
 db/schema_migrations/20230127030015           |    1 -
 db/schema_migrations/20230130182412           |    1 -
 db/schema_migrations/20230131184319           |    1 -
 db/schema_migrations/20230201165656           |    1 -
 db/schema_migrations/20230202094723           |    1 -
 db/schema_migrations/20230202135758           |    1 -
 db/schema_migrations/20230202211434           |    1 -
 db/schema_migrations/20230207002330           |    1 -
 db/schema_migrations/20230208125736           |    1 -
 db/schema_migrations/20230209222452           |    1 -
 db/schema_migrations/20230210152109           |    1 -
 db/schema_migrations/20230210153420           |    1 -
 db/schema_migrations/20230210155715           |    1 -
 db/schema_migrations/20230210160037           |    1 -
 db/schema_migrations/20230210160351           |    1 -
 db/schema_migrations/20230210161002           |    1 -
 db/schema_migrations/20230210171012           |    1 -
 db/schema_migrations/20230213103019           |    1 -
 db/schema_migrations/20230213213559           |    1 -
 db/schema_migrations/20230214181633           |    1 -
 db/schema_migrations/20230215074223           |    1 -
 db/schema_migrations/20230215124011           |    1 -
 db/schema_migrations/20230215131026           |    1 -
 db/schema_migrations/20230215180605           |    1 -
 db/schema_migrations/20230215213349           |    1 -
 db/schema_migrations/20230216040505           |    1 -
 db/schema_migrations/20230216060333           |    1 -
 db/schema_migrations/20230216071312           |    1 -
 db/schema_migrations/20230216142836           |    1 -
 db/schema_migrations/20230216144719           |    1 -
 db/schema_migrations/20230216152912           |    1 -
 db/schema_migrations/20230216171309           |    1 -
 db/schema_migrations/20230216191507           |    1 -
 db/schema_migrations/20230216222956           |    1 -
 db/schema_migrations/20230216232404           |    1 -
 db/schema_migrations/20230216233937           |    1 -
 db/schema_migrations/20230217065736           |    1 -
 db/schema_migrations/20230217144421           |    1 -
 db/schema_migrations/20230217232554           |    1 -
 db/schema_migrations/20230218145930           |    1 -
 db/schema_migrations/20230218145940           |    1 -
 db/schema_migrations/20230218152729           |    1 -
 db/schema_migrations/20230218152730           |    1 -
 db/schema_migrations/20230219191034           |    1 -
 db/schema_migrations/20230220035034           |    1 -
 db/schema_migrations/20230220102212           |    1 -
 db/schema_migrations/20230220112930           |    1 -
 db/schema_migrations/20230220132409           |    1 -
 db/schema_migrations/20230220132410           |    1 -
 db/schema_migrations/20230220134145           |    1 -
 db/schema_migrations/20230220134146           |    1 -
 db/schema_migrations/20230220163141           |    1 -
 db/schema_migrations/20230220165240           |    1 -
 db/schema_migrations/20230221010522           |    1 -
 db/schema_migrations/20230221011750           |    1 -
 db/schema_migrations/20230221093533           |    1 -
 db/schema_migrations/20230221093535           |    1 -
 db/schema_migrations/20230221093536           |    1 -
 db/schema_migrations/20230221110256           |    1 -
 db/schema_migrations/20230221125148           |    1 -
 db/schema_migrations/20230221162222           |    1 -
 db/schema_migrations/20230221214519           |    1 -
 db/schema_migrations/20230222035805           |    1 -
 db/schema_migrations/20230222055510           |    1 -
 db/schema_migrations/20230222101420           |    1 -
 db/schema_migrations/20230222102421           |    1 -
 db/schema_migrations/20230222131512           |    1 -
 db/schema_migrations/20230222153048           |    1 -
 db/schema_migrations/20230222161226           |    1 -
 db/schema_migrations/20230222161954           |    1 -
 db/schema_migrations/20230222193845           |    1 -
 db/schema_migrations/20230223014251           |    1 -
 db/schema_migrations/20230223065753           |    1 -
 db/schema_migrations/20230223082752           |    1 -
 db/schema_migrations/20230223093704           |    1 -
 db/schema_migrations/20230224085743           |    1 -
 db/schema_migrations/20230224130315           |    1 -
 db/schema_migrations/20230224144233           |    1 -
 db/schema_migrations/20230224161346           |    1 -
 db/schema_migrations/20230227123949           |    1 -
 db/schema_migrations/20230227123950           |    1 -
 db/schema_migrations/20230227151608           |    1 -
 db/schema_migrations/20230227151609           |    1 -
 db/schema_migrations/20230227153231           |    1 -
 db/schema_migrations/20230227153232           |    1 -
 db/schema_migrations/20230228021910           |    1 -
 db/schema_migrations/20230228023014           |    1 -
 db/schema_migrations/20230228092612           |    1 -
 db/schema_migrations/20230228133011           |    1 -
 db/schema_migrations/20230228135034           |    1 -
 db/schema_migrations/20230228142350           |    1 -
 db/schema_migrations/20230228183644           |    1 -
 db/schema_migrations/20230228212427           |    1 -
 db/schema_migrations/20230228212905           |    1 -
 db/schema_migrations/20230301020246           |    1 -
 db/schema_migrations/20230301020356           |    1 -
 db/schema_migrations/20230301065107           |    1 -
 db/schema_migrations/20230302090155           |    1 -
 db/schema_migrations/20230302123258           |    1 -
 db/schema_migrations/20230302123259           |    1 -
 db/schema_migrations/20230302123301           |    1 -
 db/schema_migrations/20230302163339           |    1 -
 db/schema_migrations/20230302185739           |    1 -
 db/schema_migrations/20230303105806           |    1 -
 db/schema_migrations/20230303120531           |    1 -
 db/schema_migrations/20230303144424           |    1 -
 db/schema_migrations/20230303154314           |    1 -
 db/schema_migrations/20230303232426           |    1 -
 db/schema_migrations/20230304184416           |    1 -
 db/schema_migrations/20230306071456           |    1 -
 db/schema_migrations/20230306072532           |    1 -
 db/schema_migrations/20230306082852           |    1 -
 db/schema_migrations/20230306143322           |    1 -
 db/schema_migrations/20230306145230           |    1 -
 db/schema_migrations/20230306195007           |    1 -
 db/schema_migrations/20230307000000           |    1 -
 db/schema_migrations/20230307085644           |    1 -
 db/schema_migrations/20230307091216           |    1 -
 db/schema_migrations/20230307122838           |    1 -
 db/schema_migrations/20230307132729           |    1 -
 db/schema_migrations/20230307160251           |    1 -
 db/schema_migrations/20230307212637           |    1 -
 db/schema_migrations/20230307233631           |    1 -
 db/schema_migrations/20230308154243           |    1 -
 db/schema_migrations/20230308154244           |    1 -
 db/schema_migrations/20230308154245           |    1 -
 db/schema_migrations/20230308163018           |    1 -
 db/schema_migrations/20230309000957           |    1 -
 db/schema_migrations/20230309010000           |    1 -
 db/schema_migrations/20230309010931           |    1 -
 db/schema_migrations/20230309020422           |    1 -
 db/schema_migrations/20230309071242           |    1 -
 db/schema_migrations/20230309085547           |    1 -
 db/schema_migrations/20230309103016           |    1 -
 db/schema_migrations/20230310020356           |    1 -
 db/schema_migrations/20230310111859           |    1 -
 db/schema_migrations/20230310213308           |    1 -
 db/schema_migrations/20230313012226           |    1 -
 db/schema_migrations/20230313012609           |    1 -
 db/schema_migrations/20230313014038           |    1 -
 db/schema_migrations/20230313031351           |    1 -
 db/schema_migrations/20230313031629           |    1 -
 db/schema_migrations/20230313054226           |    1 -
 db/schema_migrations/20230313092109           |    1 -
 db/schema_migrations/20230313100920           |    1 -
 db/schema_migrations/20230313133001           |    1 -
 db/schema_migrations/20230313142631           |    1 -
 db/schema_migrations/20230313143033           |    1 -
 db/schema_migrations/20230313150531           |    1 -
 db/schema_migrations/20230313181536           |    1 -
 db/schema_migrations/20230313184306           |    1 -
 db/schema_migrations/20230313185145           |    1 -
 db/schema_migrations/20230314094210           |    1 -
 db/schema_migrations/20230314144640           |    1 -
 db/schema_migrations/20230314210657           |    1 -
 db/schema_migrations/20230315053635           |    1 -
 db/schema_migrations/20230315084704           |    1 -
 db/schema_migrations/20230315161408           |    1 -
 db/schema_migrations/20230316014650           |    1 -
 db/schema_migrations/20230316014651           |    1 -
 db/schema_migrations/20230316073726           |    1 -
 db/schema_migrations/20230316093433           |    1 -
 db/schema_migrations/20230316095948           |    1 -
 db/schema_migrations/20230316114426           |    1 -
 db/schema_migrations/20230316164917           |    1 -
 db/schema_migrations/20230316185746           |    1 -
 db/schema_migrations/20230317004428           |    1 -
 db/schema_migrations/20230317075852           |    1 -
 db/schema_migrations/20230317080000           |    1 -
 db/schema_migrations/20230317080137           |    1 -
 db/schema_migrations/20230317151841           |    1 -
 db/schema_migrations/20230317162059           |    1 -
 db/schema_migrations/20230317195228           |    1 -
 db/schema_migrations/20230319105436           |    1 -
 db/schema_migrations/20230320110802           |    1 -
 db/schema_migrations/20230320155635           |    1 -
 db/schema_migrations/20230321003252           |    1 -
 db/schema_migrations/20230321011529           |    1 -
 db/schema_migrations/20230321011903           |    1 -
 db/schema_migrations/20230321024333           |    1 -
 db/schema_migrations/20230321024903           |    1 -
 db/schema_migrations/20230321085011           |    1 -
 db/schema_migrations/20230321095759           |    1 -
 db/schema_migrations/20230321113956           |    1 -
 db/schema_migrations/20230321124837           |    1 -
 db/schema_migrations/20230321153035           |    1 -
 db/schema_migrations/20230321153304           |    1 -
 db/schema_migrations/20230321153337           |    1 -
 db/schema_migrations/20230321161218           |    1 -
 db/schema_migrations/20230321161441           |    1 -
 db/schema_migrations/20230321162810           |    1 -
 db/schema_migrations/20230321162902           |    1 -
 db/schema_migrations/20230321163051           |    1 -
 db/schema_migrations/20230321163547           |    1 -
 db/schema_migrations/20230321163947           |    1 -
 db/schema_migrations/20230321170734           |    1 -
 db/schema_migrations/20230321170803           |    1 -
 db/schema_migrations/20230321170823           |    1 -
 db/schema_migrations/20230322011220           |    1 -
 db/schema_migrations/20230322012209           |    1 -
 db/schema_migrations/20230322023442           |    1 -
 db/schema_migrations/20230322085041           |    1 -
 db/schema_migrations/20230322085852           |    1 -
 db/schema_migrations/20230322145403           |    1 -
 db/schema_migrations/20230322151605           |    1 -
 db/schema_migrations/20230322151635           |    1 -
 db/schema_migrations/20230322162512           |    1 -
 db/schema_migrations/20230322164031           |    1 -
 db/schema_migrations/20230322203927           |    1 -
 db/schema_migrations/20230323005730           |    1 -
 db/schema_migrations/20230323010111           |    1 -
 db/schema_migrations/20230323013251           |    1 -
 db/schema_migrations/20230323021618           |    1 -
 db/schema_migrations/20230323101138           |    1 -
 db/schema_migrations/20230323120601           |    1 -
 db/schema_migrations/20230323131521           |    1 -
 db/schema_migrations/20230323140745           |    1 -
 db/schema_migrations/20230323140746           |    1 -
 db/schema_migrations/20230323153042           |    1 -
 db/schema_migrations/20230323153328           |    1 -
 db/schema_migrations/20230323153433           |    1 -
 db/schema_migrations/20230323191750           |    1 -
 db/schema_migrations/20230327074932           |    1 -
 db/schema_migrations/20230327103401           |    1 -
 db/schema_migrations/20230327123333           |    1 -
 db/schema_migrations/20230327125705           |    1 -
 db/schema_migrations/20230327144152           |    1 -
 db/schema_migrations/20230328020316           |    1 -
 db/schema_migrations/20230328023535           |    1 -
 db/schema_migrations/20230328023554           |    1 -
 db/schema_migrations/20230328030101           |    1 -
 db/schema_migrations/20230328031720           |    1 -
 db/schema_migrations/20230328031838           |    1 -
 db/schema_migrations/20230328100534           |    1 -
 db/schema_migrations/20230328111013           |    1 -
 db/schema_migrations/20230328150343           |    1 -
 db/schema_migrations/20230328151756           |    1 -
 db/schema_migrations/20230328165313           |    1 -
 db/schema_migrations/20230328184031           |    1 -
 db/schema_migrations/20230329032129           |    1 -
 db/schema_migrations/20230329085754           |    1 -
 db/schema_migrations/20230329091107           |    1 -
 db/schema_migrations/20230329091300           |    1 -
 db/schema_migrations/20230329100222           |    1 -
 db/schema_migrations/20230329152410           |    1 -
 db/schema_migrations/20230329163232           |    1 -
 db/schema_migrations/20230329194244           |    1 -
 db/schema_migrations/20230329235300           |    1 -
 db/schema_migrations/20230330080731           |    1 -
 db/schema_migrations/20230330101438           |    1 -
 db/schema_migrations/20230330101439           |    1 -
 db/schema_migrations/20230330101440           |    1 -
 db/schema_migrations/20230330101441           |    1 -
 db/schema_migrations/20230330101442           |    1 -
 db/schema_migrations/20230330101443           |    1 -
 db/schema_migrations/20230330103104           |    1 -
 db/schema_migrations/20230330215636           |    1 -
 db/schema_migrations/20230331142006           |    1 -
 db/schema_migrations/20230403023440           |    1 -
 db/schema_migrations/20230403023441           |    1 -
 db/schema_migrations/20230403023828           |    1 -
 db/schema_migrations/20230403041642           |    1 -
 db/schema_migrations/20230403041917           |    1 -
 db/schema_migrations/20230403085957           |    1 -
 db/schema_migrations/20230403085958           |    1 -
 db/schema_migrations/20230403093349           |    1 -
 db/schema_migrations/20230403113620           |    1 -
 db/schema_migrations/20230403145705           |    1 -
 db/schema_migrations/20230403164454           |    1 -
 db/schema_migrations/20230403190527           |    1 -
 db/schema_migrations/20230403221928           |    1 -
 db/schema_migrations/20230403231455           |    1 -
 db/schema_migrations/20230403231841           |    1 -
 db/schema_migrations/20230403232121           |    1 -
 db/schema_migrations/20230404023648           |    1 -
 db/schema_migrations/20230404023915           |    1 -
 db/schema_migrations/20230404030757           |    1 -
 db/schema_migrations/20230404031041           |    1 -
 db/schema_migrations/20230404044338           |    1 -
 db/schema_migrations/20230404050414           |    1 -
 db/schema_migrations/20230404061832           |    1 -
 db/schema_migrations/20230404111427           |    1 -
 db/schema_migrations/20230404132544           |    1 -
 db/schema_migrations/20230404160131           |    1 -
 db/schema_migrations/20230404194907           |    1 -
 db/schema_migrations/20230404194908           |    1 -
 db/schema_migrations/20230405071033           |    1 -
 db/schema_migrations/20230405072302           |    1 -
 db/schema_migrations/20230405094230           |    1 -
 db/schema_migrations/20230405102815           |    1 -
 db/schema_migrations/20230405132104           |    1 -
 db/schema_migrations/20230405132855           |    1 -
 db/schema_migrations/20230405200858           |    1 -
 db/schema_migrations/20230406040908           |    1 -
 db/schema_migrations/20230406041555           |    1 -
 db/schema_migrations/20230406041629           |    1 -
 db/schema_migrations/20230406042906           |    1 -
 db/schema_migrations/20230406043900           |    1 -
 db/schema_migrations/20230406060452           |    1 -
 db/schema_migrations/20230406073847           |    1 -
 db/schema_migrations/20230406093640           |    1 -
 db/schema_migrations/20230406095544           |    1 -
 db/schema_migrations/20230406115900           |    1 -
 db/schema_migrations/20230406121544           |    1 -
 db/schema_migrations/20230406134436           |    1 -
 db/schema_migrations/20230406150254           |    1 -
 db/schema_migrations/20230406150354           |    1 -
 db/schema_migrations/20230406150454           |    1 -
 db/schema_migrations/20230407164616           |    1 -
 db/schema_migrations/20230410092450           |    1 -
 db/schema_migrations/20230410111251           |    1 -
 db/schema_migrations/20230410123709           |    1 -
 db/schema_migrations/20230411011959           |    1 -
 db/schema_migrations/20230411153310           |    1 -
 db/schema_migrations/20230411171001           |    1 -
 db/schema_migrations/20230411205121           |    1 -
 db/schema_migrations/20230412013251           |    1 -
 db/schema_migrations/20230412073614           |    1 -
 db/schema_migrations/20230412080242           |    1 -
 db/schema_migrations/20230412104514           |    1 -
 db/schema_migrations/20230412141541           |    1 -
 db/schema_migrations/20230412151659           |    1 -
 db/schema_migrations/20230412152538           |    1 -
 db/schema_migrations/20230412185837           |    1 -
 db/schema_migrations/20230412185920           |    1 -
 db/schema_migrations/20230412201517           |    1 -
 db/schema_migrations/20230412201528           |    1 -
 db/schema_migrations/20230412201539           |    1 -
 db/schema_migrations/20230412201549           |    1 -
 db/schema_migrations/20230412201600           |    1 -
 db/schema_migrations/20230412201611           |    1 -
 db/schema_migrations/20230412201621           |    1 -
 db/schema_migrations/20230412201632           |    1 -
 db/schema_migrations/20230412201642           |    1 -
 db/schema_migrations/20230412203234           |    1 -
 db/schema_migrations/20230412204143           |    1 -
 db/schema_migrations/20230412204201           |    1 -
 db/schema_migrations/20230412204224           |    1 -
 db/schema_migrations/20230412214119           |    1 -
 db/schema_migrations/20230413012807           |    1 -
 db/schema_migrations/20230413041917           |    1 -
 db/schema_migrations/20230413041918           |    1 -
 db/schema_migrations/20230413041919           |    1 -
 db/schema_migrations/20230413041920           |    1 -
 db/schema_migrations/20230413080906           |    1 -
 db/schema_migrations/20230413080918           |    1 -
 db/schema_migrations/20230413153140           |    1 -
 db/schema_migrations/20230414075119           |    1 -
 db/schema_migrations/20230414140202           |    1 -
 db/schema_migrations/20230414150202           |    1 -
 db/schema_migrations/20230414190012           |    1 -
 db/schema_migrations/20230414200202           |    1 -
 db/schema_migrations/20230414230535           |    1 -
 db/schema_migrations/20230417145900           |    1 -
 db/schema_migrations/20230418154454           |    1 -
 db/schema_migrations/20230418164957           |    1 -
 db/schema_migrations/20230418183540           |    1 -
 db/schema_migrations/20230418215853           |    1 -
 db/schema_migrations/20230419010332           |    1 -
 db/schema_migrations/20230419010551           |    1 -
 db/schema_migrations/20230419012426           |    1 -
 db/schema_migrations/20230419012621           |    1 -
 db/schema_migrations/20230419094535           |    1 -
 db/schema_migrations/20230419094939           |    1 -
 db/schema_migrations/20230419105225           |    1 -
 db/schema_migrations/20230419121943           |    1 -
 db/schema_migrations/20230419130952           |    1 -
 db/schema_migrations/20230419164438           |    1 -
 db/schema_migrations/20230419192748           |    1 -
 db/schema_migrations/20230419193807           |    1 -
 db/schema_migrations/20230420002547           |    1 -
 db/schema_migrations/20230420005610           |    1 -
 db/schema_migrations/20230420005930           |    1 -
 db/schema_migrations/20230420012220           |    1 -
 db/schema_migrations/20230420040912           |    1 -
 db/schema_migrations/20230420041344           |    1 -
 db/schema_migrations/20230420065656           |    1 -
 db/schema_migrations/20230420070009           |    1 -
 db/schema_migrations/20230420115733           |    1 -
 db/schema_migrations/20230420120431           |    1 -
 db/schema_migrations/20230420131608           |    1 -
 db/schema_migrations/20230420132910           |    1 -
 db/schema_migrations/20230420144418           |    1 -
 db/schema_migrations/20230421035557           |    1 -
 db/schema_migrations/20230421081907           |    1 -
 db/schema_migrations/20230421124302           |    1 -
 db/schema_migrations/20230421165020           |    1 -
 db/schema_migrations/20230422013640           |    1 -
 db/schema_migrations/20230424094117           |    1 -
 db/schema_migrations/20230424122236           |    1 -
 db/schema_migrations/20230424131551           |    1 -
 db/schema_migrations/20230424155321           |    1 -
 db/schema_migrations/20230424194721           |    1 -
 db/schema_migrations/20230425101542           |    1 -
 db/schema_migrations/20230425114355           |    1 -
 db/schema_migrations/20230425173111           |    1 -
 db/schema_migrations/20230425521418           |    1 -
 db/schema_migrations/20230426030342           |    1 -
 db/schema_migrations/20230426085615           |    1 -
 db/schema_migrations/20230426102200           |    1 -
 db/schema_migrations/20230426161259           |    1 -
 db/schema_migrations/20230426161341           |    1 -
 db/schema_migrations/20230427065641           |    1 -
 db/schema_migrations/20230427065942           |    1 -
 db/schema_migrations/20230427094534           |    1 -
 db/schema_migrations/20230427190005           |    1 -
 db/schema_migrations/20230427194552           |    1 -
 db/schema_migrations/20230428065426           |    1 -
 db/schema_migrations/20230428070443           |    1 -
 db/schema_migrations/20230428085332           |    1 -
 db/schema_migrations/20230428101217           |    1 -
 db/schema_migrations/20230428134334           |    1 -
 db/schema_migrations/20230428165514           |    1 -
 db/schema_migrations/20230501090213           |    1 -
 db/schema_migrations/20230501094322           |    1 -
 db/schema_migrations/20230501111636           |    1 -
 db/schema_migrations/20230501163253           |    1 -
 db/schema_migrations/20230501165244           |    1 -
 db/schema_migrations/20230501180958           |    1 -
 db/schema_migrations/20230502014227           |    1 -
 db/schema_migrations/20230502083003           |    1 -
 db/schema_migrations/20230502102832           |    1 -
 db/schema_migrations/20230502102833           |    1 -
 db/schema_migrations/20230502120021           |    1 -
 db/schema_migrations/20230502120022           |    1 -
 db/schema_migrations/20230502134532           |    1 -
 db/schema_migrations/20230502182754           |    1 -
 db/schema_migrations/20230502193525           |    1 -
 db/schema_migrations/20230502201251           |    1 -
 db/schema_migrations/20230503032750           |    1 -
 db/schema_migrations/20230503100753           |    1 -
 db/schema_migrations/20230503115918           |    1 -
 db/schema_migrations/20230503152349           |    1 -
 db/schema_migrations/20230503173101           |    1 -
 db/schema_migrations/20230503175406           |    1 -
 db/schema_migrations/20230503181808           |    1 -
 db/schema_migrations/20230503191056           |    1 -
 db/schema_migrations/20230504010535           |    1 -
 db/schema_migrations/20230504084524           |    1 -
 db/schema_migrations/20230504112809           |    1 -
 db/schema_migrations/20230504182314           |    1 -
 db/schema_migrations/20230505115558           |    1 -
 db/schema_migrations/20230505122015           |    1 -
 db/schema_migrations/20230507192028           |    1 -
 db/schema_migrations/20230508034422           |    1 -
 db/schema_migrations/20230508074515           |    1 -
 db/schema_migrations/20230508093910           |    1 -
 db/schema_migrations/20230508095017           |    1 -
 db/schema_migrations/20230508150219           |    1 -
 db/schema_migrations/20230508175057           |    1 -
 db/schema_migrations/20230509013743           |    1 -
 db/schema_migrations/20230509072635           |    1 -
 db/schema_migrations/20230509085428           |    1 -
 db/schema_migrations/20230509115525           |    1 -
 db/schema_migrations/20230509131736           |    1 -
 db/schema_migrations/20230509144234           |    1 -
 db/schema_migrations/20230510013754           |    1 -
 db/schema_migrations/20230510062503           |    1 -
 db/schema_migrations/20230510130050           |    1 -
 db/schema_migrations/20230510141454           |    1 -
 db/schema_migrations/20230510142316           |    1 -
 db/schema_migrations/20230510142931           |    1 -
 db/schema_migrations/20230510152153           |    1 -
 db/schema_migrations/20230511132140           |    1 -
 db/schema_migrations/20230512023321           |    1 -
 db/schema_migrations/20230512104238           |    1 -
 db/schema_migrations/20230512141931           |    1 -
 db/schema_migrations/20230512143000           |    1 -
 db/schema_migrations/20230515101208           |    1 -
 db/schema_migrations/20230515102353           |    1 -
 db/schema_migrations/20230515111314           |    1 -
 db/schema_migrations/20230515142300           |    1 -
 db/schema_migrations/20230515153600           |    1 -
 db/schema_migrations/20230516032545           |    1 -
 db/schema_migrations/20230516033729           |    1 -
 db/schema_migrations/20230516044606           |    1 -
 db/schema_migrations/20230516045238           |    1 -
 db/schema_migrations/20230516045442           |    1 -
 db/schema_migrations/20230516072100           |    1 -
 db/schema_migrations/20230516080816           |    1 -
 db/schema_migrations/20230516110414           |    1 -
 db/schema_migrations/20230516115259           |    1 -
 db/schema_migrations/20230516123202           |    1 -
 db/schema_migrations/20230516125656           |    1 -
 db/schema_migrations/20230516172446           |    1 -
 db/schema_migrations/20230516175449           |    1 -
 db/schema_migrations/20230516183736           |    1 -
 db/schema_migrations/20230516192543           |    1 -
 db/schema_migrations/20230517001535           |    1 -
 db/schema_migrations/20230517005523           |    1 -
 db/schema_migrations/20230517090826           |    1 -
 db/schema_migrations/20230517151041           |    1 -
 db/schema_migrations/20230517151141           |    1 -
 db/schema_migrations/20230517151241           |    1 -
 db/schema_migrations/20230517163300           |    1 -
 db/schema_migrations/20230517182802           |    1 -
 db/schema_migrations/20230517182958           |    1 -
 db/schema_migrations/20230517183403           |    1 -
 db/schema_migrations/20230518005523           |    1 -
 db/schema_migrations/20230518071251           |    1 -
 db/schema_migrations/20230518121320           |    1 -
 db/schema_migrations/20230519011151           |    1 -
 db/schema_migrations/20230519023720           |    1 -
 db/schema_migrations/20230519103034           |    1 -
 db/schema_migrations/20230519112106           |    1 -
 db/schema_migrations/20230519135414           |    1 -
 db/schema_migrations/20230521521419           |    1 -
 db/schema_migrations/20230522073230           |    1 -
 db/schema_migrations/20230522103433           |    1 -
 db/schema_migrations/20230522111534           |    1 -
 db/schema_migrations/20230522132239           |    1 -
 db/schema_migrations/20230522180913           |    1 -
 db/schema_migrations/20230522181134           |    1 -
 db/schema_migrations/20230522210320           |    1 -
 db/schema_migrations/20230522220709           |    1 -
 db/schema_migrations/20230522225610           |    1 -
 db/schema_migrations/20230523073455           |    1 -
 db/schema_migrations/20230523074248           |    1 -
 db/schema_migrations/20230523074517           |    1 -
 db/schema_migrations/20230523122242           |    1 -
 db/schema_migrations/20230523125245           |    1 -
 db/schema_migrations/20230523125430           |    1 -
 db/schema_migrations/20230523131914           |    1 -
 db/schema_migrations/20230523132647           |    1 -
 db/schema_migrations/20230523210653           |    1 -
 db/schema_migrations/20230523210758           |    1 -
 db/schema_migrations/20230524012641           |    1 -
 db/schema_migrations/20230524093249           |    1 -
 db/schema_migrations/20230524093355           |    1 -
 db/schema_migrations/20230524095108           |    1 -
 db/schema_migrations/20230524120241           |    1 -
 db/schema_migrations/20230524135543           |    1 -
 db/schema_migrations/20230524135555           |    1 -
 db/schema_migrations/20230524135607           |    1 -
 db/schema_migrations/20230524135620           |    1 -
 db/schema_migrations/20230524135632           |    1 -
 db/schema_migrations/20230524135645           |    1 -
 db/schema_migrations/20230524135658           |    1 -
 db/schema_migrations/20230524135711           |    1 -
 db/schema_migrations/20230524135724           |    1 -
 db/schema_migrations/20230524135737           |    1 -
 db/schema_migrations/20230524135750           |    1 -
 db/schema_migrations/20230524135803           |    1 -
 db/schema_migrations/20230524135815           |    1 -
 db/schema_migrations/20230524135828           |    1 -
 db/schema_migrations/20230524135840           |    1 -
 db/schema_migrations/20230524142655           |    1 -
 db/schema_migrations/20230524150232           |    1 -
 db/schema_migrations/20230524150438           |    1 -
 db/schema_migrations/20230524201454           |    1 -
 db/schema_migrations/20230525064706           |    1 -
 db/schema_migrations/20230525180605           |    1 -
 db/schema_migrations/20230529163335           |    1 -
 db/schema_migrations/20230529173607           |    1 -
 db/schema_migrations/20230529182720           |    1 -
 db/schema_migrations/20230529183648           |    1 -
 db/schema_migrations/20230529184716           |    1 -
 db/schema_migrations/20230529185110           |    1 -
 db/schema_migrations/20230530003417           |    1 -
 db/schema_migrations/20230530003634           |    1 -
 db/schema_migrations/20230530015535           |    1 -
 db/schema_migrations/20230530100400           |    1 -
 db/schema_migrations/20230530112122           |    1 -
 db/schema_migrations/20230530112602           |    1 -
 db/schema_migrations/20230530114845           |    1 -
 db/schema_migrations/20230530115830           |    1 -
 db/schema_migrations/20230530140456           |    1 -
 db/schema_migrations/20230530140509           |    1 -
 db/schema_migrations/20230530140521           |    1 -
 db/schema_migrations/20230530140534           |    1 -
 db/schema_migrations/20230530140546           |    1 -
 db/schema_migrations/20230530140558           |    1 -
 db/schema_migrations/20230530140611           |    1 -
 db/schema_migrations/20230530140623           |    1 -
 db/schema_migrations/20230530140634           |    1 -
 db/schema_migrations/20230530140646           |    1 -
 db/schema_migrations/20230530162437           |    1 -
 db/schema_migrations/20230531054422           |    1 -
 db/schema_migrations/20230531134916           |    1 -
 db/schema_migrations/20230531135001           |    1 -
 db/schema_migrations/20230531142032           |    1 -
 db/schema_migrations/20230531142053           |    1 -
 db/schema_migrations/20230531164258           |    1 -
 db/schema_migrations/20230531165731           |    1 -
 db/schema_migrations/20230601035558           |    1 -
 db/schema_migrations/20230601084041           |    1 -
 db/schema_migrations/20230601085810           |    1 -
 db/schema_migrations/20230601085815           |    1 -
 db/schema_migrations/20230601085820           |    1 -
 db/schema_migrations/20230601184234           |    1 -
 db/schema_migrations/20230602063059           |    1 -
 db/schema_migrations/20230602112904           |    1 -
 db/schema_migrations/20230602131429           |    1 -
 db/schema_migrations/20230603174306           |    1 -
 db/schema_migrations/20230605043258           |    1 -
 db/schema_migrations/20230605043814           |    1 -
 db/schema_migrations/20230605085936           |    1 -
 db/schema_migrations/20230605085957           |    1 -
 db/schema_migrations/20230605093005           |    1 -
 db/schema_migrations/20230605095810           |    1 -
 db/schema_migrations/20230605192000           |    1 -
 db/schema_migrations/20230606124754           |    1 -
 db/schema_migrations/20230606124854           |    1 -
 db/schema_migrations/20230606124855           |    1 -
 db/schema_migrations/20230606124856           |    1 -
 db/schema_migrations/20230606182433           |    1 -
 db/schema_migrations/20230606183327           |    1 -
 db/schema_migrations/20230606193037           |    1 -
 db/schema_migrations/20230607080200           |    1 -
 db/schema_migrations/20230607093222           |    1 -
 db/schema_migrations/20230607101334           |    1 -
 db/schema_migrations/20230607102017           |    1 -
 db/schema_migrations/20230607102721           |    1 -
 db/schema_migrations/20230607102731           |    1 -
 db/schema_migrations/20230607165632           |    1 -
 db/schema_migrations/20230607165718           |    1 -
 db/schema_migrations/20230608071301           |    1 -
 db/schema_migrations/20230608081257           |    1 -
 db/schema_migrations/20230608081924           |    1 -
 db/schema_migrations/20230608101503           |    1 -
 db/schema_migrations/20230608195429           |    1 -
 db/schema_migrations/20230608231452           |    1 -
 db/schema_migrations/20230608232452           |    1 -
 db/schema_migrations/20230608233452           |    1 -
 db/schema_migrations/20230608234452           |    1 -
 db/schema_migrations/20230608235452           |    1 -
 db/schema_migrations/20230609000452           |    1 -
 db/schema_migrations/20230609001452           |    1 -
 db/schema_migrations/20230609002452           |    1 -
 db/schema_migrations/20230609003452           |    1 -
 db/schema_migrations/20230609004452           |    1 -
 db/schema_migrations/20230609005452           |    1 -
 db/schema_migrations/20230609010452           |    1 -
 db/schema_migrations/20230609011452           |    1 -
 db/schema_migrations/20230609085234           |    1 -
 db/schema_migrations/20230609115844           |    1 -
 db/schema_migrations/20230612072807           |    1 -
 db/schema_migrations/20230612075608           |    1 -
 db/schema_migrations/20230612083337           |    1 -
 db/schema_migrations/20230612083655           |    1 -
 db/schema_migrations/20230612083810           |    1 -
 db/schema_migrations/20230612084013           |    1 -
 db/schema_migrations/20230612162643           |    1 -
 db/schema_migrations/20230614073136           |    1 -
 db/schema_migrations/20230614181637           |    1 -
 db/schema_migrations/20230615083713           |    1 -
 db/schema_migrations/20230615083715           |    1 -
 db/schema_migrations/20230615083720           |    1 -
 db/schema_migrations/20230615083725           |    1 -
 db/schema_migrations/20230615083730           |    1 -
 db/schema_migrations/20230615083734           |    1 -
 db/schema_migrations/20230615083738           |    1 -
 db/schema_migrations/20230615083741           |    1 -
 db/schema_migrations/20230615083744           |    1 -
 db/schema_migrations/20230615083748           |    1 -
 db/schema_migrations/20230615202125           |    1 -
 db/schema_migrations/20230615202511           |    1 -
 ..._storage_size_without_uploads_size_spec.rb |    2 +-
 ...8_backfill_namespace_ldap_settings_spec.rb |   28 -
 ...hat_may_have_been_deleted_by_a_bug_spec.rb |   63 -
 ...can_result_policies_for_namespaces_spec.rb |   66 -
 ...cies_without_scan_result_policy_id_spec.rb |   52 -
 ...heckpoints_remove_advisory_entries_spec.rb |   45 -
 .../cleanup_orphan_software_licenses_spec.rb  |   43 -
 ...e_scope_for_personal_access_tokens_spec.rb |   58 -
 ...ode_suggestions_namespace_settings_spec.rb |    2 +-
 ...ill_design_management_repositories_spec.rb |    2 +-
 .../backfill_environment_tiers_spec.rb        |    2 +-
 ...tegrations_enable_ssl_verification_spec.rb |    2 +-
 ...amespace_id_of_vulnerability_reads_spec.rb |    2 +-
 ...ackfill_prepared_at_merge_requests_spec.rb |    2 +-
 ...backfill_project_wiki_repositories_spec.rb |    2 +-
 .../backfill_releases_author_id_spec.rb       |    2 +-
 .../backfill_resource_link_events_spec.rb     |    2 +-
 ...rage_statistics_fork_storage_sizes_spec.rb |    2 +-
 .../backfill_snippet_repositories_spec.rb     |  350 --
 .../backfill_topics_title_spec.rb             |    2 +-
 ..._vulnerability_reads_cluster_agent_spec.rb |    2 +-
 ..._access_tokens_with_nil_expires_at_spec.rb |   38 -
 ...ete_orphaned_packages_dependencies_spec.rb |    2 +-
 .../destroy_invalid_members_spec.rb           |    2 +-
 ...se_for_one_member_no_repo_projects_spec.rb |    2 +-
 ...nse_for_projects_less_than_five_mb_spec.rb |    2 +-
 ...ense_for_projects_less_than_one_mb_spec.rb |    2 +-
 ...fix_vulnerability_reads_has_issues_spec.rb |    2 +-
 ...icate_npm_packages_for_destruction_spec.rb |   78 -
 .../migrate_human_user_type_spec.rb           |   43 -
 ...tor_id_column_of_orphaned_projects_spec.rb |    2 +-
 .../populate_projects_star_count_spec.rb      |    2 +-
 ...ate_vulnerability_dismissal_fields_spec.rb |    2 +-
 ...invalid_deploy_access_level_groups_spec.rb |    2 +-
 .../remove_self_managed_wiki_notes_spec.rb    |    2 +-
 ...many_tags_skipped_registry_imports_spec.rb |    2 +-
 ..._available_for_non_public_projects_spec.rb |    2 +-
 ...overlong_vulnerability_html_titles_spec.rb |    2 +-
 ...schedule_migration_for_remediation_spec.rb |   25 -
 ...eue_backfill_compliance_violations_spec.rb |   32 -
 ...eate_vulnerability_links_migration_spec.rb |   30 -
 ...25736_schedule_migration_for_links_spec.rb |   25 -
 ...ect_group_link_with_missing_groups_spec.rb |   32 -
 ..._ci_build_needs_big_int_conversion_spec.rb |   43 -
 ..._ci_build_needs_big_int_conversion_spec.rb |   60 -
 ...ndex_on_vulnerability_report_types_spec.rb |   22 -
 ...amespaces_from_onboarding_progress_spec.rb |   59 -
 ...fy_creator_id_of_orphaned_projects_spec.rb |   98 -
 ...43_update_issues_internal_id_scope_spec.rb |   28 -
 ...igrate_evidences_from_raw_metadata_spec.rb |   25 -
 ...add_notifications_work_item_widget_spec.rb |   10 -
 ...fix_vulnerability_reads_has_issues_spec.rb |   27 -
 ...2811133_re_migrate_redis_slot_keys_spec.rb |   74 -
 ...ete_orphaned_packages_dependencies_spec.rb |   26 -
 ...2_delete_security_policy_bot_users_spec.rb |   24 -
 ..._backfill_ml_candidates_package_id_spec.rb |   61 -
 ...schedule_migration_for_remediation_spec.rb |   31 -
 ...640_reschedule_migration_for_links_spec.rb |   25 -
 ...s_hll_events_to_weekly_aggregation_spec.rb |  100 -
 ...urrent_user_todos_work_item_widget_spec.rb |   10 -
 ...ted_at_desc_index_to_package_files_spec.rb |   20 -
 ..._backfill_ml_candidates_project_id_spec.rb |   50 -
 ...backfill_ml_candidates_internal_id_spec.rb |   64 -
 ...space_records_from_vsa_aggregation_spec.rb |   41 -
 ...ey_to_packages_npm_metadata_caches_spec.rb |   24 -
 ...8_add_award_emoji_work_item_widget_spec.rb |   10 -
 ...3401_queue_migrate_human_user_type_spec.rb |   26 -
 ...duct_analytics_data_collector_host_spec.rb |   47 -
 ...1_add_secureflag_training_provider_spec.rb |   25 -
 ...534_truncate_error_tracking_tables_spec.rb |   56 -
 ..._drop_software_licenses_temp_index_spec.rb |   20 -
 ...03104_reschedule_migrate_evidences_spec.rb |   25 -
 ...dex_on_vulnerability_report_types2_spec.rb |   49 -
 ...backfill_project_wiki_repositories_spec.rb |   26 -
 ...ill_design_management_repositories_spec.rb |   26 -
 ..._conversion_for_sent_notifications_spec.rb |   21 -
 ...chedule_links_avoiding_duplication_spec.rb |   25 -
 ...ate_vulnerability_dismissal_fields_spec.rb |   37 -
 ..._finalize_encrypt_ci_trigger_token_spec.rb |   97 -
 ...3_add_assignee_widget_to_incidents_spec.rb |   47 -
 ...bricator_from_application_settings_spec.rb |   22 -
 ...ueue_backfill_resource_link_events_spec.rb |   89 -
 ...settings_after_phabricator_removal_spec.rb |   34 -
 ...e_shimo_zentao_integration_records_spec.rb |   46 -
 ...n_source_and_type_and_access_level_spec.rb |   22 -
 ...tions_on_project_user_access_level_spec.rb |   22 -
 ...084524_remove_gitlab_import_source_spec.rb |   22 -
 ...and_description_to_nuget_metadatum_spec.rb |   24 -
 ...chedule_evidences_handling_unicode_spec.rb |   31 -
 ...509131736_add_default_organization_spec.rb |   20 -
 ...ck_fill_prepared_at_merge_requests_spec.rb |   76 -
 ...rage_statistics_fork_storage_sizes_spec.rb |   26 -
 ...ode_suggestions_namespace_settings_spec.rb |   26 -
 ...invalid_deploy_access_level_groups_spec.rb |   24 -
 ..._migration_for_links_from_metadata_spec.rb |   31 -
 ...ork_item_type_backfill_is_finished_spec.rb |  106 -
 ...01514_finalize_user_type_migration_spec.rb |   19 -
 ...icate_npm_packages_for_destruction_spec.rb |   27 -
 ...095810_ensure_default_organization_spec.rb |   51 -
 ...tokens_on_id_where_expires_in_null_spec.rb |   20 -
 ..._access_tokens_with_nil_expires_at_spec.rb |   25 -
 ..._learn_gitlab_worker_job_instances_spec.rb |   17 -
 .../add_type_to_http_integrations_spec.rb     |   21 -
 ...with_progress_work_item_progresses_spec.rb |   48 -
 .../drop_packages_events_table_spec.rb        |   24 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   37 -
 ...ackfill_is_finished_for_self_hosts_spec.rb |   25 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 ...ill_is_finished_for_gitlab_dot_com_spec.rb |   35 -
 .../ensure_unique_debian_packages_spec.rb     |   56 -
 ...ackfill_is_finished_for_gl_dot_com_spec.rb |   35 -
 ...ze_issues_iid_scoping_to_namespace_spec.rb |   72 -
 ...rt_daily_invites_trial_plan_limits_spec.rb |   51 -
 .../queue_backfill_prepared_at_data_spec.rb   |   24 -
 ...index_table_name_length_constraint_spec.rb |   64 -
 ...move_packages_events_package_id_fk_spec.rb |   23 -
 ...ider_and_identities_non_root_group_spec.rb |   53 -
 ...n_and_scim_identity_non_root_group_spec.rb |   58 -
 ...e_scope_for_personal_access_tokens_spec.rb |   19 -
 ...remove_invalid_deploy_access_level_spec.rb |   86 -
 ...ncident_work_item_type_id_backfill_spec.rb |   70 -
 ...e_shared_vulnerability_identifiers_spec.rb |   32 -
 ...ng_from_soft_email_confirmation_ff_spec.rb |   62 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   67 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ..._id_to_bigint_for_gitlab_dot_com_2_spec.rb |   89 -
 ...cs_id_to_bigint_for_gitlab_dot_com_spec.rb |   76 -
 ...etrics_id_to_bigint_for_self_hosts_spec.rb |  155 -
 ..._user_mentions_note_id_to_bigint_2_spec.rb |   91 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...es_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...swap_sent_notifications_id_columns_spec.rb |   71 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 ...te_id_to_bigint_for_gitlab_dot_com_spec.rb |   66 -
 .../helpers/user_with_namespace_shim.yml      |   11 -
 spec/support/rspec_order_todo.yml             |    1 -
 1513 files changed, 2300 insertions(+), 22743 deletions(-)
 delete mode 100644 db/migrate/20221225010101_create_workspaces_table.rb
 delete mode 100644 db/migrate/20221225010102_create_workspaces_user_foreign_key.rb
 delete mode 100644 db/migrate/20221225010103_create_workspaces_project_foreign_key.rb
 delete mode 100644 db/migrate/20221225010104_create_workspaces_cluster_agent_foreign_key.rb
 delete mode 100644 db/migrate/20221225010105_create_remote_development_agent_configs_table.rb
 delete mode 100644 db/migrate/20221225010106_create_remote_development_agent_config_agent_foreign_key.rb
 delete mode 100644 db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb
 delete mode 100644 db/migrate/20230113164245_create_namespace_ldap_settings.rb
 delete mode 100644 db/migrate/20230118135145_add_service_desk_custom_email_verifications.rb
 delete mode 100644 db/migrate/20230127024835_add_database_apdex_settings_to_application_settings.rb
 delete mode 100644 db/migrate/20230127030015_add_deny_all_outgoing_requests_to_application_settings.rb
 delete mode 100644 db/migrate/20230201165656_create_container_repository_states.rb
 delete mode 100644 db/migrate/20230202094723_add_default_syntax_highlighting_theme_to_application_settings.rb
 delete mode 100644 db/migrate/20230207002330_add_project_group_link_on_delete_cascade_fk.rb
 delete mode 100644 db/migrate/20230210152109_add_bulk_import_export_batches.rb
 delete mode 100644 db/migrate/20230210153420_add_batched_column_to_bulk_import_exports.rb
 delete mode 100644 db/migrate/20230210155715_add_batch_id_to_bulk_import_export_uploads.rb
 delete mode 100644 db/migrate/20230210160037_add_batch_foreign_key_to_bulk_import_export_uploads.rb
 delete mode 100644 db/migrate/20230210160351_add_bulk_import_batch_trackers.rb
 delete mode 100644 db/migrate/20230210161002_add_batched_column_to_bulk_import_trackers.rb
 delete mode 100644 db/migrate/20230210171012_add_batch_id_index_to_bulk_import_export_uploads.rb
 delete mode 100644 db/migrate/20230213213559_add_index_on_project_id_and_scanner_id_and_vulnerability_id_on_vulnerability_reads.rb
 delete mode 100644 db/migrate/20230215074223_add_ci_runner_machine_builds_partitioned_table.rb
 delete mode 100644 db/migrate/20230215124011_add_provisioned_by_group_at_to_user_details.rb
 delete mode 100644 db/migrate/20230215131026_add_has_failures_column_to_bulk_imports.rb
 delete mode 100644 db/migrate/20230215180605_index_sbom_occurrences_on_project_id_and_id.rb
 delete mode 100644 db/migrate/20230216040505_add_status_and_resolved_at_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230216071312_add_status_category_and_id_index_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230216142836_update_vulnerability_reads_trigger_to_set_has_issue.rb
 delete mode 100644 db/migrate/20230216144719_drop_table_airflow_dags.rb
 delete mode 100644 db/migrate/20230216152912_add_has_failures_column_to_bulk_import_entities.rb
 delete mode 100644 db/migrate/20230216171309_create_ci_runner_cost_settings.rb
 delete mode 100644 db/migrate/20230217065736_add_projects_api_rate_limit_unauthenticated_to_application_settings.rb
 delete mode 100644 db/migrate/20230217144421_add_check_type_to_pre_scan_step.rb
 delete mode 100644 db/migrate/20230217232554_add_state_changed_in_to_vulnerability_state_transitions.rb
 delete mode 100644 db/migrate/20230220035034_add_status_and_id_index_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230220163141_create_catalog_resources_table.rb
 delete mode 100644 db/migrate/20230221110256_create_initial_partition_for_ci_runner_machine_builds.rb
 delete mode 100644 db/migrate/20230222131512_add_wiki_asciidoc_allow_uri_includes.rb
 delete mode 100644 db/migrate/20230222153048_add_registry_size_estimated_to_namespace_root_storage_statistics.rb
 delete mode 100644 db/migrate/20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb
 delete mode 100644 db/migrate/20230222161954_add_text_limit_to_custom_jira_regex_fields.rb
 delete mode 100644 db/migrate/20230222193845_change_public_projects_minutes_cost_factor_default_to_1.rb
 delete mode 100644 db/migrate/20230224130315_add_constraint_type_to_postgres_async_constraint_validation.rb
 delete mode 100644 db/migrate/20230224161346_add_saml_group_lock_to_application_settings.rb
 delete mode 100644 db/migrate/20230228092612_add_index_next_over_limit_check_at_asc_order_synchronously.rb
 delete mode 100644 db/migrate/20230228133011_add_design_description.rb
 delete mode 100644 db/migrate/20230228135034_add_design_description_limit.rb
 delete mode 100644 db/migrate/20230228142350_add_notifications_work_item_widget.rb
 delete mode 100644 db/migrate/20230228183644_add_partitioning_info_to_postgres_foreign_keys.rb
 delete mode 100644 db/migrate/20230228212427_add_index_user_details_on_user_id_for_enterprise_users_without_date.rb
 delete mode 100644 db/migrate/20230228212905_add_index_user_details_on_user_id_for_enterprise_users_with_date.rb
 delete mode 100644 db/migrate/20230303144424_unique_index_on_catalog_resources_project.rb
 delete mode 100644 db/migrate/20230303232426_add_role_approvers_to_scan_result_policies.rb
 delete mode 100644 db/migrate/20230306145230_add_product_analytics_data_collector_host_to_application_settings.rb
 delete mode 100644 db/migrate/20230307000000_create_design_management_repository.rb
 delete mode 100644 db/migrate/20230307091216_add_status_reporter_id_and_id_index_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230307122838_add_text_limit_to_application_settings_product_analytics_data_collector_host.rb
 delete mode 100644 db/migrate/20230307132729_create_schema_inconsistencies.rb
 delete mode 100644 db/migrate/20230307212637_remove_create_learn_gitlab_worker_job_instances.rb
 delete mode 100644 db/migrate/20230307233631_add_public_runner_release_version_fetch_setting.rb
 delete mode 100644 db/migrate/20230308154243_add_package_id_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230308154244_add_package_id_foreign_key_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230308154245_add_index_on_package_id_for_ml_candidates.rb
 delete mode 100644 db/migrate/20230308163018_create_container_registry_data_repair_details.rb
 delete mode 100644 db/migrate/20230309000957_add_external_identifiers_to_import_failures.rb
 delete mode 100644 db/migrate/20230313012226_create_search_indices.rb
 delete mode 100644 db/migrate/20230313012609_create_search_namespace_index_assignments.rb
 delete mode 100644 db/migrate/20230313014038_add_search_index_foreign_key_to_search_namespace_index_assignments.rb
 delete mode 100644 db/migrate/20230313031351_create_resource_link_events.rb
 delete mode 100644 db/migrate/20230313054226_add_status_created_at_and_updated_at_indexes_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230313092109_add_start_end_and_current_values_to_wi_progressess.rb
 delete mode 100644 db/migrate/20230313100920_add_gitlab_dedicated_instance_to_application_settings.rb
 delete mode 100644 db/migrate/20230313181536_create_packages_npm_metadata_caches.rb
 delete mode 100644 db/migrate/20230314094210_drop_index_from_webauthn_registrations_on_u2f_registration_id.rb
 delete mode 100644 db/migrate/20230315053635_add_screenshot_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230316093433_insert_daily_invites_trial_plan_limits.rb
 delete mode 100644 db/migrate/20230316095948_create_service_desk_custom_email_credentials.rb
 delete mode 100644 db/migrate/20230317162059_add_current_user_todos_work_item_widget.rb
 delete mode 100644 db/migrate/20230321085011_add_column_to_users_statistisc.rb
 delete mode 100644 db/migrate/20230321113956_add_indexes_to_merge_request_compliance_violations.rb
 delete mode 100644 db/migrate/20230321153304_rename_ml_candidates_iid_to_eid.rb
 delete mode 100644 db/migrate/20230321161218_add_project_access_token_limit_to_plan_limits.rb
 delete mode 100644 db/migrate/20230321161441_insert_project_access_token_limit.rb
 delete mode 100644 db/migrate/20230321162810_add_project_id_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230321162902_add_index_on_project_id_on_ml_candidates.rb
 delete mode 100644 db/migrate/20230321163051_add_project_id_foreign_key_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230321170734_add_internal_id_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230321170803_add_index_on_project_id_on_internal_id_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches.rb
 delete mode 100644 db/migrate/20230322151605_rerun_remove_invalid_deploy_access_level.rb
 delete mode 100644 db/migrate/20230322162512_add_valid_deploy_access_level_constraint.rb
 delete mode 100644 db/migrate/20230322164031_create_design_management_repository_states.rb
 delete mode 100644 db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb
 delete mode 100644 db/migrate/20230323101138_add_award_emoji_work_item_widget.rb
 delete mode 100644 db/migrate/20230323120601_create_dora_performance_scores.rb
 delete mode 100644 db/migrate/20230323140745_add_root_directory_to_pages_deployment.rb
 delete mode 100644 db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb
 delete mode 100644 db/migrate/20230323153042_track_push_rules_deletions.rb
 delete mode 100644 db/migrate/20230323153328_track_tags_deletions.rb
 delete mode 100644 db/migrate/20230323191750_add_shard_settings_to_search_indices.rb
 delete mode 100644 db/migrate/20230327074932_add_text_limit_to_abuse_reports_screenshot.rb
 delete mode 100644 db/migrate/20230327123333_backfill_product_analytics_data_collector_host.rb
 delete mode 100644 db/migrate/20230328020316_delete_unused_index_on_merge_requests_on_state_id_and_merge_status.rb
 delete mode 100644 db/migrate/20230328023535_initialize_conversion_of_award_emoji_awardable_id_to_bigint.rb
 delete mode 100644 db/migrate/20230328031720_initialize_conversion_of_events_target_id_to_bigint.rb
 delete mode 100644 db/migrate/20230328150343_add_retried_at_to_status_check_responses.rb
 delete mode 100644 db/migrate/20230328165313_add_disabled_following_to_user_preferences.rb
 delete mode 100644 db/migrate/20230329032129_add_lock_version_to_terraform_state.rb
 delete mode 100644 db/migrate/20230329085754_add_foreign_key_to_resource_link_events_on_user.rb
 delete mode 100644 db/migrate/20230329152410_add_achievements_enabled_to_user_preferences.rb
 delete mode 100644 db/migrate/20230329194244_add_index_packages_debian_file_metadata_when_unknown.rb
 delete mode 100644 db/migrate/20230329235300_add_diagramsnet_to_application_settings.rb
 delete mode 100644 db/migrate/20230330101438_create_fk_ml_candidate_params_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330101439_validate_fk_ml_candidate_params_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330101440_remove_old_fk_ml_candidate_params_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330101441_create_fk_ml_candidate_metrics_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330101442_validate_fk_ml_candidate_metrics_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330101443_remove_old_fk_ml_candidate_metrics_on_candidate_id.rb
 delete mode 100644 db/migrate/20230330215636_remove_unused_project_jira_indexes.rb
 delete mode 100644 db/migrate/20230331142006_add_open_ai_api_key_application_setting.rb
 delete mode 100644 db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
 delete mode 100644 db/migrate/20230403023441_set_max_running_batched_background_migrations_for_gitlab_com.rb
 delete mode 100644 db/migrate/20230403093349_ensure_packages_npm_metadata_caches_is_empty.rb
 delete mode 100644 db/migrate/20230403113620_add_pinned_nav_items_to_user_preference.rb
 delete mode 100644 db/migrate/20230403145705_add_purl_sync_to_settings.rb
 delete mode 100644 db/migrate/20230403164454_add_fork_storage_size_columns_to_root_storage_statistics.rb
 delete mode 100644 db/migrate/20230404111427_add_first_contribution_to_merge_request_metrics.rb
 delete mode 100644 db/migrate/20230404160131_add_status_to_data_repair_details.rb
 delete mode 100644 db/migrate/20230405071033_add_object_storage_key_to_packages_npm_metadata_caches.rb
 delete mode 100644 db/migrate/20230405102815_add_unique_namespace_index_to_storage_limit_exclusions.rb
 delete mode 100644 db/migrate/20230406040908_add_system_note_metadata_id__to_resource_link_events.rb
 delete mode 100644 db/migrate/20230406042906_add_unique_index_to_resource_link_events_on_system_note_metadata_id.rb
 delete mode 100644 db/migrate/20230406043900_add_system_note_metadata_foreign_key_to_resource_link_events.rb
 delete mode 100644 db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb
 delete mode 100644 db/migrate/20230406073847_validate_foreign_key_for_resource_link_events_on_system_note_metadata_id.rb
 delete mode 100644 db/migrate/20230406095544_add_pa_configurator_base_to_app_settings.rb
 delete mode 100644 db/migrate/20230406115900_add_diagramsnet_text_limit.rb
 delete mode 100644 db/migrate/20230406134436_add_identity_toggle_to_user_preferences.rb
 delete mode 100644 db/migrate/20230406150254_create_agent_user_access_project_authorizations_table.rb
 delete mode 100644 db/migrate/20230406150354_create_agent_user_access_group_authorizations_table.rb
 delete mode 100644 db/migrate/20230406150454_add_fks_to_agent_user_access_authorizations.rb
 delete mode 100644 db/migrate/20230407164616_add_code_suggestions_to_namespace_settings.rb
 delete mode 100644 db/migrate/20230410092450_add_product_analytics_instrumentation_key_to_project_settings.rb
 delete mode 100644 db/migrate/20230411171001_create_abuse_trust_scores.rb
 delete mode 100644 db/migrate/20230411205121_create_package_metadata_advisory_info.rb
 delete mode 100644 db/migrate/20230412073614_create_issue_assignment_events.rb
 delete mode 100644 db/migrate/20230412080242_add_concurrent_fk_to_issue_assignment_events.rb
 delete mode 100644 db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb
 delete mode 100644 db/migrate/20230412185920_validate_ci_job_artifacts_file_final_path.rb
 delete mode 100644 db/migrate/20230413080906_create_merge_request_assignment_events.rb
 delete mode 100644 db/migrate/20230413080918_add_concurrent_fk_to_merge_request_assignment_events.rb
 delete mode 100644 db/migrate/20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb
 delete mode 100644 db/migrate/20230414190012_add_product_analytics_to_project_settings.rb
 delete mode 100644 db/migrate/20230414230535_add_external_identifiers_index_to_import_failures.rb.rb
 delete mode 100644 db/migrate/20230417145900_add_visibility_pipeline_id_type_to_user_preferences.rb
 delete mode 100644 db/migrate/20230418183540_create_project_states.rb
 delete mode 100644 db/migrate/20230418215853_add_assignee_widget_to_incidents.rb
 delete mode 100644 db/migrate/20230419105225_remove_phabricator_from_application_settings.rb
 delete mode 100644 db/migrate/20230419130952_remove_github_import_job_instances.rb
 delete mode 100644 db/migrate/20230419192748_add_bot_user_id_to_security_orchestration_policy_configurations.rb
 delete mode 100644 db/migrate/20230419193807_add_foreign_key_for_bot_user_id_to_security_orchestration_policy_configurations.rb
 delete mode 100644 db/migrate/20230420012220_create_organizations.rb
 delete mode 100644 db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb
 delete mode 100644 db/migrate/20230420115733_add_ai_settings_to_namespace_settings.rb
 delete mode 100644 db/migrate/20230420131608_add_partitioned_vsd_counts_table.rb
 delete mode 100644 db/migrate/20230420132910_create_ci_ai_conversation.rb
 delete mode 100644 db/migrate/20230421035557_create_note_metadata.rb
 delete mode 100644 db/migrate/20230421081907_add_auth_type_to_jira_tracker_data.rb
 delete mode 100644 db/migrate/20230421124302_epic_boards_show_colors.rb
 delete mode 100644 db/migrate/20230421165020_add_ci_max_includes_to_application_settings.rb
 delete mode 100644 db/migrate/20230424094117_add_read_vulnerability_to_member_roles.rb
 delete mode 100644 db/migrate/20230424122236_add_ci_build_id_to_ml_candidate.rb
 delete mode 100644 db/migrate/20230424131551_add_index_on_ci_build_id_to_ml_candidates.rb
 delete mode 100644 db/migrate/20230424155321_add_licenses_field_to_package_metadata_packages.rb
 delete mode 100644 db/migrate/20230424194721_add_tofa_application_settings.rb
 delete mode 100644 db/migrate/20230425101542_remove_create_cross_project_pipeline_worker_job_instances.rb
 delete mode 100644 db/migrate/20230425173111_create_merge_request_diff_llm_summary.rb
 delete mode 100644 db/migrate/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal.rb
 delete mode 100644 db/migrate/20230426161259_add_user_foreign_key_to_merge_request_diff_llm_summary.rb
 delete mode 100644 db/migrate/20230426161341_add_merge_request_diff_foreign_key_to_merge_request_diff_llm_summary.rb
 delete mode 100644 db/migrate/20230427065641_initialize_conversion_of_ci_pipeline_variables.rb
 delete mode 100644 db/migrate/20230427094534_create_analytics_value_stream_dashboard_aggregations.rb
 delete mode 100644 db/migrate/20230428070443_add_allow_account_deletion_to_application_settings.rb
 delete mode 100644 db/migrate/20230428101217_create_abuse_report_events.rb
 delete mode 100644 db/migrate/20230428134334_delete_create_cross_project_pipeline_worker_job_instances.rb
 delete mode 100644 db/migrate/20230428165514_add_type_to_http_integrations.rb
 delete mode 100644 db/migrate/20230501111636_add_users_fk_to_abuse_report_events.rb
 delete mode 100644 db/migrate/20230501163253_add_remember_me_enabled_to_application_settings.rb
 delete mode 100644 db/migrate/20230502083003_add_abuse_reports_fk_to_abuse_report_events.rb
 delete mode 100644 db/migrate/20230503100753_add_version_format_and_data_type_to_checkpoints.rb
 delete mode 100644 db/migrate/20230503191056_add_text_limit_to_packages_npm_metadata_caches_object_storage_key.rb
 delete mode 100644 db/migrate/20230504084524_remove_gitlab_import_source.rb
 delete mode 100644 db/migrate/20230504112809_add_anthropic_api_key_application_setting.rb
 delete mode 100644 db/migrate/20230504182314_add_pa_configurator_base_to_project_settings.rb
 delete mode 100644 db/migrate/20230505115558_add_authors_and_description_to_nuget_metadatum.rb
 delete mode 100644 db/migrate/20230505122015_add_lock_version_to_milestones.rb
 delete mode 100644 db/migrate/20230507192028_create_audit_events_google_cloud_logging_configurations.rb
 delete mode 100644 db/migrate/20230508074515_add_google_cloud_logging_configuration_limit_to_plan_limits.rb
 delete mode 100644 db/migrate/20230508095017_add_project_shortcut_buttons_to_user_preferences.rb
 delete mode 100644 db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb
 delete mode 100644 db/migrate/20230509072635_drop_unused_sequence_by_recreating_vsa_table.rb
 delete mode 100644 db/migrate/20230509085428_change_organizations_sequence.rb
 delete mode 100644 db/migrate/20230509115525_add_name_to_organization.rb
 delete mode 100644 db/migrate/20230509131736_add_default_organization.rb
 delete mode 100644 db/migrate/20230509144234_delete_drop_older_deployments_worker_queues.rb
 delete mode 100644 db/migrate/20230510141454_add_user_id_to_import_failures.rb
 delete mode 100644 db/migrate/20230510142316_add_index_on_user_id_to_import_failures.rb
 delete mode 100644 db/migrate/20230510142931_add_foreign_key_for_user_id_to_import_failures.rb
 delete mode 100644 db/migrate/20230512141931_add_group_id_to_dependency_list_exports.rb
 delete mode 100644 db/migrate/20230515111314_add_text_limit_on_organization_name.rb
 delete mode 100644 db/migrate/20230516044606_add_organization_id_to_namespace.rb
 delete mode 100644 db/migrate/20230516045238_track_organization_record_changes.rb
 delete mode 100644 db/migrate/20230516045442_prepare_index_for_org_id_on_namespaces.rb
 delete mode 100644 db/migrate/20230516072100_add_vertex_project_to_application_settings.rb
 delete mode 100644 db/migrate/20230516080816_replace_vsd_index_with_nulls_first_order.rb
 delete mode 100644 db/migrate/20230516110414_add_ml_model_max_file_size_to_plan_limits.rb
 delete mode 100644 db/migrate/20230516115259_increase_correlation_id_size_limit_in_abuse_trust_scores.rb
 delete mode 100644 db/migrate/20230516125656_create_dependency_proxy_packages_settings.rb
 delete mode 100644 db/migrate/20230516175449_create_instance_audit_events_streaming_headers.rb
 delete mode 100644 db/migrate/20230516183736_add_container_registry_data_repair_worker_max_concurrency_to_application_settings.rb
 delete mode 100644 db/migrate/20230517090826_add_namespace_aggregation_schedule_lease_duration_to_application_settings.rb
 delete mode 100644 db/migrate/20230517151041_add_agent_id_column_to_environments.rb
 delete mode 100644 db/migrate/20230517151141_add_index_to_agent_id_column_environments.rb
 delete mode 100644 db/migrate/20230517151241_add_agent_id_foreign_key_to_environments.rb
 delete mode 100644 db/migrate/20230517182802_add_fields_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230517182958_add_foreign_key_constraints_to_abuse_reports.rb
 delete mode 100644 db/migrate/20230517183403_add_foreign_key_to_abuse_reports_for_assignee.rb
 delete mode 100644 db/migrate/20230519103034_truncate_schema_inconsistencies_table.rb
 delete mode 100644 db/migrate/20230519112106_add_diff_column_to_schema_inconsistencies.rb
 delete mode 100644 db/migrate/20230519135414_add_text_limit_for_diff.rb
 delete mode 100644 db/migrate/20230522103433_remove_git_hub_import_deprecated_workers.rb
 delete mode 100644 db/migrate/20230522132239_add_model_experiments_access_level_to_project_feature.rb
 delete mode 100644 db/migrate/20230522180913_create_abuse_events.rb
 delete mode 100644 db/migrate/20230522181134_add_foreign_key_constraints_to_abuse_events.rb
 delete mode 100644 db/migrate/20230522210320_add_admin_vulnerability_to_member_roles.rb
 delete mode 100644 db/migrate/20230523073455_add_new_async_index_table_name_length_constraint.rb
 delete mode 100644 db/migrate/20230523074248_validate_async_index_table_name_length_constraint.rb
 delete mode 100644 db/migrate/20230523074517_remove_old_async_index_table_name_length_constraint.rb
 delete mode 100644 db/migrate/20230523122242_add_encrypted_ai_access_token.rb
 delete mode 100644 db/migrate/20230523125430_add_dismissal_reason_to_vulnerability_read.rb
 delete mode 100644 db/migrate/20230524012641_add_vertex_ai_host_to_application_settings.rb
 delete mode 100644 db/migrate/20230524095108_remove_index_on_name_on_organization.rb
 delete mode 100644 db/migrate/20230524142655_add_enabled_zoekt_to_user_preferences.rb
 delete mode 100644 db/migrate/20230525064706_add_service_desk_enabled_to_service_desk_settings.rb
 delete mode 100644 db/migrate/20230529163335_add_show_in_cli_to_broadcast_message.rb
 delete mode 100644 db/migrate/20230529173607_add_id_column_to_pm_checkpoints.rb
 delete mode 100644 db/migrate/20230529182720_recreate_billable_index.rb
 delete mode 100644 db/migrate/20230529184716_recreated_activity_index.rb
 delete mode 100644 db/migrate/20230530003417_rename_tofa_settings.rb
 delete mode 100644 db/migrate/20230530112122_add_path_to_organizations.rb
 delete mode 100644 db/migrate/20230530112602_add_text_limit_on_organization_path.rb
 delete mode 100644 db/migrate/20230530162437_add_instance_code_suggestion_enabled_to_app_settings.rb
 delete mode 100644 db/migrate/20230531054422_add_index_on_packages_id_id_to_package_build_infos.rb
 delete mode 100644 db/migrate/20230531134916_create_subscription_add_ons.rb
 delete mode 100644 db/migrate/20230531135001_create_subscription_add_on_purchases.rb
 delete mode 100644 db/migrate/20230531142032_add_foreign_key_subscription_add_on_id_on_subscription_add_on_purchases.rb
 delete mode 100644 db/migrate/20230531142053_add_foreign_key_namespace_id_on_subscription_add_on_purchases.rb
 delete mode 100644 db/migrate/20230531164258_add_operator_value_interval_to_scan_result_policies.rb
 delete mode 100644 db/migrate/20230601035558_add_unconfirmed_user_deletion_to_application_settings.rb
 delete mode 100644 db/migrate/20230601084041_add_merge_request_diff_llm_summaries_unique_index.rb
 delete mode 100644 db/migrate/20230601085810_create_project_compliance_standards_adherence.rb
 delete mode 100644 db/migrate/20230601085815_add_fk_to_projects_compliance_standards_adherence_on_project_id.rb
 delete mode 100644 db/migrate/20230601085820_add_fk_to_projects_compliance_standards_adherence_on_namespace_id.rb
 delete mode 100644 db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb
 delete mode 100644 db/migrate/20230605043258_add_unconfirmed_created_at_index_to_users.rb
 delete mode 100644 db/migrate/20230605043814_add_trigram_index_for_vulnerability_reads_container_images.rb
 delete mode 100644 db/migrate/20230605095810_ensure_default_organization.rb
 delete mode 100644 db/migrate/20230606124754_add_default_branch_protections_json_to_application_settings.rb
 delete mode 100644 db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb
 delete mode 100644 db/migrate/20230606124855_add_size_constraint_to_namespace_settings_json.rb
 delete mode 100644 db/migrate/20230606124856_add_size_constraint_to_application_settings_json.rb
 delete mode 100644 db/migrate/20230606182433_add_enterprise_columns_to_user_details.rb
 delete mode 100644 db/migrate/20230607080200_add_limits_history_to_plan_limits.rb
 delete mode 100644 db/migrate/20230607101334_add_ci_job_annotations_table.rb
 delete mode 100644 db/migrate/20230607102017_add_index_on_ci_job_annotations.rb
 delete mode 100644 db/migrate/20230607102721_add_check_constraints_to_ci_job_annotations.rb
 delete mode 100644 db/migrate/20230607102731_create_ci_job_annotations_partitions.rb
 delete mode 100644 db/migrate/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances.rb
 delete mode 100644 db/migrate/20230609085234_add_gitlab_shell_operation_limit_to_application_settings.rb
 delete mode 100644 db/migrate/20230609115844_create_audit_events_streaming_instance_event_type_filters.rb
 delete mode 100644 db/migrate/20230612072807_add_vacuum_type_to_autovacuum_status.rb
 delete mode 100644 db/post_migrate/20221021082256_finish_reset_duplicate_ci_runners_token_values.rb
 delete mode 100644 db/post_migrate/20221021082257_add_unique_index_on_ci_runners_token.rb
 delete mode 100644 db/post_migrate/20221021082313_finish_reset_duplicate_ci_runners_token_encrypted_values.rb
 delete mode 100644 db/post_migrate/20221021082314_add_unique_index_on_ci_runners_token_encrypted.rb
 delete mode 100644 db/post_migrate/20221207135755_finalize_add_namespaces_emails_enabled_column_data.rb
 delete mode 100644 db/post_migrate/20221207135831_finalize_add_projects_emails_enabled_column_data.rb
 delete mode 100644 db/post_migrate/20230113201308_backfill_namespace_ldap_settings.rb
 delete mode 100644 db/post_migrate/20230118144623_schedule_migration_for_remediation.rb
 delete mode 100644 db/post_migrate/20230125195503_queue_backfill_compliance_violations.rb
 delete mode 100644 db/post_migrate/20230126101907_add_partition_index_to_web_hook_logs.rb
 delete mode 100644 db/post_migrate/20230130182412_schedule_create_vulnerability_links_migration.rb
 delete mode 100644 db/post_migrate/20230131184319_update_billable_users_index_for_service_accounts.rb
 delete mode 100644 db/post_migrate/20230202135758_queue_backfill_prepared_at_data.rb
 delete mode 100644 db/post_migrate/20230202211434_migrate_redis_slot_keys.rb
 delete mode 100644 db/post_migrate/20230208125736_schedule_migration_for_links.rb
 delete mode 100644 db/post_migrate/20230209222452_schedule_remove_project_group_link_with_missing_groups.rb
 delete mode 100644 db/post_migrate/20230213103019_add_index_for_next_over_limit_check_at.rb
 delete mode 100644 db/post_migrate/20230214181633_finalize_ci_build_needs_big_int_conversion.rb
 delete mode 100644 db/post_migrate/20230215213349_add_sync_index_on_packages_package_file_filename.rb
 delete mode 100644 db/post_migrate/20230216060333_prepare_async_foreign_key_validation_for_ci_build_trace_metadata.rb
 delete mode 100644 db/post_migrate/20230216191507_delete_incorrectly_onboarded_namespaces.rb
 delete mode 100644 db/post_migrate/20230216222956_add_sync_index_on_lfs_objects_file.rb
 delete mode 100644 db/post_migrate/20230216232404_add_sync_index_on_merge_request_diffs_external_diff.rb
 delete mode 100644 db/post_migrate/20230216233937_remove_application_settings_send_user_confirmation_email_column.rb
 delete mode 100644 db/post_migrate/20230218145930_add_index_users_on_updated_at.rb
 delete mode 100644 db/post_migrate/20230218145940_add_index_namespaces_on_updated_at.rb
 delete mode 100644 db/post_migrate/20230218152729_validate_fk_on_ci_job_artifacts_partition_id_and_job_id.rb
 delete mode 100644 db/post_migrate/20230218152730_remove_fk_to_ci_builds_ci_job_artifacts_on_job_id.rb
 delete mode 100644 db/post_migrate/20230219191034_add_pipeline_fk_to_vulnerability_state_transitions.rb
 delete mode 100644 db/post_migrate/20230220102212_swap_columns_ci_build_needs_big_int_conversion.rb
 delete mode 100644 db/post_migrate/20230220112930_replace_uniq_index_on_postgres_async_foreign_key_validations.rb
 delete mode 100644 db/post_migrate/20230220132409_validate_fk_on_ci_build_report_results_partition_id_and_build_id.rb
 delete mode 100644 db/post_migrate/20230220132410_remove_fk_to_ci_builds_ci_build_report_results_on_build_id.rb
 delete mode 100644 db/post_migrate/20230220134145_validate_fk_on_ci_build_needs_partition_id_and_build_id.rb
 delete mode 100644 db/post_migrate/20230220134146_remove_fk_to_ci_builds_ci_build_needs_on_build_id.rb
 delete mode 100644 db/post_migrate/20230220165240_add_index_to_approval_rules_on_scan_result_policy_id.rb
 delete mode 100644 db/post_migrate/20230221010522_prepare_async_foreign_key_validation_for_ci_sources_pipelines.rb
 delete mode 100644 db/post_migrate/20230221011750_prepare_async_foreign_key_validation_for_ci_job_variables.rb
 delete mode 100644 db/post_migrate/20230221093533_add_tmp_partial_index_on_vulnerability_report_types.rb
 delete mode 100644 db/post_migrate/20230221093535_add_sync_tmp_partial_index_on_vulnerability_report_types.rb
 delete mode 100644 db/post_migrate/20230221093536_schedule_migrate_shared_vulnerability_identifiers.rb
 delete mode 100644 db/post_migrate/20230221125148_add_fk_to_p_ci_builds_metadata_partitions_on_partition_id_and_build_id.rb
 delete mode 100644 db/post_migrate/20230221162222_raise_ci_variable_limits_on_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress.rb
 delete mode 100644 db/post_migrate/20230222035805_prepare_async_index_removal_of_token_for_ci_builds.rb
 delete mode 100644 db/post_migrate/20230222055510_remove_concurrent_index_on_token_encrypted_for_ci_builds.rb
 delete mode 100644 db/post_migrate/20230222101420_remove_fk_to_ci_build_ci_pending_build_on_build_id.rb
 delete mode 100644 db/post_migrate/20230222102421_remove_fk_to_ci_build_ci_running_build_on_build_id.rb
 delete mode 100644 db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb
 delete mode 100644 db/post_migrate/20230223065753_finalize_nullify_creator_id_of_orphaned_projects.rb
 delete mode 100644 db/post_migrate/20230223082752_schedule_fk_validation_for_p_ci_builds_metadata_partitions_and_ci_builds.rb
 delete mode 100644 db/post_migrate/20230223093704_add_foreign_key_on_creator_id_on_projects.rb
 delete mode 100644 db/post_migrate/20230224085743_update_issues_internal_id_scope.rb
 delete mode 100644 db/post_migrate/20230224144233_migrate_evidences_from_raw_metadata.rb
 delete mode 100644 db/post_migrate/20230227123949_validate_fk_on_ci_sources_pipelines_source_partition_id_and_source_job_id.rb
 delete mode 100644 db/post_migrate/20230227123950_remove_fk_to_ci_builds_ci_sources_pipelines_on_source_job_id.rb
 delete mode 100644 db/post_migrate/20230227151608_validate_fk_on_ci_build_trace_metadata_partition_id_and_build_id.rb
 delete mode 100644 db/post_migrate/20230227151609_remove_fk_to_ci_builds_ci_build_trace_metadata_on_build_id.rb
 delete mode 100644 db/post_migrate/20230227153231_validate_fk_on_ci_job_variables_partition_id_and_job_id.rb
 delete mode 100644 db/post_migrate/20230227153232_remove_fk_to_ci_builds_ci_job_variables_on_job_id.rb
 delete mode 100644 db/post_migrate/20230228021910_ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230228023014_swap_timelogs_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230301020246_ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230301020356_swap_merge_request_user_mentions_note_id_to_bigint.rb
 delete mode 100644 db/post_migrate/20230301065107_add_index_on_expired_unlocked_non_trace_job_artifacts.rb
 delete mode 100644 db/post_migrate/20230302090155_add_async_index_on_unlocked_non_trace_job_artifacts_expire_at.rb
 delete mode 100644 db/post_migrate/20230302123258_drop_runner_machines_constraint_on_ci_builds_metadata.rb
 delete mode 100644 db/post_migrate/20230302123259_ensure_ci_runner_machines_is_empty.rb
 delete mode 100644 db/post_migrate/20230302123301_add_index_on_runner_machine_id_on_runner_machine_builds.rb
 delete mode 100644 db/post_migrate/20230302163339_add_index_to_oauth_access_grants_application_id.rb
 delete mode 100644 db/post_migrate/20230302185739_queue_fix_vulnerability_reads_has_issues.rb
 delete mode 100644 db/post_migrate/20230303105806_queue_delete_orphaned_packages_dependencies.rb
 delete mode 100644 db/post_migrate/20230303120531_schedule_temporary_partitioning_indexes_removal.rb
 delete mode 100644 db/post_migrate/20230303154314_add_user_type_migration_indexes.rb
 delete mode 100644 db/post_migrate/20230304184416_drop_revokable_from_achievements.rb
 delete mode 100644 db/post_migrate/20230306071456_validate_partitioning_fk_on_p_ci_builds_metadata_partitions.rb
 delete mode 100644 db/post_migrate/20230306072532_add_partitioned_fk_to_p_ci_builds_metadata_on_partition_id_and_build_id.rb
 delete mode 100644 db/post_migrate/20230306082852_remove_fk_to_ci_builds_p_ci_builds_metadata_on_build_id.rb
 delete mode 100644 db/post_migrate/20230306143322_prepare_ci_builds_primary_key_for_partitioning.rb
 delete mode 100644 db/post_migrate/20230306195007_queue_backfill_project_wiki_repositories.rb
 delete mode 100644 db/post_migrate/20230307085644_track_ci_runner_machine_record_changes.rb
 delete mode 100644 db/post_migrate/20230307160251_rename_constraint_fk_rails_f601258b28_on_events_table.rb
 delete mode 100644 db/post_migrate/20230309010000_add_unique_index_mr_user_mentions_note_id_convert_to_bigint.rb
 delete mode 100644 db/post_migrate/20230309010931_add_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
 delete mode 100644 db/post_migrate/20230309020422_validate_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
 delete mode 100644 db/post_migrate/20230309071242_delete_security_policy_bot_users.rb
 delete mode 100644 db/post_migrate/20230309085547_prepare_ci_builds_constraints_for_list_partitioning.rb
 delete mode 100644 db/post_migrate/20230309103016_drop_id_partition_id_index_from_p_ci_build_metadata.rb
 delete mode 100644 db/post_migrate/20230310020356_swap_merge_request_user_mentions_note_id_to_bigint_2.rb
 delete mode 100644 db/post_migrate/20230310111859_recreate_user_type_migration_indexes.rb
 delete mode 100644 db/post_migrate/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug.rb
 delete mode 100644 db/post_migrate/20230313031629_ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230313133001_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230313142631_backfill_ml_candidates_package_id.rb
 delete mode 100644 db/post_migrate/20230313143033_swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230313150531_reschedule_migration_for_remediation.rb
 delete mode 100644 db/post_migrate/20230313184306_add_temp_index_for_software_license_cleanup.rb
 delete mode 100644 db/post_migrate/20230313185145_cleanup_orphan_software_licenses.rb
 delete mode 100644 db/post_migrate/20230314144640_reschedule_migration_for_links.rb
 delete mode 100644 db/post_migrate/20230314210657_set_email_confirmation_setting_from_soft_email_confirmation_ff.rb
 delete mode 100644 db/post_migrate/20230315084704_finalize_issues_iid_scoping_to_namespace.rb
 delete mode 100644 db/post_migrate/20230315161408_finalize_set_notifications_bigint_conversion_backfill.rb
 delete mode 100644 db/post_migrate/20230316014650_remove_index_on_events_action_async.rb
 delete mode 100644 db/post_migrate/20230316014651_remove_index_on_events_action.rb
 delete mode 100644 db/post_migrate/20230316073726_backfill_current_value_with_progress_work_item_progresses.rb
 delete mode 100644 db/post_migrate/20230316114426_swap_ci_runner_machine_builds_primary_key.rb
 delete mode 100644 db/post_migrate/20230316164917_remove_packages_events_package_id_fk.rb
 delete mode 100644 db/post_migrate/20230316185746_drop_packages_events_table.rb
 delete mode 100644 db/post_migrate/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation.rb
 delete mode 100644 db/post_migrate/20230317075852_add_tmp_unique_packages_index_when_debian.rb
 delete mode 100644 db/post_migrate/20230317080000_ensure_unique_debian_packages.rb
 delete mode 100644 db/post_migrate/20230317080137_add_unique_packages_index_when_debian.rb
 delete mode 100644 db/post_migrate/20230317151841_remove_from_to_state_constraint.rb
 delete mode 100644 db/post_migrate/20230317195228_prepare_async_sent_notifications_index.rb
 delete mode 100644 db/post_migrate/20230319105436_remove_member_role_download_code.rb
 delete mode 100644 db/post_migrate/20230320110802_add_index_to_vulnerability_findings_on_uuid.rb
 delete mode 100644 db/post_migrate/20230320155635_add_index_to_namespace_details.rb
 delete mode 100644 db/post_migrate/20230321003252_swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230321011529_ensure_vum_bigint_backfill_is_finished_for_gl_dot_com.rb
 delete mode 100644 db/post_migrate/20230321011903_swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230321024333_ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230321024903_swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230321095759_remove_namespaces_broadcast_messages_namespace_id_fk.rb
 delete mode 100644 db/post_migrate/20230321124837_remove_ci_builds_partition_id_default.rb
 delete mode 100644 db/post_migrate/20230321153035_add_package_id_created_at_desc_index_to_package_files.rb
 delete mode 100644 db/post_migrate/20230321153337_cleanup_ml_candidates_iid_rename.rb
 delete mode 100644 db/post_migrate/20230321163547_cleanup_conversion_big_int_ci_build_needs.rb
 delete mode 100644 db/post_migrate/20230321163947_backfill_ml_candidates_project_id.rb
 delete mode 100644 db/post_migrate/20230321170823_backfill_ml_candidates_internal_id.rb
 delete mode 100644 db/post_migrate/20230322011220_ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230322012209_swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230322023442_ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230322085041_remove_user_namespace_records_from_vsa_aggregation.rb
 delete mode 100644 db/post_migrate/20230322085852_validate_partitioning_constraint_on_ci_builds.rb
 delete mode 100644 db/post_migrate/20230322151635_cleanup_bigint_conversion_for_merge_request_metrics.rb
 delete mode 100644 db/post_migrate/20230322203927_change_user_type_default.rb
 delete mode 100644 db/post_migrate/20230323005730_add_unique_index_diff_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230323010111_add_fk_on_diff_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230323013251_async_validate_fk_note_diff_files_diff_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230323131521_remove_machine_id_from_builds_metadata.rb
 delete mode 100644 db/post_migrate/20230323153433_fix_application_setting_push_rule_id_fk.rb
 delete mode 100644 db/post_migrate/20230327103401_queue_migrate_human_user_type.rb
 delete mode 100644 db/post_migrate/20230327125705_add_index_to_vulnerability_finding_signatures_on_signature_sha.rb
 delete mode 100644 db/post_migrate/20230327144152_remove_ci_builds_partition_id_default_v2.rb
 delete mode 100644 db/post_migrate/20230328023554_backfill_award_emoji_awardable_id_for_bigint_conversion.rb
 delete mode 100644 db/post_migrate/20230328030101_add_secureflag_training_provider.rb
 delete mode 100644 db/post_migrate/20230328031838_backfill_events_target_id_for_bigint_conversion.rb
 delete mode 100644 db/post_migrate/20230328100534_truncate_error_tracking_tables.rb
 delete mode 100644 db/post_migrate/20230328111013_re_migrate_redis_slot_keys.rb
 delete mode 100644 db/post_migrate/20230328151756_prepare_async_index_for_security_scans_on_pipeline_id_and_scan_type.rb
 delete mode 100644 db/post_migrate/20230328184031_swap_sent_notifications_id_columns.rb
 delete mode 100644 db/post_migrate/20230329091107_truncate_p_ci_runner_machine_builds.rb
 delete mode 100644 db/post_migrate/20230329091300_swap_ci_runner_machine_builds_primary_key_v2.rb
 delete mode 100644 db/post_migrate/20230329100222_drop_software_licenses_temp_index.rb
 delete mode 100644 db/post_migrate/20230329163232_add_index_to_security_scans_on_pipeline_id_and_scan_type.rb
 delete mode 100644 db/post_migrate/20230330080731_remove_tmp_index_vuln_occurrences_on_report_type.rb
 delete mode 100644 db/post_migrate/20230330103104_reschedule_migrate_evidences.rb
 delete mode 100644 db/post_migrate/20230403023828_swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230403041642_ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230403041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2.rb
 delete mode 100644 db/post_migrate/20230403085958_add_sync_tmp_partial_index_on_vulnerability_report_types2.rb
 delete mode 100644 db/post_migrate/20230403190527_add_index_to_security_scans_on_scan_type.rb
 delete mode 100644 db/post_migrate/20230403221928_resync_scan_result_policies_for_namespaces.rb
 delete mode 100644 db/post_migrate/20230403231455_add_unique_index_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230403231841_add_fk_on_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230403232121_async_validate_fk_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230404023648_ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230404023915_swap_suggestions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230404030757_ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230404031041_swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230404044338_drop_async_index_ci_job_artifacts_on_expire_at_for_removal.rb
 delete mode 100644 db/post_migrate/20230404050414_remove_unused_merge_request_jira_indexes.rb
 delete mode 100644 db/post_migrate/20230404061832_drop_sync_index_ci_job_artifacts_on_expire_at_for_removal.rb
 delete mode 100644 db/post_migrate/20230404132544_prepare_async_index_for_override_uuids_logic.rb
 delete mode 100644 db/post_migrate/20230404194907_remove_mr_mentions_temp_index.rb
 delete mode 100644 db/post_migrate/20230404194908_remove_mr_state_id_temp_index.rb
 delete mode 100644 db/post_migrate/20230405072302_remove_p_ci_builds_metadata_partition_id_default.rb
 delete mode 100644 db/post_migrate/20230405094230_create_index_for_override_uuids_logic_on_vulnerability_occurrences.rb
 delete mode 100644 db/post_migrate/20230405132104_remove_saml_provider_and_identities_non_root_group.rb
 delete mode 100644 db/post_migrate/20230405132855_remove_scim_token_and_scim_identity_non_root_group.rb
 delete mode 100644 db/post_migrate/20230405200858_requeue_backfill_project_wiki_repositories.rb
 delete mode 100644 db/post_migrate/20230406041555_allow_null_file_md5_to_debian_project_component_files.rb
 delete mode 100644 db/post_migrate/20230406041629_allow_null_file_md5_to_debian_group_component_files.rb
 delete mode 100644 db/post_migrate/20230406093640_requeue_backfill_admin_mode_scope_for_personal_access_tokens.rb
 delete mode 100644 db/post_migrate/20230406121544_queue_backfill_design_management_repositories.rb
 delete mode 100644 db/post_migrate/20230410111251_async_validate_fk_projects_creator_id.rb
 delete mode 100644 db/post_migrate/20230410123709_validate_fk_projects_creator_id.rb
 delete mode 100644 db/post_migrate/20230411011959_add_temp_index_to_null_dismissed_info_vulnerabilities.rb
 delete mode 100644 db/post_migrate/20230411153310_cleanup_bigint_conversion_for_sent_notifications.rb
 delete mode 100644 db/post_migrate/20230412013251_ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230412104514_add_index_to_group_group_links.rb
 delete mode 100644 db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
 delete mode 100644 db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb
 delete mode 100644 db/post_migrate/20230412185837_queue_populate_vulnerability_dismissal_fields.rb
 delete mode 100644 db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb
 delete mode 100644 db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb
 delete mode 100644 db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb
 delete mode 100644 db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb
 delete mode 100644 db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb
 delete mode 100644 db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb
 delete mode 100644 db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb
 delete mode 100644 db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb
 delete mode 100644 db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb
 delete mode 100644 db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb
 delete mode 100644 db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb
 delete mode 100644 db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb
 delete mode 100644 db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb
 delete mode 100644 db/post_migrate/20230412214119_finalize_encrypt_ci_trigger_token.rb
 delete mode 100644 db/post_migrate/20230413012807_remove_index_sync_index_on_merge_requests_on_state_id_and_merge_status.rb
 delete mode 100644 db/post_migrate/20230413041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2.rb
 delete mode 100644 db/post_migrate/20230413041918_add_unique_index_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230413041919_add_fk_on_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230413041920_async_validate_fk_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230414075119_add_namespaces_by_top_level_namespace_index.rb
 delete mode 100644 db/post_migrate/20230414140202_add_issues_incident_type_temp_index_async_dot_com.rb
 delete mode 100644 db/post_migrate/20230414150202_add_issues_incident_type_temp_index.rb
 delete mode 100644 db/post_migrate/20230414200202_reschedule_incident_work_item_type_id_backfill.rb
 delete mode 100644 db/post_migrate/20230418154454_change_code_suggestions_default_in_namespace_settings.rb
 delete mode 100644 db/post_migrate/20230418164957_queue_update_code_suggestions_for_namespace_settings.rb
 delete mode 100644 db/post_migrate/20230419010332_ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230419010551_add_index_todos_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230419012426_add_fk_on_todos_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230419012621_async_validate_fk_todos_note_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230419094535_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts.rb
 delete mode 100644 db/post_migrate/20230419094939_swap_merge_request_metrics_id_to_bigint_for_self_hosts.rb
 delete mode 100644 db/post_migrate/20230419121943_add_namespaces_by_top_level_namespace_index_v2.rb
 delete mode 100644 db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb
 delete mode 100644 db/post_migrate/20230420002547_swap_todos_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230420005610_ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230420005930_swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230420041344_backfill_ci_pipelines_for_bigint_conversion.rb
 delete mode 100644 db/post_migrate/20230420065656_finalize_fix_incoherent_packages_size_on_project_statistics.rb
 delete mode 100644 db/post_migrate/20230420070009_drop_tmp_idx_package_files_on_non_zero_size.rb
 delete mode 100644 db/post_migrate/20230420120431_create_namespaces_by_top_level_namespace_index.rb
 delete mode 100644 db/post_migrate/20230420144418_drop_index_security_scans_on_pipeline_id.rb
 delete mode 100644 db/post_migrate/20230422013640_swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230425114355_remove_application_settings_clickhouse_connection_string.rb
 delete mode 100644 db/post_migrate/20230425521418_drop_merge_request_mentions_temp_index.rb
 delete mode 100644 db/post_migrate/20230426030342_index_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
 delete mode 100644 db/post_migrate/20230426085615_queue_backfill_resource_link_events.rb
 delete mode 100644 db/post_migrate/20230427065942_backfill_ci_pipeline_variables_for_bigint_conversion.rb
 delete mode 100644 db/post_migrate/20230427190005_drop_foreign_keys_from_cycle_analytics_unused_tables.rb
 delete mode 100644 db/post_migrate/20230427194552_drop_cycle_analytics_unused_tables.rb
 delete mode 100644 db/post_migrate/20230428065426_prepare_index_to_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
 delete mode 100644 db/post_migrate/20230428085332_remove_shimo_zentao_integration_records.rb
 delete mode 100644 db/post_migrate/20230501090213_convert_ci_builds_to_list_partitioning.rb
 delete mode 100644 db/post_migrate/20230501094322_prepare_removal_partial_index_deployments_for_project_id_and_tag.rb
 delete mode 100644 db/post_migrate/20230501165244_remove_software_license_policies_without_scan_result_policy_id.rb
 delete mode 100644 db/post_migrate/20230501180958_drop_clusters_applications_cert_managers.rb
 delete mode 100644 db/post_migrate/20230502014227_drop_partial_index_deployments_for_project_id_and_tag.rb
 delete mode 100644 db/post_migrate/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level.rb
 delete mode 100644 db/post_migrate/20230502102833_add_index_to_members_on_source_and_type_and_access_level.rb
 delete mode 100644 db/post_migrate/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level.rb
 delete mode 100644 db/post_migrate/20230502120022_add_index_to_project_authorizations_on_project_user_access_level.rb
 delete mode 100644 db/post_migrate/20230502134532_drop_clusters_applications_cilium.rb
 delete mode 100644 db/post_migrate/20230502182754_drop_clusters_applications_crossplane.rb
 delete mode 100644 db/post_migrate/20230502193525_drop_clusters_applications_helm.rb
 delete mode 100644 db/post_migrate/20230502201251_drop_clusters_applications_ingress.rb
 delete mode 100644 db/post_migrate/20230503032750_remove_redundant_index_from_container_repositories.rb
 delete mode 100644 db/post_migrate/20230503115918_drop_clusters_applications_jupyter.rb
 delete mode 100644 db/post_migrate/20230503152349_drop_clusters_applications_knative.rb
 delete mode 100644 db/post_migrate/20230503173101_drop_clusters_applications_prometheus.rb
 delete mode 100644 db/post_migrate/20230503175406_drop_clusters_applications_runners.rb
 delete mode 100644 db/post_migrate/20230503181808_drop_serverless_domain_cluster.rb
 delete mode 100644 db/post_migrate/20230504010535_ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230508034422_notes_bigint_create_indexes_async_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230508093910_create_package_manager_name_index.rb
 delete mode 100644 db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb
 delete mode 100644 db/post_migrate/20230508175057_backfill_corrected_secure_files_expirations.rb
 delete mode 100644 db/post_migrate/20230510013754_cleanup_notes_bigint_preparation.rb
 delete mode 100644 db/post_migrate/20230510062503_queue_cleanup_personal_access_tokens_with_nil_expires_at.rb
 delete mode 100644 db/post_migrate/20230510130050_remove_ci_triggers_ref_column.rb
 delete mode 100644 db/post_migrate/20230510152153_remove_mr_state_id_temp_index_with_right_column.rb
 delete mode 100644 db/post_migrate/20230511132140_create_component_id_index.rb
 delete mode 100644 db/post_migrate/20230512023321_prepare_audit_events_group_index.rb
 delete mode 100644 db/post_migrate/20230512104238_add_audit_events_group_index.rb
 delete mode 100644 db/post_migrate/20230512143000_remove_dependency_list_exports_project_id_not_null_constraint.rb
 delete mode 100644 db/post_migrate/20230515101208_index_group_id_on_dependency_list_exports.rb
 delete mode 100644 db/post_migrate/20230515102353_add_foreign_key_to_group_id_on_dependency_list_exports.rb
 delete mode 100644 db/post_migrate/20230515142300_add_unique_index_for_ml_model_packages.rb
 delete mode 100644 db/post_migrate/20230515153600_finalize_back_fill_prepared_at_merge_requests.rb
 delete mode 100644 db/post_migrate/20230516032545_add_unique_notes_id_convert_to_bigint_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230516033729_add_referencing_bigint_fks_for_notes_on_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230516123202_create_routing_table_for_ci_builds.rb
 delete mode 100644 db/post_migrate/20230516172446_prepare_issues_work_item_type_id_project_id_index.rb
 delete mode 100644 db/post_migrate/20230516192543_add_issues_work_item_type_id_project_id_index.rb
 delete mode 100644 db/post_migrate/20230517001535_prepare_async_index_for_ci_pipeline_variables_bigint_id.rb
 delete mode 100644 db/post_migrate/20230517005523_ensure_backfill_bigint_id_is_completed.rb
 delete mode 100644 db/post_migrate/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes.rb
 delete mode 100644 db/post_migrate/20230518005523_add_concurrent_index_for_ci_pipeline_variables_bigint_id.rb
 delete mode 100644 db/post_migrate/20230518071251_queue_backfill_code_suggestions_namespace_settings.rb
 delete mode 100644 db/post_migrate/20230518121320_remove_time_format_in_24h_column.rb
 delete mode 100644 db/post_migrate/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups.rb
 delete mode 100644 db/post_migrate/20230519023720_swap_ci_pipeline_variables_pk_with_bigint.rb
 delete mode 100644 db/post_migrate/20230521521419_drop_merge_request_state_id_temp_index.rb
 delete mode 100644 db/post_migrate/20230522073230_add_not_null_constraint_to_personal_access_tokens_expires_at.rb
 delete mode 100644 db/post_migrate/20230522111534_reschedule_migration_for_links_from_metadata.rb
 delete mode 100644 db/post_migrate/20230522220709_ensure_incident_work_item_type_backfill_is_finished.rb
 delete mode 100644 db/post_migrate/20230522225610_remove_tmp_index_issues_on_issue_type_and_id_only_incidents.rb
 delete mode 100644 db/post_migrate/20230523125245_remove_project_ci_cd_setting_opt_in_jwt_column.rb
 delete mode 100644 db/post_migrate/20230523131914_recreate_index_on_vulnerability_reads.rb
 delete mode 100644 db/post_migrate/20230523132647_recreate_index_on_vulnerability_reads2.rb
 delete mode 100644 db/post_migrate/20230523210653_remove_file_md5_from_debian_project_component_files.rb
 delete mode 100644 db/post_migrate/20230523210758_remove_file_md5_from_debian_group_component_files.rb
 delete mode 100644 db/post_migrate/20230524093249_add_async_index_to_vsa_issues.rb
 delete mode 100644 db/post_migrate/20230524093355_add_async_index_to_vsa_mrs.rb
 delete mode 100644 db/post_migrate/20230524120241_add_temp_index_to_packages_on_project_id_when_npm_and_not_pending_destruction.rb
 delete mode 100644 db/post_migrate/20230524135543_replace_ci_build_pending_states_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135555_replace_ci_build_trace_chunks_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135607_replace_ci_unit_test_failures_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135620_replace_ci_sources_pipelines_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135632_replace_ci_resources_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135645_replace_ci_build_report_results_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135658_replace_ci_build_needs_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135711_replace_ci_builds_runner_session_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135724_replace_ci_pending_builds_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135737_replace_ci_build_trace_metadata_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135750_replace_ci_job_artifacts_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135803_replace_ci_running_builds_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135815_replace_ci_job_variables_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135828_replace_p_ci_builds_metadata_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524135840_replace_p_ci_runner_machine_builds_foreign_key.rb
 delete mode 100644 db/post_migrate/20230524150232_remove_index_user_details_on_user_id_for_enterprise_users_without_date.rb
 delete mode 100644 db/post_migrate/20230524150438_remove_index_user_details_on_user_id_for_enterprise_users_with_date.rb
 delete mode 100644 db/post_migrate/20230524201454_queue_mark_duplicate_npm_packages_for_destruction.rb
 delete mode 100644 db/post_migrate/20230525180605_add_index_work_item_types_on_base_type_id.rb
 delete mode 100644 db/post_migrate/20230529183648_remove_temporary_billable_index.rb
 delete mode 100644 db/post_migrate/20230529185110_cleanup_temporary_activity_index.rb
 delete mode 100644 db/post_migrate/20230530003634_cleanup_tofa_settings.rb
 delete mode 100644 db/post_migrate/20230530015535_swap_notes_id_to_bigint_for_gitlab_dot_com.rb
 delete mode 100644 db/post_migrate/20230530100400_change_user_type_null.rb
 delete mode 100644 db/post_migrate/20230530114845_cleanup_organizations_with_null_path.rb
 delete mode 100644 db/post_migrate/20230530115830_remove_default_on_organization_path.rb
 delete mode 100644 db/post_migrate/20230530140456_validate_fk_ci_build_pending_states_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140509_validate_fk_ci_build_trace_chunks_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140521_validate_fk_ci_unit_test_failures_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140534_validate_fk_ci_sources_pipelines_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140546_validate_fk_ci_resources_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140558_validate_fk_ci_build_report_results_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140611_validate_fk_ci_build_needs_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140623_validate_fk_ci_builds_runner_session_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140634_validate_fk_ci_pending_builds_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230530140646_validate_fk_ci_build_trace_metadata_p_ci_builds.rb
 delete mode 100644 db/post_migrate/20230531165731_drop_index_issues_on_work_item_type_id.rb
 delete mode 100644 db/post_migrate/20230601184234_drop_unnecessary_async_index_from_events.rb
 delete mode 100644 db/post_migrate/20230602063059_remove_broadcast_messages_namespace_id_column.rb
 delete mode 100644 db/post_migrate/20230602112904_change_user_preferences_defaults.rb
 delete mode 100644 db/post_migrate/20230602131429_change_notified_of_own_activity_default.rb
 delete mode 100644 db/post_migrate/20230605085936_add_new_index_to_vsa_issue_stage_events.rb
 delete mode 100644 db/post_migrate/20230605085957_add_new_index_to_vsa_mr_stage_events.rb
 delete mode 100644 db/post_migrate/20230605093005_add_index_for_sbom_occurrences_on_project_id_source_id.rb
 delete mode 100644 db/post_migrate/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null.rb
 delete mode 100644 db/post_migrate/20230606183327_add_index_user_details_on_enterprise_group_id.rb
 delete mode 100644 db/post_migrate/20230606193037_create_index_alert_management_alerts_on_created_at_project_id_with_issue.rb
 delete mode 100644 db/post_migrate/20230607093222_remove_webauthn_registrations_u2f_registration_id_column.rb
 delete mode 100644 db/post_migrate/20230607165632_remove_fk_on_project_id_on_project_wiki_repository_states.rb
 delete mode 100644 db/post_migrate/20230607165718_drop_project_wiki_repository_states.rb
 delete mode 100644 db/post_migrate/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at.rb
 delete mode 100644 db/post_migrate/20230608081257_delete_index_members_on_source_id_and_source_type.rb
 delete mode 100644 db/post_migrate/20230608081924_delete_index_unique_project_authorizations_on_project_id_user_id.rb
 delete mode 100644 db/post_migrate/20230608101503_add_ci_job_annotations_foreign_key.rb
 delete mode 100644 db/post_migrate/20230608231452_cleanup_bigint_conversion_for_todos_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230608232452_cleanup_bigint_conversion_for_system_note_metadata_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230608233452_cleanup_bigint_conversion_for_epic_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230608234452_cleanup_bigint_conversion_for_suggestions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230608235452_cleanup_bigint_conversion_for_issue_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609000452_cleanup_bigint_conversion_for_note_diff_files_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609001452_cleanup_bigint_conversion_for_snippet_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609002452_cleanup_bigint_conversion_for_design_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609003452_cleanup_bigint_conversion_for_vulnerability_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609004452_cleanup_bigint_conversion_for_commit_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609005452_cleanup_bigint_conversion_for_merge_request_user_mentions_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609010452_cleanup_bigint_conversion_for_timelogs_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230609011452_cleanup_bigint_conversion_for_award_emoji_for_gitlab_com.rb
 delete mode 100644 db/post_migrate/20230612075608_replace_ci_job_artifacts_foreign_key_v2.rb
 delete mode 100644 db/post_migrate/20230612083337_replace_ci_running_builds_foreign_key_v2.rb
 delete mode 100644 db/post_migrate/20230612083655_replace_ci_job_variables_foreign_key_v2.rb
 delete mode 100644 db/post_migrate/20230612083810_replace_p_ci_builds_metadata_foreign_key_v2.rb
 delete mode 100644 db/post_migrate/20230612084013_replace_p_ci_runner_machine_builds_foreign_key_v2.rb
 delete mode 100644 db/post_migrate/20230612162643_pm_checkpoints_remove_advisory_entries.rb
 delete mode 100644 db/post_migrate/20230614073136_restore_index_for_contribution_analytics_events.rb
 delete mode 100644 db/post_migrate/20230614181637_add_idx_issues_on_work_item_type_project_closed_at_where_closed.rb
 delete mode 100644 db/post_migrate/20230615083713_replace_old_fk_ci_build_pending_states_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083715_replace_old_fk_ci_build_trace_chunks_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083720_replace_old_fk_ci_unit_test_failures_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083725_replace_old_fk_ci_sources_pipelines_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083730_replace_old_fk_ci_resources_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083734_replace_old_fk_ci_build_report_results_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083738_replace_old_fk_ci_build_needs_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083741_replace_old_fk_ci_builds_runner_session_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083744_replace_old_fk_ci_pending_builds_to_builds.rb
 delete mode 100644 db/post_migrate/20230615083748_replace_old_fk_ci_build_trace_metadata_to_builds.rb
 delete mode 100644 db/post_migrate/20230615202125_prepare_index_issues_on_project_health_status_asc_work_item_type.rb
 delete mode 100644 db/post_migrate/20230615202511_prepare_index_issues_on_project_health_status_desc_work_item_type.rb
 delete mode 100644 db/schema_migrations/20221021082256
 delete mode 100644 db/schema_migrations/20221021082257
 delete mode 100644 db/schema_migrations/20221021082313
 delete mode 100644 db/schema_migrations/20221021082314
 delete mode 100644 db/schema_migrations/20221207135755
 delete mode 100644 db/schema_migrations/20221207135831
 delete mode 100644 db/schema_migrations/20221225010101
 delete mode 100644 db/schema_migrations/20221225010102
 delete mode 100644 db/schema_migrations/20221225010103
 delete mode 100644 db/schema_migrations/20221225010104
 delete mode 100644 db/schema_migrations/20221225010105
 delete mode 100644 db/schema_migrations/20221225010106
 delete mode 100644 db/schema_migrations/20221229172604
 delete mode 100644 db/schema_migrations/20230113164245
 delete mode 100644 db/schema_migrations/20230113201308
 delete mode 100644 db/schema_migrations/20230118135145
 delete mode 100644 db/schema_migrations/20230118144623
 delete mode 100644 db/schema_migrations/20230125195503
 delete mode 100644 db/schema_migrations/20230126101907
 delete mode 100644 db/schema_migrations/20230127024835
 delete mode 100644 db/schema_migrations/20230127030015
 delete mode 100644 db/schema_migrations/20230130182412
 delete mode 100644 db/schema_migrations/20230131184319
 delete mode 100644 db/schema_migrations/20230201165656
 delete mode 100644 db/schema_migrations/20230202094723
 delete mode 100644 db/schema_migrations/20230202135758
 delete mode 100644 db/schema_migrations/20230202211434
 delete mode 100644 db/schema_migrations/20230207002330
 delete mode 100644 db/schema_migrations/20230208125736
 delete mode 100644 db/schema_migrations/20230209222452
 delete mode 100644 db/schema_migrations/20230210152109
 delete mode 100644 db/schema_migrations/20230210153420
 delete mode 100644 db/schema_migrations/20230210155715
 delete mode 100644 db/schema_migrations/20230210160037
 delete mode 100644 db/schema_migrations/20230210160351
 delete mode 100644 db/schema_migrations/20230210161002
 delete mode 100644 db/schema_migrations/20230210171012
 delete mode 100644 db/schema_migrations/20230213103019
 delete mode 100644 db/schema_migrations/20230213213559
 delete mode 100644 db/schema_migrations/20230214181633
 delete mode 100644 db/schema_migrations/20230215074223
 delete mode 100644 db/schema_migrations/20230215124011
 delete mode 100644 db/schema_migrations/20230215131026
 delete mode 100644 db/schema_migrations/20230215180605
 delete mode 100644 db/schema_migrations/20230215213349
 delete mode 100644 db/schema_migrations/20230216040505
 delete mode 100644 db/schema_migrations/20230216060333
 delete mode 100644 db/schema_migrations/20230216071312
 delete mode 100644 db/schema_migrations/20230216142836
 delete mode 100644 db/schema_migrations/20230216144719
 delete mode 100644 db/schema_migrations/20230216152912
 delete mode 100644 db/schema_migrations/20230216171309
 delete mode 100644 db/schema_migrations/20230216191507
 delete mode 100644 db/schema_migrations/20230216222956
 delete mode 100644 db/schema_migrations/20230216232404
 delete mode 100644 db/schema_migrations/20230216233937
 delete mode 100644 db/schema_migrations/20230217065736
 delete mode 100644 db/schema_migrations/20230217144421
 delete mode 100644 db/schema_migrations/20230217232554
 delete mode 100644 db/schema_migrations/20230218145930
 delete mode 100644 db/schema_migrations/20230218145940
 delete mode 100644 db/schema_migrations/20230218152729
 delete mode 100644 db/schema_migrations/20230218152730
 delete mode 100644 db/schema_migrations/20230219191034
 delete mode 100644 db/schema_migrations/20230220035034
 delete mode 100644 db/schema_migrations/20230220102212
 delete mode 100644 db/schema_migrations/20230220112930
 delete mode 100644 db/schema_migrations/20230220132409
 delete mode 100644 db/schema_migrations/20230220132410
 delete mode 100644 db/schema_migrations/20230220134145
 delete mode 100644 db/schema_migrations/20230220134146
 delete mode 100644 db/schema_migrations/20230220163141
 delete mode 100644 db/schema_migrations/20230220165240
 delete mode 100644 db/schema_migrations/20230221010522
 delete mode 100644 db/schema_migrations/20230221011750
 delete mode 100644 db/schema_migrations/20230221093533
 delete mode 100644 db/schema_migrations/20230221093535
 delete mode 100644 db/schema_migrations/20230221093536
 delete mode 100644 db/schema_migrations/20230221110256
 delete mode 100644 db/schema_migrations/20230221125148
 delete mode 100644 db/schema_migrations/20230221162222
 delete mode 100644 db/schema_migrations/20230221214519
 delete mode 100644 db/schema_migrations/20230222035805
 delete mode 100644 db/schema_migrations/20230222055510
 delete mode 100644 db/schema_migrations/20230222101420
 delete mode 100644 db/schema_migrations/20230222102421
 delete mode 100644 db/schema_migrations/20230222131512
 delete mode 100644 db/schema_migrations/20230222153048
 delete mode 100644 db/schema_migrations/20230222161226
 delete mode 100644 db/schema_migrations/20230222161954
 delete mode 100644 db/schema_migrations/20230222193845
 delete mode 100644 db/schema_migrations/20230223014251
 delete mode 100644 db/schema_migrations/20230223065753
 delete mode 100644 db/schema_migrations/20230223082752
 delete mode 100644 db/schema_migrations/20230223093704
 delete mode 100644 db/schema_migrations/20230224085743
 delete mode 100644 db/schema_migrations/20230224130315
 delete mode 100644 db/schema_migrations/20230224144233
 delete mode 100644 db/schema_migrations/20230224161346
 delete mode 100644 db/schema_migrations/20230227123949
 delete mode 100644 db/schema_migrations/20230227123950
 delete mode 100644 db/schema_migrations/20230227151608
 delete mode 100644 db/schema_migrations/20230227151609
 delete mode 100644 db/schema_migrations/20230227153231
 delete mode 100644 db/schema_migrations/20230227153232
 delete mode 100644 db/schema_migrations/20230228021910
 delete mode 100644 db/schema_migrations/20230228023014
 delete mode 100644 db/schema_migrations/20230228092612
 delete mode 100644 db/schema_migrations/20230228133011
 delete mode 100644 db/schema_migrations/20230228135034
 delete mode 100644 db/schema_migrations/20230228142350
 delete mode 100644 db/schema_migrations/20230228183644
 delete mode 100644 db/schema_migrations/20230228212427
 delete mode 100644 db/schema_migrations/20230228212905
 delete mode 100644 db/schema_migrations/20230301020246
 delete mode 100644 db/schema_migrations/20230301020356
 delete mode 100644 db/schema_migrations/20230301065107
 delete mode 100644 db/schema_migrations/20230302090155
 delete mode 100644 db/schema_migrations/20230302123258
 delete mode 100644 db/schema_migrations/20230302123259
 delete mode 100644 db/schema_migrations/20230302123301
 delete mode 100644 db/schema_migrations/20230302163339
 delete mode 100644 db/schema_migrations/20230302185739
 delete mode 100644 db/schema_migrations/20230303105806
 delete mode 100644 db/schema_migrations/20230303120531
 delete mode 100644 db/schema_migrations/20230303144424
 delete mode 100644 db/schema_migrations/20230303154314
 delete mode 100644 db/schema_migrations/20230303232426
 delete mode 100644 db/schema_migrations/20230304184416
 delete mode 100644 db/schema_migrations/20230306071456
 delete mode 100644 db/schema_migrations/20230306072532
 delete mode 100644 db/schema_migrations/20230306082852
 delete mode 100644 db/schema_migrations/20230306143322
 delete mode 100644 db/schema_migrations/20230306145230
 delete mode 100644 db/schema_migrations/20230306195007
 delete mode 100644 db/schema_migrations/20230307000000
 delete mode 100644 db/schema_migrations/20230307085644
 delete mode 100644 db/schema_migrations/20230307091216
 delete mode 100644 db/schema_migrations/20230307122838
 delete mode 100644 db/schema_migrations/20230307132729
 delete mode 100644 db/schema_migrations/20230307160251
 delete mode 100644 db/schema_migrations/20230307212637
 delete mode 100644 db/schema_migrations/20230307233631
 delete mode 100644 db/schema_migrations/20230308154243
 delete mode 100644 db/schema_migrations/20230308154244
 delete mode 100644 db/schema_migrations/20230308154245
 delete mode 100644 db/schema_migrations/20230308163018
 delete mode 100644 db/schema_migrations/20230309000957
 delete mode 100644 db/schema_migrations/20230309010000
 delete mode 100644 db/schema_migrations/20230309010931
 delete mode 100644 db/schema_migrations/20230309020422
 delete mode 100644 db/schema_migrations/20230309071242
 delete mode 100644 db/schema_migrations/20230309085547
 delete mode 100644 db/schema_migrations/20230309103016
 delete mode 100644 db/schema_migrations/20230310020356
 delete mode 100644 db/schema_migrations/20230310111859
 delete mode 100644 db/schema_migrations/20230310213308
 delete mode 100644 db/schema_migrations/20230313012226
 delete mode 100644 db/schema_migrations/20230313012609
 delete mode 100644 db/schema_migrations/20230313014038
 delete mode 100644 db/schema_migrations/20230313031351
 delete mode 100644 db/schema_migrations/20230313031629
 delete mode 100644 db/schema_migrations/20230313054226
 delete mode 100644 db/schema_migrations/20230313092109
 delete mode 100644 db/schema_migrations/20230313100920
 delete mode 100644 db/schema_migrations/20230313133001
 delete mode 100644 db/schema_migrations/20230313142631
 delete mode 100644 db/schema_migrations/20230313143033
 delete mode 100644 db/schema_migrations/20230313150531
 delete mode 100644 db/schema_migrations/20230313181536
 delete mode 100644 db/schema_migrations/20230313184306
 delete mode 100644 db/schema_migrations/20230313185145
 delete mode 100644 db/schema_migrations/20230314094210
 delete mode 100644 db/schema_migrations/20230314144640
 delete mode 100644 db/schema_migrations/20230314210657
 delete mode 100644 db/schema_migrations/20230315053635
 delete mode 100644 db/schema_migrations/20230315084704
 delete mode 100644 db/schema_migrations/20230315161408
 delete mode 100644 db/schema_migrations/20230316014650
 delete mode 100644 db/schema_migrations/20230316014651
 delete mode 100644 db/schema_migrations/20230316073726
 delete mode 100644 db/schema_migrations/20230316093433
 delete mode 100644 db/schema_migrations/20230316095948
 delete mode 100644 db/schema_migrations/20230316114426
 delete mode 100644 db/schema_migrations/20230316164917
 delete mode 100644 db/schema_migrations/20230316185746
 delete mode 100644 db/schema_migrations/20230317004428
 delete mode 100644 db/schema_migrations/20230317075852
 delete mode 100644 db/schema_migrations/20230317080000
 delete mode 100644 db/schema_migrations/20230317080137
 delete mode 100644 db/schema_migrations/20230317151841
 delete mode 100644 db/schema_migrations/20230317162059
 delete mode 100644 db/schema_migrations/20230317195228
 delete mode 100644 db/schema_migrations/20230319105436
 delete mode 100644 db/schema_migrations/20230320110802
 delete mode 100644 db/schema_migrations/20230320155635
 delete mode 100644 db/schema_migrations/20230321003252
 delete mode 100644 db/schema_migrations/20230321011529
 delete mode 100644 db/schema_migrations/20230321011903
 delete mode 100644 db/schema_migrations/20230321024333
 delete mode 100644 db/schema_migrations/20230321024903
 delete mode 100644 db/schema_migrations/20230321085011
 delete mode 100644 db/schema_migrations/20230321095759
 delete mode 100644 db/schema_migrations/20230321113956
 delete mode 100644 db/schema_migrations/20230321124837
 delete mode 100644 db/schema_migrations/20230321153035
 delete mode 100644 db/schema_migrations/20230321153304
 delete mode 100644 db/schema_migrations/20230321153337
 delete mode 100644 db/schema_migrations/20230321161218
 delete mode 100644 db/schema_migrations/20230321161441
 delete mode 100644 db/schema_migrations/20230321162810
 delete mode 100644 db/schema_migrations/20230321162902
 delete mode 100644 db/schema_migrations/20230321163051
 delete mode 100644 db/schema_migrations/20230321163547
 delete mode 100644 db/schema_migrations/20230321163947
 delete mode 100644 db/schema_migrations/20230321170734
 delete mode 100644 db/schema_migrations/20230321170803
 delete mode 100644 db/schema_migrations/20230321170823
 delete mode 100644 db/schema_migrations/20230322011220
 delete mode 100644 db/schema_migrations/20230322012209
 delete mode 100644 db/schema_migrations/20230322023442
 delete mode 100644 db/schema_migrations/20230322085041
 delete mode 100644 db/schema_migrations/20230322085852
 delete mode 100644 db/schema_migrations/20230322145403
 delete mode 100644 db/schema_migrations/20230322151605
 delete mode 100644 db/schema_migrations/20230322151635
 delete mode 100644 db/schema_migrations/20230322162512
 delete mode 100644 db/schema_migrations/20230322164031
 delete mode 100644 db/schema_migrations/20230322203927
 delete mode 100644 db/schema_migrations/20230323005730
 delete mode 100644 db/schema_migrations/20230323010111
 delete mode 100644 db/schema_migrations/20230323013251
 delete mode 100644 db/schema_migrations/20230323021618
 delete mode 100644 db/schema_migrations/20230323101138
 delete mode 100644 db/schema_migrations/20230323120601
 delete mode 100644 db/schema_migrations/20230323131521
 delete mode 100644 db/schema_migrations/20230323140745
 delete mode 100644 db/schema_migrations/20230323140746
 delete mode 100644 db/schema_migrations/20230323153042
 delete mode 100644 db/schema_migrations/20230323153328
 delete mode 100644 db/schema_migrations/20230323153433
 delete mode 100644 db/schema_migrations/20230323191750
 delete mode 100644 db/schema_migrations/20230327074932
 delete mode 100644 db/schema_migrations/20230327103401
 delete mode 100644 db/schema_migrations/20230327123333
 delete mode 100644 db/schema_migrations/20230327125705
 delete mode 100644 db/schema_migrations/20230327144152
 delete mode 100644 db/schema_migrations/20230328020316
 delete mode 100644 db/schema_migrations/20230328023535
 delete mode 100644 db/schema_migrations/20230328023554
 delete mode 100644 db/schema_migrations/20230328030101
 delete mode 100644 db/schema_migrations/20230328031720
 delete mode 100644 db/schema_migrations/20230328031838
 delete mode 100644 db/schema_migrations/20230328100534
 delete mode 100644 db/schema_migrations/20230328111013
 delete mode 100644 db/schema_migrations/20230328150343
 delete mode 100644 db/schema_migrations/20230328151756
 delete mode 100644 db/schema_migrations/20230328165313
 delete mode 100644 db/schema_migrations/20230328184031
 delete mode 100644 db/schema_migrations/20230329032129
 delete mode 100644 db/schema_migrations/20230329085754
 delete mode 100644 db/schema_migrations/20230329091107
 delete mode 100644 db/schema_migrations/20230329091300
 delete mode 100644 db/schema_migrations/20230329100222
 delete mode 100644 db/schema_migrations/20230329152410
 delete mode 100644 db/schema_migrations/20230329163232
 delete mode 100644 db/schema_migrations/20230329194244
 delete mode 100644 db/schema_migrations/20230329235300
 delete mode 100644 db/schema_migrations/20230330080731
 delete mode 100644 db/schema_migrations/20230330101438
 delete mode 100644 db/schema_migrations/20230330101439
 delete mode 100644 db/schema_migrations/20230330101440
 delete mode 100644 db/schema_migrations/20230330101441
 delete mode 100644 db/schema_migrations/20230330101442
 delete mode 100644 db/schema_migrations/20230330101443
 delete mode 100644 db/schema_migrations/20230330103104
 delete mode 100644 db/schema_migrations/20230330215636
 delete mode 100644 db/schema_migrations/20230331142006
 delete mode 100644 db/schema_migrations/20230403023440
 delete mode 100644 db/schema_migrations/20230403023441
 delete mode 100644 db/schema_migrations/20230403023828
 delete mode 100644 db/schema_migrations/20230403041642
 delete mode 100644 db/schema_migrations/20230403041917
 delete mode 100644 db/schema_migrations/20230403085957
 delete mode 100644 db/schema_migrations/20230403085958
 delete mode 100644 db/schema_migrations/20230403093349
 delete mode 100644 db/schema_migrations/20230403113620
 delete mode 100644 db/schema_migrations/20230403145705
 delete mode 100644 db/schema_migrations/20230403164454
 delete mode 100644 db/schema_migrations/20230403190527
 delete mode 100644 db/schema_migrations/20230403221928
 delete mode 100644 db/schema_migrations/20230403231455
 delete mode 100644 db/schema_migrations/20230403231841
 delete mode 100644 db/schema_migrations/20230403232121
 delete mode 100644 db/schema_migrations/20230404023648
 delete mode 100644 db/schema_migrations/20230404023915
 delete mode 100644 db/schema_migrations/20230404030757
 delete mode 100644 db/schema_migrations/20230404031041
 delete mode 100644 db/schema_migrations/20230404044338
 delete mode 100644 db/schema_migrations/20230404050414
 delete mode 100644 db/schema_migrations/20230404061832
 delete mode 100644 db/schema_migrations/20230404111427
 delete mode 100644 db/schema_migrations/20230404132544
 delete mode 100644 db/schema_migrations/20230404160131
 delete mode 100644 db/schema_migrations/20230404194907
 delete mode 100644 db/schema_migrations/20230404194908
 delete mode 100644 db/schema_migrations/20230405071033
 delete mode 100644 db/schema_migrations/20230405072302
 delete mode 100644 db/schema_migrations/20230405094230
 delete mode 100644 db/schema_migrations/20230405102815
 delete mode 100644 db/schema_migrations/20230405132104
 delete mode 100644 db/schema_migrations/20230405132855
 delete mode 100644 db/schema_migrations/20230405200858
 delete mode 100644 db/schema_migrations/20230406040908
 delete mode 100644 db/schema_migrations/20230406041555
 delete mode 100644 db/schema_migrations/20230406041629
 delete mode 100644 db/schema_migrations/20230406042906
 delete mode 100644 db/schema_migrations/20230406043900
 delete mode 100644 db/schema_migrations/20230406060452
 delete mode 100644 db/schema_migrations/20230406073847
 delete mode 100644 db/schema_migrations/20230406093640
 delete mode 100644 db/schema_migrations/20230406095544
 delete mode 100644 db/schema_migrations/20230406115900
 delete mode 100644 db/schema_migrations/20230406121544
 delete mode 100644 db/schema_migrations/20230406134436
 delete mode 100644 db/schema_migrations/20230406150254
 delete mode 100644 db/schema_migrations/20230406150354
 delete mode 100644 db/schema_migrations/20230406150454
 delete mode 100644 db/schema_migrations/20230407164616
 delete mode 100644 db/schema_migrations/20230410092450
 delete mode 100644 db/schema_migrations/20230410111251
 delete mode 100644 db/schema_migrations/20230410123709
 delete mode 100644 db/schema_migrations/20230411011959
 delete mode 100644 db/schema_migrations/20230411153310
 delete mode 100644 db/schema_migrations/20230411171001
 delete mode 100644 db/schema_migrations/20230411205121
 delete mode 100644 db/schema_migrations/20230412013251
 delete mode 100644 db/schema_migrations/20230412073614
 delete mode 100644 db/schema_migrations/20230412080242
 delete mode 100644 db/schema_migrations/20230412104514
 delete mode 100644 db/schema_migrations/20230412141541
 delete mode 100644 db/schema_migrations/20230412151659
 delete mode 100644 db/schema_migrations/20230412152538
 delete mode 100644 db/schema_migrations/20230412185837
 delete mode 100644 db/schema_migrations/20230412185920
 delete mode 100644 db/schema_migrations/20230412201517
 delete mode 100644 db/schema_migrations/20230412201528
 delete mode 100644 db/schema_migrations/20230412201539
 delete mode 100644 db/schema_migrations/20230412201549
 delete mode 100644 db/schema_migrations/20230412201600
 delete mode 100644 db/schema_migrations/20230412201611
 delete mode 100644 db/schema_migrations/20230412201621
 delete mode 100644 db/schema_migrations/20230412201632
 delete mode 100644 db/schema_migrations/20230412201642
 delete mode 100644 db/schema_migrations/20230412203234
 delete mode 100644 db/schema_migrations/20230412204143
 delete mode 100644 db/schema_migrations/20230412204201
 delete mode 100644 db/schema_migrations/20230412204224
 delete mode 100644 db/schema_migrations/20230412214119
 delete mode 100644 db/schema_migrations/20230413012807
 delete mode 100644 db/schema_migrations/20230413041917
 delete mode 100644 db/schema_migrations/20230413041918
 delete mode 100644 db/schema_migrations/20230413041919
 delete mode 100644 db/schema_migrations/20230413041920
 delete mode 100644 db/schema_migrations/20230413080906
 delete mode 100644 db/schema_migrations/20230413080918
 delete mode 100644 db/schema_migrations/20230413153140
 delete mode 100644 db/schema_migrations/20230414075119
 delete mode 100644 db/schema_migrations/20230414140202
 delete mode 100644 db/schema_migrations/20230414150202
 delete mode 100644 db/schema_migrations/20230414190012
 delete mode 100644 db/schema_migrations/20230414200202
 delete mode 100644 db/schema_migrations/20230414230535
 delete mode 100644 db/schema_migrations/20230417145900
 delete mode 100644 db/schema_migrations/20230418154454
 delete mode 100644 db/schema_migrations/20230418164957
 delete mode 100644 db/schema_migrations/20230418183540
 delete mode 100644 db/schema_migrations/20230418215853
 delete mode 100644 db/schema_migrations/20230419010332
 delete mode 100644 db/schema_migrations/20230419010551
 delete mode 100644 db/schema_migrations/20230419012426
 delete mode 100644 db/schema_migrations/20230419012621
 delete mode 100644 db/schema_migrations/20230419094535
 delete mode 100644 db/schema_migrations/20230419094939
 delete mode 100644 db/schema_migrations/20230419105225
 delete mode 100644 db/schema_migrations/20230419121943
 delete mode 100644 db/schema_migrations/20230419130952
 delete mode 100644 db/schema_migrations/20230419164438
 delete mode 100644 db/schema_migrations/20230419192748
 delete mode 100644 db/schema_migrations/20230419193807
 delete mode 100644 db/schema_migrations/20230420002547
 delete mode 100644 db/schema_migrations/20230420005610
 delete mode 100644 db/schema_migrations/20230420005930
 delete mode 100644 db/schema_migrations/20230420012220
 delete mode 100644 db/schema_migrations/20230420040912
 delete mode 100644 db/schema_migrations/20230420041344
 delete mode 100644 db/schema_migrations/20230420065656
 delete mode 100644 db/schema_migrations/20230420070009
 delete mode 100644 db/schema_migrations/20230420115733
 delete mode 100644 db/schema_migrations/20230420120431
 delete mode 100644 db/schema_migrations/20230420131608
 delete mode 100644 db/schema_migrations/20230420132910
 delete mode 100644 db/schema_migrations/20230420144418
 delete mode 100644 db/schema_migrations/20230421035557
 delete mode 100644 db/schema_migrations/20230421081907
 delete mode 100644 db/schema_migrations/20230421124302
 delete mode 100644 db/schema_migrations/20230421165020
 delete mode 100644 db/schema_migrations/20230422013640
 delete mode 100644 db/schema_migrations/20230424094117
 delete mode 100644 db/schema_migrations/20230424122236
 delete mode 100644 db/schema_migrations/20230424131551
 delete mode 100644 db/schema_migrations/20230424155321
 delete mode 100644 db/schema_migrations/20230424194721
 delete mode 100644 db/schema_migrations/20230425101542
 delete mode 100644 db/schema_migrations/20230425114355
 delete mode 100644 db/schema_migrations/20230425173111
 delete mode 100644 db/schema_migrations/20230425521418
 delete mode 100644 db/schema_migrations/20230426030342
 delete mode 100644 db/schema_migrations/20230426085615
 delete mode 100644 db/schema_migrations/20230426102200
 delete mode 100644 db/schema_migrations/20230426161259
 delete mode 100644 db/schema_migrations/20230426161341
 delete mode 100644 db/schema_migrations/20230427065641
 delete mode 100644 db/schema_migrations/20230427065942
 delete mode 100644 db/schema_migrations/20230427094534
 delete mode 100644 db/schema_migrations/20230427190005
 delete mode 100644 db/schema_migrations/20230427194552
 delete mode 100644 db/schema_migrations/20230428065426
 delete mode 100644 db/schema_migrations/20230428070443
 delete mode 100644 db/schema_migrations/20230428085332
 delete mode 100644 db/schema_migrations/20230428101217
 delete mode 100644 db/schema_migrations/20230428134334
 delete mode 100644 db/schema_migrations/20230428165514
 delete mode 100644 db/schema_migrations/20230501090213
 delete mode 100644 db/schema_migrations/20230501094322
 delete mode 100644 db/schema_migrations/20230501111636
 delete mode 100644 db/schema_migrations/20230501163253
 delete mode 100644 db/schema_migrations/20230501165244
 delete mode 100644 db/schema_migrations/20230501180958
 delete mode 100644 db/schema_migrations/20230502014227
 delete mode 100644 db/schema_migrations/20230502083003
 delete mode 100644 db/schema_migrations/20230502102832
 delete mode 100644 db/schema_migrations/20230502102833
 delete mode 100644 db/schema_migrations/20230502120021
 delete mode 100644 db/schema_migrations/20230502120022
 delete mode 100644 db/schema_migrations/20230502134532
 delete mode 100644 db/schema_migrations/20230502182754
 delete mode 100644 db/schema_migrations/20230502193525
 delete mode 100644 db/schema_migrations/20230502201251
 delete mode 100644 db/schema_migrations/20230503032750
 delete mode 100644 db/schema_migrations/20230503100753
 delete mode 100644 db/schema_migrations/20230503115918
 delete mode 100644 db/schema_migrations/20230503152349
 delete mode 100644 db/schema_migrations/20230503173101
 delete mode 100644 db/schema_migrations/20230503175406
 delete mode 100644 db/schema_migrations/20230503181808
 delete mode 100644 db/schema_migrations/20230503191056
 delete mode 100644 db/schema_migrations/20230504010535
 delete mode 100644 db/schema_migrations/20230504084524
 delete mode 100644 db/schema_migrations/20230504112809
 delete mode 100644 db/schema_migrations/20230504182314
 delete mode 100644 db/schema_migrations/20230505115558
 delete mode 100644 db/schema_migrations/20230505122015
 delete mode 100644 db/schema_migrations/20230507192028
 delete mode 100644 db/schema_migrations/20230508034422
 delete mode 100644 db/schema_migrations/20230508074515
 delete mode 100644 db/schema_migrations/20230508093910
 delete mode 100644 db/schema_migrations/20230508095017
 delete mode 100644 db/schema_migrations/20230508150219
 delete mode 100644 db/schema_migrations/20230508175057
 delete mode 100644 db/schema_migrations/20230509013743
 delete mode 100644 db/schema_migrations/20230509072635
 delete mode 100644 db/schema_migrations/20230509085428
 delete mode 100644 db/schema_migrations/20230509115525
 delete mode 100644 db/schema_migrations/20230509131736
 delete mode 100644 db/schema_migrations/20230509144234
 delete mode 100644 db/schema_migrations/20230510013754
 delete mode 100644 db/schema_migrations/20230510062503
 delete mode 100644 db/schema_migrations/20230510130050
 delete mode 100644 db/schema_migrations/20230510141454
 delete mode 100644 db/schema_migrations/20230510142316
 delete mode 100644 db/schema_migrations/20230510142931
 delete mode 100644 db/schema_migrations/20230510152153
 delete mode 100644 db/schema_migrations/20230511132140
 delete mode 100644 db/schema_migrations/20230512023321
 delete mode 100644 db/schema_migrations/20230512104238
 delete mode 100644 db/schema_migrations/20230512141931
 delete mode 100644 db/schema_migrations/20230512143000
 delete mode 100644 db/schema_migrations/20230515101208
 delete mode 100644 db/schema_migrations/20230515102353
 delete mode 100644 db/schema_migrations/20230515111314
 delete mode 100644 db/schema_migrations/20230515142300
 delete mode 100644 db/schema_migrations/20230515153600
 delete mode 100644 db/schema_migrations/20230516032545
 delete mode 100644 db/schema_migrations/20230516033729
 delete mode 100644 db/schema_migrations/20230516044606
 delete mode 100644 db/schema_migrations/20230516045238
 delete mode 100644 db/schema_migrations/20230516045442
 delete mode 100644 db/schema_migrations/20230516072100
 delete mode 100644 db/schema_migrations/20230516080816
 delete mode 100644 db/schema_migrations/20230516110414
 delete mode 100644 db/schema_migrations/20230516115259
 delete mode 100644 db/schema_migrations/20230516123202
 delete mode 100644 db/schema_migrations/20230516125656
 delete mode 100644 db/schema_migrations/20230516172446
 delete mode 100644 db/schema_migrations/20230516175449
 delete mode 100644 db/schema_migrations/20230516183736
 delete mode 100644 db/schema_migrations/20230516192543
 delete mode 100644 db/schema_migrations/20230517001535
 delete mode 100644 db/schema_migrations/20230517005523
 delete mode 100644 db/schema_migrations/20230517090826
 delete mode 100644 db/schema_migrations/20230517151041
 delete mode 100644 db/schema_migrations/20230517151141
 delete mode 100644 db/schema_migrations/20230517151241
 delete mode 100644 db/schema_migrations/20230517163300
 delete mode 100644 db/schema_migrations/20230517182802
 delete mode 100644 db/schema_migrations/20230517182958
 delete mode 100644 db/schema_migrations/20230517183403
 delete mode 100644 db/schema_migrations/20230518005523
 delete mode 100644 db/schema_migrations/20230518071251
 delete mode 100644 db/schema_migrations/20230518121320
 delete mode 100644 db/schema_migrations/20230519011151
 delete mode 100644 db/schema_migrations/20230519023720
 delete mode 100644 db/schema_migrations/20230519103034
 delete mode 100644 db/schema_migrations/20230519112106
 delete mode 100644 db/schema_migrations/20230519135414
 delete mode 100644 db/schema_migrations/20230521521419
 delete mode 100644 db/schema_migrations/20230522073230
 delete mode 100644 db/schema_migrations/20230522103433
 delete mode 100644 db/schema_migrations/20230522111534
 delete mode 100644 db/schema_migrations/20230522132239
 delete mode 100644 db/schema_migrations/20230522180913
 delete mode 100644 db/schema_migrations/20230522181134
 delete mode 100644 db/schema_migrations/20230522210320
 delete mode 100644 db/schema_migrations/20230522220709
 delete mode 100644 db/schema_migrations/20230522225610
 delete mode 100644 db/schema_migrations/20230523073455
 delete mode 100644 db/schema_migrations/20230523074248
 delete mode 100644 db/schema_migrations/20230523074517
 delete mode 100644 db/schema_migrations/20230523122242
 delete mode 100644 db/schema_migrations/20230523125245
 delete mode 100644 db/schema_migrations/20230523125430
 delete mode 100644 db/schema_migrations/20230523131914
 delete mode 100644 db/schema_migrations/20230523132647
 delete mode 100644 db/schema_migrations/20230523210653
 delete mode 100644 db/schema_migrations/20230523210758
 delete mode 100644 db/schema_migrations/20230524012641
 delete mode 100644 db/schema_migrations/20230524093249
 delete mode 100644 db/schema_migrations/20230524093355
 delete mode 100644 db/schema_migrations/20230524095108
 delete mode 100644 db/schema_migrations/20230524120241
 delete mode 100644 db/schema_migrations/20230524135543
 delete mode 100644 db/schema_migrations/20230524135555
 delete mode 100644 db/schema_migrations/20230524135607
 delete mode 100644 db/schema_migrations/20230524135620
 delete mode 100644 db/schema_migrations/20230524135632
 delete mode 100644 db/schema_migrations/20230524135645
 delete mode 100644 db/schema_migrations/20230524135658
 delete mode 100644 db/schema_migrations/20230524135711
 delete mode 100644 db/schema_migrations/20230524135724
 delete mode 100644 db/schema_migrations/20230524135737
 delete mode 100644 db/schema_migrations/20230524135750
 delete mode 100644 db/schema_migrations/20230524135803
 delete mode 100644 db/schema_migrations/20230524135815
 delete mode 100644 db/schema_migrations/20230524135828
 delete mode 100644 db/schema_migrations/20230524135840
 delete mode 100644 db/schema_migrations/20230524142655
 delete mode 100644 db/schema_migrations/20230524150232
 delete mode 100644 db/schema_migrations/20230524150438
 delete mode 100644 db/schema_migrations/20230524201454
 delete mode 100644 db/schema_migrations/20230525064706
 delete mode 100644 db/schema_migrations/20230525180605
 delete mode 100644 db/schema_migrations/20230529163335
 delete mode 100644 db/schema_migrations/20230529173607
 delete mode 100644 db/schema_migrations/20230529182720
 delete mode 100644 db/schema_migrations/20230529183648
 delete mode 100644 db/schema_migrations/20230529184716
 delete mode 100644 db/schema_migrations/20230529185110
 delete mode 100644 db/schema_migrations/20230530003417
 delete mode 100644 db/schema_migrations/20230530003634
 delete mode 100644 db/schema_migrations/20230530015535
 delete mode 100644 db/schema_migrations/20230530100400
 delete mode 100644 db/schema_migrations/20230530112122
 delete mode 100644 db/schema_migrations/20230530112602
 delete mode 100644 db/schema_migrations/20230530114845
 delete mode 100644 db/schema_migrations/20230530115830
 delete mode 100644 db/schema_migrations/20230530140456
 delete mode 100644 db/schema_migrations/20230530140509
 delete mode 100644 db/schema_migrations/20230530140521
 delete mode 100644 db/schema_migrations/20230530140534
 delete mode 100644 db/schema_migrations/20230530140546
 delete mode 100644 db/schema_migrations/20230530140558
 delete mode 100644 db/schema_migrations/20230530140611
 delete mode 100644 db/schema_migrations/20230530140623
 delete mode 100644 db/schema_migrations/20230530140634
 delete mode 100644 db/schema_migrations/20230530140646
 delete mode 100644 db/schema_migrations/20230530162437
 delete mode 100644 db/schema_migrations/20230531054422
 delete mode 100644 db/schema_migrations/20230531134916
 delete mode 100644 db/schema_migrations/20230531135001
 delete mode 100644 db/schema_migrations/20230531142032
 delete mode 100644 db/schema_migrations/20230531142053
 delete mode 100644 db/schema_migrations/20230531164258
 delete mode 100644 db/schema_migrations/20230531165731
 delete mode 100644 db/schema_migrations/20230601035558
 delete mode 100644 db/schema_migrations/20230601084041
 delete mode 100644 db/schema_migrations/20230601085810
 delete mode 100644 db/schema_migrations/20230601085815
 delete mode 100644 db/schema_migrations/20230601085820
 delete mode 100644 db/schema_migrations/20230601184234
 delete mode 100644 db/schema_migrations/20230602063059
 delete mode 100644 db/schema_migrations/20230602112904
 delete mode 100644 db/schema_migrations/20230602131429
 delete mode 100644 db/schema_migrations/20230603174306
 delete mode 100644 db/schema_migrations/20230605043258
 delete mode 100644 db/schema_migrations/20230605043814
 delete mode 100644 db/schema_migrations/20230605085936
 delete mode 100644 db/schema_migrations/20230605085957
 delete mode 100644 db/schema_migrations/20230605093005
 delete mode 100644 db/schema_migrations/20230605095810
 delete mode 100644 db/schema_migrations/20230605192000
 delete mode 100644 db/schema_migrations/20230606124754
 delete mode 100644 db/schema_migrations/20230606124854
 delete mode 100644 db/schema_migrations/20230606124855
 delete mode 100644 db/schema_migrations/20230606124856
 delete mode 100644 db/schema_migrations/20230606182433
 delete mode 100644 db/schema_migrations/20230606183327
 delete mode 100644 db/schema_migrations/20230606193037
 delete mode 100644 db/schema_migrations/20230607080200
 delete mode 100644 db/schema_migrations/20230607093222
 delete mode 100644 db/schema_migrations/20230607101334
 delete mode 100644 db/schema_migrations/20230607102017
 delete mode 100644 db/schema_migrations/20230607102721
 delete mode 100644 db/schema_migrations/20230607102731
 delete mode 100644 db/schema_migrations/20230607165632
 delete mode 100644 db/schema_migrations/20230607165718
 delete mode 100644 db/schema_migrations/20230608071301
 delete mode 100644 db/schema_migrations/20230608081257
 delete mode 100644 db/schema_migrations/20230608081924
 delete mode 100644 db/schema_migrations/20230608101503
 delete mode 100644 db/schema_migrations/20230608195429
 delete mode 100644 db/schema_migrations/20230608231452
 delete mode 100644 db/schema_migrations/20230608232452
 delete mode 100644 db/schema_migrations/20230608233452
 delete mode 100644 db/schema_migrations/20230608234452
 delete mode 100644 db/schema_migrations/20230608235452
 delete mode 100644 db/schema_migrations/20230609000452
 delete mode 100644 db/schema_migrations/20230609001452
 delete mode 100644 db/schema_migrations/20230609002452
 delete mode 100644 db/schema_migrations/20230609003452
 delete mode 100644 db/schema_migrations/20230609004452
 delete mode 100644 db/schema_migrations/20230609005452
 delete mode 100644 db/schema_migrations/20230609010452
 delete mode 100644 db/schema_migrations/20230609011452
 delete mode 100644 db/schema_migrations/20230609085234
 delete mode 100644 db/schema_migrations/20230609115844
 delete mode 100644 db/schema_migrations/20230612072807
 delete mode 100644 db/schema_migrations/20230612075608
 delete mode 100644 db/schema_migrations/20230612083337
 delete mode 100644 db/schema_migrations/20230612083655
 delete mode 100644 db/schema_migrations/20230612083810
 delete mode 100644 db/schema_migrations/20230612084013
 delete mode 100644 db/schema_migrations/20230612162643
 delete mode 100644 db/schema_migrations/20230614073136
 delete mode 100644 db/schema_migrations/20230614181637
 delete mode 100644 db/schema_migrations/20230615083713
 delete mode 100644 db/schema_migrations/20230615083715
 delete mode 100644 db/schema_migrations/20230615083720
 delete mode 100644 db/schema_migrations/20230615083725
 delete mode 100644 db/schema_migrations/20230615083730
 delete mode 100644 db/schema_migrations/20230615083734
 delete mode 100644 db/schema_migrations/20230615083738
 delete mode 100644 db/schema_migrations/20230615083741
 delete mode 100644 db/schema_migrations/20230615083744
 delete mode 100644 db/schema_migrations/20230615083748
 delete mode 100644 db/schema_migrations/20230615202125
 delete mode 100644 db/schema_migrations/20230615202511
 delete mode 100644 ee/spec/migrations/20230113201308_backfill_namespace_ldap_settings_spec.rb
 delete mode 100644 ee/spec/migrations/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug_spec.rb
 delete mode 100644 ee/spec/migrations/20230403221928_resync_scan_result_policies_for_namespaces_spec.rb
 delete mode 100644 ee/spec/migrations/20230501165244_remove_software_license_policies_without_scan_result_policy_id_spec.rb
 delete mode 100644 ee/spec/migrations/20230612162643_pm_checkpoints_remove_advisory_entries_spec.rb
 delete mode 100644 ee/spec/migrations/cleanup_orphan_software_licenses_spec.rb
 delete mode 100644 spec/lib/gitlab/background_migration/backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
 delete mode 100644 spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb
 delete mode 100644 spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
 delete mode 100644 spec/lib/gitlab/background_migration/mark_duplicate_npm_packages_for_destruction_spec.rb
 delete mode 100644 spec/lib/gitlab/background_migration/migrate_human_user_type_spec.rb
 delete mode 100644 spec/migrations/20230118144623_schedule_migration_for_remediation_spec.rb
 delete mode 100644 spec/migrations/20230125195503_queue_backfill_compliance_violations_spec.rb
 delete mode 100644 spec/migrations/20230130182412_schedule_create_vulnerability_links_migration_spec.rb
 delete mode 100644 spec/migrations/20230208125736_schedule_migration_for_links_spec.rb
 delete mode 100644 spec/migrations/20230209222452_schedule_remove_project_group_link_with_missing_groups_spec.rb
 delete mode 100644 spec/migrations/20230214181633_finalize_ci_build_needs_big_int_conversion_spec.rb
 delete mode 100644 spec/migrations/20230220102212_swap_columns_ci_build_needs_big_int_conversion_spec.rb
 delete mode 100644 spec/migrations/20230221093533_add_tmp_partial_index_on_vulnerability_report_types_spec.rb
 delete mode 100644 spec/migrations/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress_spec.rb
 delete mode 100644 spec/migrations/20230223065753_finalize_nullify_creator_id_of_orphaned_projects_spec.rb
 delete mode 100644 spec/migrations/20230224085743_update_issues_internal_id_scope_spec.rb
 delete mode 100644 spec/migrations/20230224144233_migrate_evidences_from_raw_metadata_spec.rb
 delete mode 100644 spec/migrations/20230228142350_add_notifications_work_item_widget_spec.rb
 delete mode 100644 spec/migrations/20230302185739_queue_fix_vulnerability_reads_has_issues_spec.rb
 delete mode 100644 spec/migrations/20230302811133_re_migrate_redis_slot_keys_spec.rb
 delete mode 100644 spec/migrations/20230303105806_queue_delete_orphaned_packages_dependencies_spec.rb
 delete mode 100644 spec/migrations/20230309071242_delete_security_policy_bot_users_spec.rb
 delete mode 100644 spec/migrations/20230313142631_backfill_ml_candidates_package_id_spec.rb
 delete mode 100644 spec/migrations/20230313150531_reschedule_migration_for_remediation_spec.rb
 delete mode 100644 spec/migrations/20230314144640_reschedule_migration_for_links_spec.rb
 delete mode 100644 spec/migrations/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation_spec.rb
 delete mode 100644 spec/migrations/20230317162059_add_current_user_todos_work_item_widget_spec.rb
 delete mode 100644 spec/migrations/20230321153035_add_package_id_created_at_desc_index_to_package_files_spec.rb
 delete mode 100644 spec/migrations/20230321163947_backfill_ml_candidates_project_id_spec.rb
 delete mode 100644 spec/migrations/20230321170823_backfill_ml_candidates_internal_id_spec.rb
 delete mode 100644 spec/migrations/20230322085041_remove_user_namespace_records_from_vsa_aggregation_spec.rb
 delete mode 100644 spec/migrations/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches_spec.rb
 delete mode 100644 spec/migrations/20230323101138_add_award_emoji_work_item_widget_spec.rb
 delete mode 100644 spec/migrations/20230327103401_queue_migrate_human_user_type_spec.rb
 delete mode 100644 spec/migrations/20230327123333_backfill_product_analytics_data_collector_host_spec.rb
 delete mode 100644 spec/migrations/20230328030101_add_secureflag_training_provider_spec.rb
 delete mode 100644 spec/migrations/20230328100534_truncate_error_tracking_tables_spec.rb
 delete mode 100644 spec/migrations/20230329100222_drop_software_licenses_temp_index_spec.rb
 delete mode 100644 spec/migrations/20230330103104_reschedule_migrate_evidences_spec.rb
 delete mode 100644 spec/migrations/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2_spec.rb
 delete mode 100644 spec/migrations/20230405200858_requeue_backfill_project_wiki_repositories_spec.rb
 delete mode 100644 spec/migrations/20230406121544_queue_backfill_design_management_repositories_spec.rb
 delete mode 100644 spec/migrations/20230411153310_cleanup_bigint_conversion_for_sent_notifications_spec.rb
 delete mode 100644 spec/migrations/20230412141541_reschedule_links_avoiding_duplication_spec.rb
 delete mode 100644 spec/migrations/20230412185837_queue_populate_vulnerability_dismissal_fields_spec.rb
 delete mode 100644 spec/migrations/20230412214119_finalize_encrypt_ci_trigger_token_spec.rb
 delete mode 100644 spec/migrations/20230418215853_add_assignee_widget_to_incidents_spec.rb
 delete mode 100644 spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb
 delete mode 100644 spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb
 delete mode 100644 spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb
 delete mode 100644 spec/migrations/20230428085332_remove_shimo_zentao_integration_records_spec.rb
 delete mode 100644 spec/migrations/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level_spec.rb
 delete mode 100644 spec/migrations/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level_spec.rb
 delete mode 100644 spec/migrations/20230504084524_remove_gitlab_import_source_spec.rb
 delete mode 100644 spec/migrations/20230505115558_add_authors_and_description_to_nuget_metadatum_spec.rb
 delete mode 100644 spec/migrations/20230508150219_reschedule_evidences_handling_unicode_spec.rb
 delete mode 100644 spec/migrations/20230509131736_add_default_organization_spec.rb
 delete mode 100644 spec/migrations/20230515153600_finalize_back_fill_prepared_at_merge_requests_spec.rb
 delete mode 100644 spec/migrations/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes_spec.rb
 delete mode 100644 spec/migrations/20230518071251_queue_backfill_code_suggestions_namespace_settings_spec.rb
 delete mode 100644 spec/migrations/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups_spec.rb
 delete mode 100644 spec/migrations/20230522111534_reschedule_migration_for_links_from_metadata_spec.rb
 delete mode 100644 spec/migrations/20230522220709_ensure_incident_work_item_type_backfill_is_finished_spec.rb
 delete mode 100644 spec/migrations/20230523101514_finalize_user_type_migration_spec.rb
 delete mode 100644 spec/migrations/20230524201454_queue_mark_duplicate_npm_packages_for_destruction_spec.rb
 delete mode 100644 spec/migrations/20230605095810_ensure_default_organization_spec.rb
 delete mode 100644 spec/migrations/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null_spec.rb
 delete mode 100644 spec/migrations/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
 delete mode 100644 spec/migrations/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances_spec.rb
 delete mode 100644 spec/migrations/add_type_to_http_integrations_spec.rb
 delete mode 100644 spec/migrations/backfill_current_value_with_progress_work_item_progresses_spec.rb
 delete mode 100644 spec/migrations/drop_packages_events_table_spec.rb
 delete mode 100644 spec/migrations/ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts_spec.rb
 delete mode 100644 spec/migrations/ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/ensure_unique_debian_packages_spec.rb
 delete mode 100644 spec/migrations/ensure_vum_bigint_backfill_is_finished_for_gl_dot_com_spec.rb
 delete mode 100644 spec/migrations/finalize_issues_iid_scoping_to_namespace_spec.rb
 delete mode 100644 spec/migrations/insert_daily_invites_trial_plan_limits_spec.rb
 delete mode 100644 spec/migrations/queue_backfill_prepared_at_data_spec.rb
 delete mode 100644 spec/migrations/remove_old_async_index_table_name_length_constraint_spec.rb
 delete mode 100644 spec/migrations/remove_packages_events_package_id_fk_spec.rb
 delete mode 100644 spec/migrations/remove_saml_provider_and_identities_non_root_group_spec.rb
 delete mode 100644 spec/migrations/remove_scim_token_and_scim_identity_non_root_group_spec.rb
 delete mode 100644 spec/migrations/requeue_backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
 delete mode 100644 spec/migrations/rerun_remove_invalid_deploy_access_level_spec.rb
 delete mode 100644 spec/migrations/reschedule_incident_work_item_type_id_backfill_spec.rb
 delete mode 100644 spec/migrations/schedule_migrate_shared_vulnerability_identifiers_spec.rb
 delete mode 100644 spec/migrations/set_email_confirmation_setting_from_soft_email_confirmation_ff_spec.rb
 delete mode 100644 spec/migrations/swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2_spec.rb
 delete mode 100644 spec/migrations/swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_merge_request_metrics_id_to_bigint_for_self_hosts_spec.rb
 delete mode 100644 spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb
 delete mode 100644 spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_notes_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_sent_notifications_id_columns_spec.rb
 delete mode 100644 spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_todos_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 delete mode 100644 spec/migrations/swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb

diff --git a/.gitlab/ci/database.gitlab-ci.yml b/.gitlab/ci/database.gitlab-ci.yml
index 60bdfbf1c16d7..293d6a8a22bd3 100644
--- a/.gitlab/ci/database.gitlab-ci.yml
+++ b/.gitlab/ci/database.gitlab-ci.yml
@@ -36,7 +36,7 @@ db:rollback:
     - .db-job-base
     - .rails:rules:db-rollback
   script:
-    - bundle exec rake db:migrate VERSION=20230216060333  # 16.0 First migration
+    - bundle exec rake db:migrate VERSION=20230616082958  # 16.2 First migration
     - bundle exec rake db:migrate
 
 db:rollback single-db:
diff --git a/.rubocop_revert_ignores.txt b/.rubocop_revert_ignores.txt
index e3c30ea9bad82..8192cd6b57b3b 100644
--- a/.rubocop_revert_ignores.txt
+++ b/.rubocop_revert_ignores.txt
@@ -329,7 +329,6 @@ spec/lib/gitlab/background_migration/backfill_group_features_spec.rb
 spec/lib/gitlab/background_migration/backfill_integrations_type_new_spec.rb
 spec/lib/gitlab/background_migration/backfill_member_namespace_for_group_members_spec.rb
 spec/lib/gitlab/background_migration/backfill_namespace_id_for_namespace_route_spec.rb
-spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb
 spec/lib/gitlab/background_migration/encrypt_integration_properties_spec.rb
 spec/lib/gitlab/background_migration/encrypt_static_object_token_spec.rb
 spec/lib/gitlab/background_migration/fix_vulnerability_occurrences_with_hashes_as_raw_metadata_spec.rb
diff --git a/.rubocop_todo/rspec/expect_in_hook.yml b/.rubocop_todo/rspec/expect_in_hook.yml
index 0fc7ecfde58dc..6d3b9a6915f55 100644
--- a/.rubocop_todo/rspec/expect_in_hook.yml
+++ b/.rubocop_todo/rspec/expect_in_hook.yml
@@ -163,7 +163,6 @@ RSpec/ExpectInHook:
     - 'spec/lib/gitlab/alert_management/fingerprint_spec.rb'
     - 'spec/lib/gitlab/auth/request_authenticator_spec.rb'
     - 'spec/lib/gitlab/auth_spec.rb'
-    - 'spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb'
     - 'spec/lib/gitlab/background_migration/legacy_upload_mover_spec.rb'
     - 'spec/lib/gitlab/cache/ci/project_pipeline_status_spec.rb'
     - 'spec/lib/gitlab/checks/changes_access_spec.rb'
diff --git a/.rubocop_todo/rspec/named_subject.yml b/.rubocop_todo/rspec/named_subject.yml
index 1aa1f533c276b..5cea694c35c3b 100644
--- a/.rubocop_todo/rspec/named_subject.yml
+++ b/.rubocop_todo/rspec/named_subject.yml
@@ -1800,7 +1800,6 @@ RSpec/NamedSubject:
     - 'spec/lib/gitlab/auth_spec.rb'
     - 'spec/lib/gitlab/authorized_keys_spec.rb'
     - 'spec/lib/gitlab/avatar_cache_spec.rb'
-    - 'spec/lib/gitlab/background_migration/backfill_admin_mode_scope_for_personal_access_tokens_spec.rb'
     - 'spec/lib/gitlab/background_migration/backfill_missing_ci_cd_settings_spec.rb'
     - 'spec/lib/gitlab/background_migration/backfill_project_repositories_spec.rb'
     - 'spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb'
@@ -2541,7 +2540,6 @@ RSpec/NamedSubject:
     - 'spec/mailers/notify_spec.rb'
     - 'spec/metrics_server/metrics_server_spec.rb'
     - 'spec/migrations/20230714015909_add_index_for_member_expiring_query_spec.rb'
-    - 'spec/migrations/drop_packages_events_table_spec.rb'
     - 'spec/models/ability_spec.rb'
     - 'spec/models/abuse/trust_score_spec.rb'
     - 'spec/models/abuse_report_spec.rb'
diff --git a/.rubocop_todo/style/inline_disable_annotation.yml b/.rubocop_todo/style/inline_disable_annotation.yml
index 089fe668c6d48..18d0dbf561775 100644
--- a/.rubocop_todo/style/inline_disable_annotation.yml
+++ b/.rubocop_todo/style/inline_disable_annotation.yml
@@ -1112,30 +1112,8 @@ Style/InlineDisableAnnotation:
     - 'config/routes/project.rb'
     - 'danger/ce_ee_vue_templates/Dangerfile'
     - 'danger/roulette/Dangerfile'
-    - 'db/migrate/20230216144719_drop_table_airflow_dags.rb'
-    - 'db/migrate/20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb'
-    - 'db/migrate/20230228133011_add_design_description.rb'
-    - 'db/migrate/20230306145230_add_product_analytics_data_collector_host_to_application_settings.rb'
-    - 'db/migrate/20230313181536_create_packages_npm_metadata_caches.rb'
-    - 'db/migrate/20230315053635_add_screenshot_to_abuse_reports.rb'
-    - 'db/migrate/20230323140745_add_root_directory_to_pages_deployment.rb'
-    - 'db/migrate/20230329235300_add_diagramsnet_to_application_settings.rb'
-    - 'db/migrate/20230405071033_add_object_storage_key_to_packages_npm_metadata_caches.rb'
-    - 'db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb'
-    - 'db/migrate/20230410092450_add_product_analytics_instrumentation_key_to_project_settings.rb'
-    - 'db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb'
-    - 'db/migrate/20230503100753_add_version_format_and_data_type_to_checkpoints.rb'
-    - 'db/migrate/20230507192028_create_audit_events_google_cloud_logging_configurations.rb'
-    - 'db/migrate/20230509072635_drop_unused_sequence_by_recreating_vsa_table.rb'
-    - 'db/migrate/20230509115525_add_name_to_organization.rb'
-    - 'db/migrate/20230519112106_add_diff_column_to_schema_inconsistencies.rb'
     - 'db/migrate/20230522162742_cleanup_bigint_conversion_for_merge_request_metrics_for_self_hosts.rb'
-    - 'db/migrate/20230529173607_add_id_column_to_pm_checkpoints.rb'
-    - 'db/migrate/20230529182720_recreate_billable_index.rb'
-    - 'db/migrate/20230529184716_recreated_activity_index.rb'
-    - 'db/migrate/20230530112122_add_path_to_organizations.rb'
     - 'db/migrate/20230601090722_add_status_message_to_packages.rb'
-    - 'db/migrate/20230605043258_add_unconfirmed_created_at_index_to_users.rb'
     - 'db/migrate/20230612074428_add_name_to_external_audit_event_destination.rb'
     - 'db/migrate/20230612091747_add_name_to_instance_audit_event_destination.rb'
     - 'db/migrate/20230614180651_add_organization_id_to_namespaces.rb'
@@ -1155,24 +1133,8 @@ Style/InlineDisableAnnotation:
     - 'db/migrate/20231017135207_add_fields_to_ml_model.rb'
     - 'db/migrate/20231019180421_add_name_description_to_catalog_resources.rb'
     - 'db/migrate/20231024142236_add_fields_to_bulk_import_failures.rb'
-    - 'db/post_migrate/20230131184319_update_billable_users_index_for_service_accounts.rb'
-    - 'db/post_migrate/20230303154314_add_user_type_migration_indexes.rb'
-    - 'db/post_migrate/20230310111859_recreate_user_type_migration_indexes.rb'
-    - 'db/post_migrate/20230313150531_reschedule_migration_for_remediation.rb'
     - 'db/post_migrate/20230314094215_drop_u2f_registrations_table.rb'
-    - 'db/post_migrate/20230322151635_cleanup_bigint_conversion_for_merge_request_metrics.rb'
-    - 'db/post_migrate/20230405200858_requeue_backfill_project_wiki_repositories.rb'
-    - 'db/post_migrate/20230420120431_create_namespaces_by_top_level_namespace_index.rb'
-    - 'db/post_migrate/20230427194552_drop_cycle_analytics_unused_tables.rb'
-    - 'db/post_migrate/20230502134532_drop_clusters_applications_cilium.rb'
-    - 'db/post_migrate/20230502193525_drop_clusters_applications_helm.rb'
-    - 'db/post_migrate/20230502201251_drop_clusters_applications_ingress.rb'
-    - 'db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb'
-    - 'db/post_migrate/20230516123202_create_routing_table_for_ci_builds.rb'
-    - 'db/post_migrate/20230522111534_reschedule_migration_for_links_from_metadata.rb'
     - 'db/post_migrate/20230528203340_drop_message_from_vulnerability_occurrences.rb'
-    - 'db/post_migrate/20230530015535_swap_notes_id_to_bigint_for_gitlab_dot_com.rb'
-    - 'db/post_migrate/20230607165718_drop_project_wiki_repository_states.rb'
     - 'db/post_migrate/20230614182049_add_index_to_namespaces_organization_id.rb'
     - 'db/post_migrate/20230619005223_change_unconfirmed_created_at_index_on_users.rb'
     - 'db/post_migrate/20230711093010_drop_default_partition_id_value_for_ci_tables.rb'
@@ -2847,7 +2809,6 @@ Style/InlineDisableAnnotation:
     - 'spec/lib/gitlab/background_migration/batching_strategies/backfill_project_statistics_with_container_registry_size_batching_strategy_spec.rb'
     - 'spec/lib/gitlab/background_migration/batching_strategies/loose_index_scan_batching_strategy_spec.rb'
     - 'spec/lib/gitlab/background_migration/batching_strategies/remove_backfilled_job_artifacts_expire_at_batching_strategy_spec.rb'
-    - 'spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb'
     - 'spec/lib/gitlab/background_migration/convert_credit_card_validation_data_to_hashes_spec.rb'
     - 'spec/lib/gitlab/background_migration/delete_orphans_approval_merge_request_rules2_spec.rb'
     - 'spec/lib/gitlab/background_migration/delete_orphans_approval_project_rules2_spec.rb'
@@ -2858,8 +2819,6 @@ Style/InlineDisableAnnotation:
     - 'spec/lib/gitlab/background_migration/issues_internal_id_scope_updater_spec.rb'
     - 'spec/lib/gitlab/background_migration/legacy_upload_mover_spec.rb'
     - 'spec/lib/gitlab/background_migration/legacy_uploads_migrator_spec.rb'
-    - 'spec/lib/gitlab/background_migration/mark_duplicate_npm_packages_for_destruction_spec.rb'
-    - 'spec/lib/gitlab/background_migration/migrate_human_user_type_spec.rb'
     - 'spec/lib/gitlab/background_migration/nullify_last_error_from_project_mirror_data_spec.rb'
     - 'spec/lib/gitlab/background_migration/populate_vulnerability_dismissal_fields_spec.rb'
     - 'spec/lib/gitlab/background_migration/truncate_overlong_vulnerability_html_titles_spec.rb'
@@ -2953,8 +2912,6 @@ Style/InlineDisableAnnotation:
     - 'spec/lib/omni_auth/strategies/jwt_spec.rb'
     - 'spec/lib/result_spec.rb'
     - 'spec/mailers/notify_spec.rb'
-    - 'spec/migrations/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2_spec.rb'
-    - 'spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb'
     - 'spec/migrations/20230613192703_swap_ci_build_needs_to_big_int_for_self_hosts_spec.rb'
     - 'spec/migrations/20230726144458_swap_notes_id_to_bigint_for_self_managed_spec.rb'
     - 'spec/migrations/20230803125434_add_has_merge_request_on_vulnerability_reads_trigger_spec.rb'
@@ -2974,27 +2931,10 @@ Style/InlineDisableAnnotation:
     - 'spec/migrations/20231016001000_fix_design_user_mentions_design_id_note_id_index_for_self_managed_spec.rb'
     - 'spec/migrations/cleanup_bigint_conversion_for_merge_request_metrics_for_self_hosts_spec.rb'
     - 'spec/migrations/cleanup_conversion_big_int_ci_build_needs_self_managed_spec.rb'
-    - 'spec/migrations/swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
     - 'spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_self_managed_spec.rb'
-    - 'spec/migrations/swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
     - 'spec/migrations/swap_events_target_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2_spec.rb'
-    - 'spec/migrations/swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_merge_request_metrics_id_to_bigint_for_self_hosts_spec.rb'
-    - 'spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb'
     - 'spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_for_self_managed_spec.rb'
-    - 'spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_notes_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_sent_notifications_id_columns_spec.rb'
-    - 'spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
-    - 'spec/migrations/swap_todos_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
     - 'spec/migrations/swap_todos_note_id_to_bigint_for_self_managed_spec.rb'
-    - 'spec/migrations/swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb'
     - 'spec/models/board_spec.rb'
     - 'spec/models/ci/build_trace_chunk_spec.rb'
     - 'spec/models/ci/job_token/project_scope_link_spec.rb'
diff --git a/db/init_structure.sql b/db/init_structure.sql
index ca4f02a2b152a..cf4118b3ce124 100644
--- a/db/init_structure.sql
+++ b/db/init_structure.sql
@@ -68,6 +68,7 @@ DECLARE
   resolved_on_default_branch boolean;
   present_on_default_branch boolean;
   namespace_id bigint;
+  has_issues boolean;
 BEGIN
   IF (NEW.vulnerability_id IS NULL AND (TG_OP = 'INSERT' OR TG_OP = 'UPDATE')) THEN
     RETURN NULL;
@@ -82,7 +83,7 @@ BEGIN
   INTO
     severity, state, report_type, resolved_on_default_branch, present_on_default_branch
   FROM
-     vulnerabilities
+    vulnerabilities
   WHERE
     vulnerabilities.id = NEW.vulnerability_id;
 
@@ -99,8 +100,13 @@ BEGIN
   WHERE
     projects.id = NEW.project_id;
 
-  INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
-    VALUES (NEW.vulnerability_id, namespace_id, NEW.project_id, NEW.scanner_id, report_type, severity, state, resolved_on_default_branch, NEW.uuid::uuid, NEW.location->>'image', NEW.location->'kubernetes_resource'->>'agent_id', CAST(NEW.location->'kubernetes_resource'->>'agent_id' AS bigint))
+  SELECT
+    EXISTS (SELECT 1 FROM vulnerability_issue_links WHERE vulnerability_issue_links.vulnerability_id = NEW.vulnerability_id)
+  INTO
+    has_issues;
+
+  INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
+    VALUES (NEW.vulnerability_id, namespace_id, NEW.project_id, NEW.scanner_id, report_type, severity, state, resolved_on_default_branch, NEW.uuid::uuid, NEW.location->>'image', NEW.location->'kubernetes_resource'->>'agent_id', CAST(NEW.location->'kubernetes_resource'->>'agent_id' AS bigint), has_issues)
     ON CONFLICT(vulnerability_id) DO NOTHING;
   RETURN NULL;
 END
@@ -127,6 +133,7 @@ DECLARE
   cluster_agent_id text;
   casted_cluster_agent_id bigint;
   namespace_id bigint;
+  has_issues boolean;
 BEGIN
   SELECT
     v_o.scanner_id, v_o.uuid, v_o.location->>'image', v_o.location->'kubernetes_resource'->>'agent_id', CAST(v_o.location->'kubernetes_resource'->>'agent_id' AS bigint), projects.namespace_id
@@ -139,8 +146,13 @@ BEGIN
     v_o.vulnerability_id = NEW.id
   LIMIT 1;
 
-  INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
-    VALUES (NEW.id, namespace_id, NEW.project_id, scanner_id, NEW.report_type, NEW.severity, NEW.state, NEW.resolved_on_default_branch, uuid::uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
+  SELECT
+    EXISTS (SELECT 1 FROM vulnerability_issue_links WHERE vulnerability_issue_links.vulnerability_id = NEW.id)
+  INTO
+    has_issues;
+
+  INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
+    VALUES (NEW.id, namespace_id, NEW.project_id, scanner_id, NEW.report_type, NEW.severity, NEW.state, NEW.resolved_on_default_branch, uuid::uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
     ON CONFLICT(vulnerability_id) DO NOTHING;
   RETURN NULL;
 END
@@ -225,7 +237,7 @@ RETURN NULL;
 END
 $$;
 
-CREATE FUNCTION trigger_080e73845bfd() RETURNS trigger
+CREATE FUNCTION trigger_023e82d8e257() RETURNS trigger
     LANGUAGE plpgsql
     AS $$
 BEGIN
@@ -234,20 +246,11 @@ BEGIN
 END;
 $$;
 
-CREATE FUNCTION trigger_0e214b8a14f2() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_17c3a95ee58a() RETURNS trigger
+CREATE FUNCTION trigger_080e73845bfd() RETURNS trigger
     LANGUAGE plpgsql
     AS $$
 BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
+  NEW."id_convert_to_bigint" := NEW."id";
   RETURN NEW;
 END;
 $$;
@@ -261,7 +264,7 @@ BEGIN
 END;
 $$;
 
-CREATE FUNCTION trigger_3207b8d0d6f3() RETURNS trigger
+CREATE FUNCTION trigger_b2d852e1e2cb() RETURNS trigger
     LANGUAGE plpgsql
     AS $$
 BEGIN
@@ -270,110 +273,11 @@ BEGIN
 END;
 $$;
 
-CREATE FUNCTION trigger_3dc62927cae8() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_428d92773fe7() RETURNS trigger
+CREATE FUNCTION trigger_cd1aeb22b34a() RETURNS trigger
     LANGUAGE plpgsql
     AS $$
 BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_482bac5ec48a() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_775287b6d67a() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."diff_note_id_convert_to_bigint" := NEW."diff_note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_7f4fcd5aa322() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."id_convert_to_bigint" := NEW."id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_bfc6e47be8cc() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_bfcbace4260d() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_c2051020aa8b() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_c5a5f48f12b0() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_c7107f30d69d() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."id_convert_to_bigint" := NEW."id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_dca935e3a712() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
-  RETURN NEW;
-END;
-$$;
-
-CREATE FUNCTION trigger_ee7956d805e6() RETURNS trigger
-    LANGUAGE plpgsql
-    AS $$
-BEGIN
-  NEW."note_id_convert_to_bigint" := NEW."note_id";
+  NEW."target_id_convert_to_bigint" := NEW."target_id";
   RETURN NEW;
 END;
 $$;
@@ -543,6 +447,24 @@ CREATE TABLE batched_background_migration_job_transition_logs (
 )
 PARTITION BY RANGE (created_at);
 
+CREATE TABLE p_ci_job_annotations (
+    id bigint NOT NULL,
+    partition_id bigint NOT NULL,
+    job_id bigint NOT NULL,
+    name text NOT NULL,
+    data jsonb DEFAULT '[]'::jsonb NOT NULL,
+    CONSTRAINT check_bac9224e45 CHECK ((char_length(name) <= 255)),
+    CONSTRAINT data_is_array CHECK ((jsonb_typeof(data) = 'array'::text))
+)
+PARTITION BY LIST (partition_id);
+
+CREATE TABLE p_ci_runner_machine_builds (
+    partition_id bigint NOT NULL,
+    build_id bigint NOT NULL,
+    runner_machine_id bigint NOT NULL
+)
+PARTITION BY LIST (partition_id);
+
 CREATE TABLE incident_management_pending_alert_escalations (
     id bigint NOT NULL,
     rule_id bigint NOT NULL,
@@ -593,6 +515,15 @@ CREATE TABLE security_findings (
 )
 PARTITION BY LIST (partition_number);
 
+CREATE TABLE value_stream_dashboard_counts (
+    id bigint NOT NULL,
+    namespace_id bigint NOT NULL,
+    count bigint NOT NULL,
+    recorded_at timestamp with time zone NOT NULL,
+    metric smallint NOT NULL
+)
+PARTITION BY RANGE (recorded_at);
+
 CREATE TABLE verification_codes (
     created_at timestamp with time zone DEFAULT now() NOT NULL,
     visitor_id_code text NOT NULL,
@@ -10721,6 +10652,46 @@ CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_63 (
 );
 ALTER TABLE ONLY product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_63 FOR VALUES WITH (modulus 64, remainder 63);
 
+CREATE TABLE abuse_events (
+    id bigint NOT NULL,
+    user_id bigint,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    abuse_report_id bigint,
+    source smallint NOT NULL,
+    category smallint,
+    metadata jsonb
+);
+
+CREATE SEQUENCE abuse_events_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE abuse_events_id_seq OWNED BY abuse_events.id;
+
+CREATE TABLE abuse_report_events (
+    id bigint NOT NULL,
+    abuse_report_id bigint NOT NULL,
+    user_id bigint,
+    created_at timestamp with time zone NOT NULL,
+    action smallint DEFAULT 1 NOT NULL,
+    reason smallint,
+    comment text,
+    CONSTRAINT check_bb4cd85618 CHECK ((char_length(comment) <= 1024))
+);
+
+CREATE SEQUENCE abuse_report_events_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE abuse_report_events_id_seq OWNED BY abuse_report_events.id;
+
 CREATE TABLE abuse_reports (
     id integer NOT NULL,
     reporter_id integer,
@@ -10733,8 +10704,17 @@ CREATE TABLE abuse_reports (
     category smallint DEFAULT 1 NOT NULL,
     reported_from_url text DEFAULT ''::text NOT NULL,
     links_to_spam text[] DEFAULT '{}'::text[] NOT NULL,
+    status smallint DEFAULT 1 NOT NULL,
+    resolved_at timestamp with time zone,
+    screenshot text,
+    resolved_by_id integer,
+    assignee_id integer,
+    mitigation_steps text,
+    evidence jsonb,
     CONSTRAINT abuse_reports_links_to_spam_length_check CHECK ((cardinality(links_to_spam) <= 20)),
-    CONSTRAINT check_ab1260fa6c CHECK ((char_length(reported_from_url) <= 512))
+    CONSTRAINT check_4b0a5120e0 CHECK ((char_length(screenshot) <= 255)),
+    CONSTRAINT check_ab1260fa6c CHECK ((char_length(reported_from_url) <= 512)),
+    CONSTRAINT check_f3c0947a2d CHECK ((char_length(mitigation_steps) <= 1000))
 );
 
 CREATE SEQUENCE abuse_reports_id_seq
@@ -10746,6 +10726,26 @@ CREATE SEQUENCE abuse_reports_id_seq
 
 ALTER SEQUENCE abuse_reports_id_seq OWNED BY abuse_reports.id;
 
+CREATE TABLE abuse_trust_scores (
+    id bigint NOT NULL,
+    user_id bigint,
+    score double precision NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    source smallint NOT NULL,
+    correlation_id_value text,
+    CONSTRAINT check_77ca9551db CHECK ((char_length(correlation_id_value) <= 255))
+);
+
+CREATE SEQUENCE abuse_trust_scores_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE abuse_trust_scores_id_seq OWNED BY abuse_trust_scores.id;
+
 CREATE TABLE achievements (
     id bigint NOT NULL,
     namespace_id bigint NOT NULL,
@@ -10754,7 +10754,6 @@ CREATE TABLE achievements (
     name text NOT NULL,
     avatar text,
     description text,
-    revokeable boolean DEFAULT false NOT NULL,
     CONSTRAINT check_5171b03f22 CHECK ((char_length(name) <= 255)),
     CONSTRAINT check_a7a7b84a80 CHECK ((char_length(description) <= 1024)),
     CONSTRAINT check_e174e93a9e CHECK ((char_length(avatar) <= 255))
@@ -10825,31 +10824,37 @@ CREATE SEQUENCE agent_project_authorizations_id_seq
 
 ALTER SEQUENCE agent_project_authorizations_id_seq OWNED BY agent_project_authorizations.id;
 
-CREATE TABLE airflow_dags (
+CREATE TABLE agent_user_access_group_authorizations (
+    id bigint NOT NULL,
+    group_id bigint NOT NULL,
+    agent_id bigint NOT NULL,
+    config jsonb NOT NULL
+);
+
+CREATE SEQUENCE agent_user_access_group_authorizations_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE agent_user_access_group_authorizations_id_seq OWNED BY agent_user_access_group_authorizations.id;
+
+CREATE TABLE agent_user_access_project_authorizations (
     id bigint NOT NULL,
     project_id bigint NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    next_run timestamp with time zone,
-    has_import_errors boolean,
-    is_active boolean,
-    is_paused boolean,
-    dag_name text NOT NULL,
-    schedule text,
-    fileloc text,
-    CONSTRAINT check_6999a61016 CHECK ((char_length(schedule) <= 255)),
-    CONSTRAINT check_6f52bee3a1 CHECK ((char_length(fileloc) <= 255)),
-    CONSTRAINT check_e10ac15d52 CHECK ((char_length(dag_name) <= 255))
+    agent_id bigint NOT NULL,
+    config jsonb NOT NULL
 );
 
-CREATE SEQUENCE airflow_dags_id_seq
+CREATE SEQUENCE agent_user_access_project_authorizations_id_seq
     START WITH 1
     INCREMENT BY 1
     NO MINVALUE
     NO MAXVALUE
     CACHE 1;
 
-ALTER SEQUENCE airflow_dags_id_seq OWNED BY airflow_dags.id;
+ALTER SEQUENCE agent_user_access_project_authorizations_id_seq OWNED BY agent_user_access_project_authorizations.id;
 
 CREATE TABLE alert_management_alert_assignees (
     id bigint NOT NULL,
@@ -10956,6 +10961,7 @@ CREATE TABLE alert_management_http_integrations (
     name text NOT NULL,
     payload_example jsonb DEFAULT '{}'::jsonb NOT NULL,
     payload_attribute_mapping jsonb DEFAULT '{}'::jsonb NOT NULL,
+    type_identifier smallint DEFAULT 0 NOT NULL,
     CONSTRAINT check_286943b636 CHECK ((char_length(encrypted_token_iv) <= 255)),
     CONSTRAINT check_392143ccf4 CHECK ((char_length(name) <= 255)),
     CONSTRAINT check_e270820180 CHECK ((char_length(endpoint_identifier) <= 255)),
@@ -11065,51 +11071,6 @@ CREATE SEQUENCE analytics_cycle_analytics_group_value_streams_id_seq
 
 ALTER SEQUENCE analytics_cycle_analytics_group_value_streams_id_seq OWNED BY analytics_cycle_analytics_group_value_streams.id;
 
-CREATE TABLE analytics_cycle_analytics_project_stages (
-    id bigint NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    relative_position integer,
-    start_event_identifier integer NOT NULL,
-    end_event_identifier integer NOT NULL,
-    project_id bigint NOT NULL,
-    start_event_label_id bigint,
-    end_event_label_id bigint,
-    hidden boolean DEFAULT false NOT NULL,
-    custom boolean DEFAULT true NOT NULL,
-    name character varying(255) NOT NULL,
-    project_value_stream_id bigint NOT NULL,
-    stage_event_hash_id bigint,
-    CONSTRAINT check_8f6019de1e CHECK ((stage_event_hash_id IS NOT NULL))
-);
-
-CREATE SEQUENCE analytics_cycle_analytics_project_stages_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE analytics_cycle_analytics_project_stages_id_seq OWNED BY analytics_cycle_analytics_project_stages.id;
-
-CREATE TABLE analytics_cycle_analytics_project_value_streams (
-    id bigint NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    project_id bigint NOT NULL,
-    name text NOT NULL,
-    CONSTRAINT check_9b1970a898 CHECK ((char_length(name) <= 100))
-);
-
-CREATE SEQUENCE analytics_cycle_analytics_project_value_streams_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE analytics_cycle_analytics_project_value_streams_id_seq OWNED BY analytics_cycle_analytics_project_value_streams.id;
-
 CREATE TABLE analytics_cycle_analytics_stage_event_hashes (
     id bigint NOT NULL,
     hash_sha256 bytea
@@ -11317,7 +11278,6 @@ CREATE TABLE application_settings (
     metrics_packet_size integer DEFAULT 1,
     disabled_oauth_sign_in_sources text,
     health_check_access_token character varying,
-    send_user_confirmation_email boolean DEFAULT false,
     container_registry_token_expire_delay integer DEFAULT 5,
     after_sign_up_text text,
     user_default_external boolean DEFAULT false NOT NULL,
@@ -11709,7 +11669,6 @@ CREATE TABLE application_settings (
     encrypted_cube_api_key_iv bytea,
     jitsu_host text,
     jitsu_project_xid text,
-    clickhouse_connection_string text,
     jitsu_administrator_email text,
     encrypted_jitsu_administrator_password bytea,
     encrypted_jitsu_administrator_password_iv bytea,
@@ -11741,6 +11700,7 @@ CREATE TABLE application_settings (
     allow_runner_registration_token boolean DEFAULT true NOT NULL,
     user_defaults_to_private_profile boolean DEFAULT false NOT NULL,
     allow_possible_spam boolean DEFAULT false NOT NULL,
+    default_syntax_highlighting_theme integer DEFAULT 1 NOT NULL,
     encrypted_product_analytics_clickhouse_connection_string bytea,
     encrypted_product_analytics_clickhouse_connection_string_iv bytea,
     search_max_shard_size_gb integer DEFAULT 50 NOT NULL,
@@ -11751,6 +11711,61 @@ CREATE TABLE application_settings (
     git_rate_limit_users_alertlist integer[] DEFAULT '{}'::integer[] NOT NULL,
     allow_deploy_tokens_and_keys_with_external_authn boolean DEFAULT false NOT NULL,
     security_policy_global_group_approvers_enabled boolean DEFAULT true NOT NULL,
+    projects_api_rate_limit_unauthenticated integer DEFAULT 400 NOT NULL,
+    deny_all_requests_except_allowed boolean DEFAULT false NOT NULL,
+    product_analytics_data_collector_host text,
+    lock_memberships_to_saml boolean DEFAULT false NOT NULL,
+    gitlab_dedicated_instance boolean DEFAULT false NOT NULL,
+    update_runner_versions_enabled boolean DEFAULT true NOT NULL,
+    database_apdex_settings jsonb,
+    encrypted_openai_api_key bytea,
+    encrypted_openai_api_key_iv bytea,
+    database_max_running_batched_background_migrations integer DEFAULT 2 NOT NULL,
+    encrypted_product_analytics_configurator_connection_string bytea,
+    encrypted_product_analytics_configurator_connection_string_iv bytea,
+    silent_mode_enabled boolean DEFAULT false NOT NULL,
+    package_metadata_purl_types smallint[] DEFAULT '{}'::smallint[],
+    ci_max_includes integer DEFAULT 150 NOT NULL,
+    encrypted_tofa_host bytea,
+    encrypted_tofa_host_iv bytea,
+    encrypted_tofa_url bytea,
+    encrypted_tofa_url_iv bytea,
+    encrypted_tofa_response_json_keys bytea,
+    encrypted_tofa_response_json_keys_iv bytea,
+    encrypted_tofa_request_json_keys bytea,
+    encrypted_tofa_request_json_keys_iv bytea,
+    encrypted_tofa_request_payload bytea,
+    encrypted_tofa_request_payload_iv bytea,
+    encrypted_tofa_client_library_class bytea,
+    encrypted_tofa_client_library_class_iv bytea,
+    encrypted_tofa_client_library_args bytea,
+    encrypted_tofa_client_library_args_iv bytea,
+    encrypted_tofa_client_library_create_credentials_method bytea,
+    encrypted_tofa_client_library_create_credentials_method_iv bytea,
+    encrypted_tofa_client_library_fetch_access_token_method bytea,
+    encrypted_tofa_client_library_fetch_access_token_method_iv bytea,
+    encrypted_tofa_access_token_expires_in bytea,
+    encrypted_tofa_access_token_expires_in_iv bytea,
+    remember_me_enabled boolean DEFAULT true NOT NULL,
+    encrypted_anthropic_api_key bytea,
+    encrypted_anthropic_api_key_iv bytea,
+    diagramsnet_enabled boolean DEFAULT true NOT NULL,
+    diagramsnet_url text DEFAULT 'https://embed.diagrams.net'::text,
+    allow_account_deletion boolean DEFAULT true NOT NULL,
+    wiki_asciidoc_allow_uri_includes boolean DEFAULT false NOT NULL,
+    namespace_aggregation_schedule_lease_duration_in_seconds integer DEFAULT 300 NOT NULL,
+    container_registry_data_repair_detail_worker_max_concurrency integer DEFAULT 2 NOT NULL,
+    encrypted_ai_access_token bytea,
+    encrypted_ai_access_token_iv bytea,
+    vertex_ai_host text,
+    encrypted_vertex_ai_credentials bytea,
+    encrypted_vertex_ai_credentials_iv bytea,
+    vertex_ai_project text,
+    instance_level_code_suggestions_enabled boolean DEFAULT false NOT NULL,
+    delete_unconfirmed_users boolean DEFAULT false NOT NULL,
+    unconfirmed_users_delete_after_days integer DEFAULT 7 NOT NULL,
+    default_branch_protection_defaults jsonb DEFAULT '{}'::jsonb NOT NULL,
+    gitlab_shell_operation_limit integer DEFAULT 600,
     CONSTRAINT app_settings_container_reg_cleanup_tags_max_list_size_positive CHECK ((container_registry_cleanup_tags_service_max_list_size >= 0)),
     CONSTRAINT app_settings_container_registry_pre_import_tags_rate_positive CHECK ((container_registry_pre_import_tags_rate >= (0)::numeric)),
     CONSTRAINT app_settings_dep_proxy_ttl_policies_worker_capacity_positive CHECK ((dependency_proxy_ttl_group_policy_worker_capacity >= 0)),
@@ -11762,8 +11777,11 @@ CREATE TABLE application_settings (
     CONSTRAINT app_settings_p_cleanup_package_file_worker_capacity_positive CHECK ((packages_cleanup_package_file_worker_capacity >= 0)),
     CONSTRAINT app_settings_pkg_registry_cleanup_pol_worker_capacity_gte_zero CHECK ((package_registry_cleanup_policies_worker_capacity >= 0)),
     CONSTRAINT app_settings_registry_exp_policies_worker_capacity_positive CHECK ((container_registry_expiration_policies_worker_capacity >= 0)),
+    CONSTRAINT app_settings_registry_repair_worker_max_concurrency_positive CHECK ((container_registry_data_repair_detail_worker_max_concurrency >= 0)),
     CONSTRAINT app_settings_yaml_max_depth_positive CHECK ((max_yaml_depth > 0)),
     CONSTRAINT app_settings_yaml_max_size_positive CHECK ((max_yaml_size_bytes > 0)),
+    CONSTRAINT check_0542340619 CHECK ((char_length(diagramsnet_url) <= 2048)),
+    CONSTRAINT check_12f01f1dcd CHECK ((char_length(vertex_ai_project) <= 255)),
     CONSTRAINT check_17d9558205 CHECK ((char_length((kroki_url)::text) <= 1024)),
     CONSTRAINT check_2b820eaac3 CHECK ((char_length(database_grafana_tag) <= 255)),
     CONSTRAINT check_2dba05b802 CHECK ((char_length(gitpod_url) <= 255)),
@@ -11781,6 +11799,7 @@ CREATE TABLE application_settings (
     CONSTRAINT check_5bcba483c4 CHECK ((char_length(sentry_environment) <= 255)),
     CONSTRAINT check_718b4458ae CHECK ((char_length(personal_access_token_prefix) <= 20)),
     CONSTRAINT check_7227fad848 CHECK ((char_length(rate_limiting_response_text) <= 255)),
+    CONSTRAINT check_72c984b2a5 CHECK ((char_length(product_analytics_data_collector_host) <= 255)),
     CONSTRAINT check_734cc9407a CHECK ((char_length(globally_allowed_ips) <= 255)),
     CONSTRAINT check_7ccfe2764a CHECK ((char_length(arkose_labs_namespace) <= 255)),
     CONSTRAINT check_85a39b68ff CHECK ((char_length(encrypted_ci_jwt_signing_key_iv) <= 255)),
@@ -11789,9 +11808,9 @@ CREATE TABLE application_settings (
     CONSTRAINT check_9a719834eb CHECK ((char_length(secret_detection_token_revocation_url) <= 255)),
     CONSTRAINT check_9c6c447a13 CHECK ((char_length(maintenance_mode_message) <= 255)),
     CONSTRAINT check_a5704163cc CHECK ((char_length(secret_detection_revocation_token_types_url) <= 255)),
+    CONSTRAINT check_ae53cf7f82 CHECK ((char_length(vertex_ai_host) <= 255)),
     CONSTRAINT check_b8c74ea5b3 CHECK ((char_length(deactivation_email_additional_text) <= 1000)),
     CONSTRAINT check_d03919528d CHECK ((char_length(container_registry_vendor) <= 255)),
-    CONSTRAINT check_d4865d70f3 CHECK ((char_length(clickhouse_connection_string) <= 1024)),
     CONSTRAINT check_d820146492 CHECK ((char_length(spam_check_endpoint_url) <= 255)),
     CONSTRAINT check_dea8792229 CHECK ((char_length(jitsu_host) <= 255)),
     CONSTRAINT check_e2692d7523 CHECK ((char_length(default_preferred_language) <= 32)),
@@ -12107,6 +12126,30 @@ CREATE SEQUENCE audit_events_external_audit_event_destinations_id_seq
 
 ALTER SEQUENCE audit_events_external_audit_event_destinations_id_seq OWNED BY audit_events_external_audit_event_destinations.id;
 
+CREATE TABLE audit_events_google_cloud_logging_configurations (
+    id bigint NOT NULL,
+    namespace_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    google_project_id_name text NOT NULL,
+    client_email text NOT NULL,
+    log_id_name text DEFAULT 'audit_events'::text,
+    encrypted_private_key bytea NOT NULL,
+    encrypted_private_key_iv bytea NOT NULL,
+    CONSTRAINT check_0ef835c61e CHECK ((char_length(client_email) <= 254)),
+    CONSTRAINT check_55783c7c19 CHECK ((char_length(google_project_id_name) <= 30)),
+    CONSTRAINT check_898a76b005 CHECK ((char_length(log_id_name) <= 511))
+);
+
+CREATE SEQUENCE audit_events_google_cloud_logging_configurations_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE audit_events_google_cloud_logging_configurations_id_seq OWNED BY audit_events_google_cloud_logging_configurations.id;
+
 CREATE SEQUENCE audit_events_id_seq
     START WITH 1
     INCREMENT BY 1
@@ -12116,6 +12159,25 @@ CREATE SEQUENCE audit_events_id_seq
 
 ALTER SEQUENCE audit_events_id_seq OWNED BY audit_events.id;
 
+CREATE TABLE audit_events_instance_external_audit_event_destinations (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    destination_url text NOT NULL,
+    encrypted_verification_token bytea NOT NULL,
+    encrypted_verification_token_iv bytea NOT NULL,
+    CONSTRAINT check_4dc67167ce CHECK ((char_length(destination_url) <= 255))
+);
+
+CREATE SEQUENCE audit_events_instance_external_audit_event_destinations_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE audit_events_instance_external_audit_event_destinations_id_seq OWNED BY audit_events_instance_external_audit_event_destinations.id;
+
 CREATE TABLE audit_events_streaming_event_type_filters (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
@@ -12154,6 +12216,24 @@ CREATE SEQUENCE audit_events_streaming_headers_id_seq
 
 ALTER SEQUENCE audit_events_streaming_headers_id_seq OWNED BY audit_events_streaming_headers.id;
 
+CREATE TABLE audit_events_streaming_instance_event_type_filters (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    instance_external_audit_event_destination_id bigint NOT NULL,
+    audit_event_type text NOT NULL,
+    CONSTRAINT check_249c9370cc CHECK ((char_length(audit_event_type) <= 255))
+);
+
+CREATE SEQUENCE audit_events_streaming_instance_event_type_filters_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE audit_events_streaming_instance_event_type_filters_id_seq OWNED BY audit_events_streaming_instance_event_type_filters.id;
+
 CREATE TABLE authentication_events (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
@@ -12202,10 +12282,10 @@ CREATE TABLE award_emoji (
     id integer NOT NULL,
     name character varying,
     user_id integer,
-    awardable_id integer,
     awardable_type character varying,
     created_at timestamp without time zone,
-    updated_at timestamp without time zone
+    updated_at timestamp without time zone,
+    awardable_id bigint
 );
 
 CREATE SEQUENCE award_emoji_id_seq
@@ -12329,6 +12409,7 @@ CREATE TABLE batched_background_migrations (
     started_at timestamp with time zone,
     on_hold_until timestamp with time zone,
     gitlab_schema text NOT NULL,
+    finished_at timestamp with time zone,
     CONSTRAINT check_0406d9776f CHECK ((char_length(gitlab_schema) <= 255)),
     CONSTRAINT check_5bb0382d6f CHECK ((char_length(column_name) <= 63)),
     CONSTRAINT check_6b6a06254a CHECK ((char_length(table_name) <= 63)),
@@ -12515,6 +12596,7 @@ CREATE TABLE boards_epic_boards (
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
     name text DEFAULT 'Development'::text NOT NULL,
+    display_colors boolean DEFAULT true NOT NULL,
     CONSTRAINT check_bcbbffe601 CHECK ((char_length(name) <= 255))
 );
 
@@ -12607,7 +12689,7 @@ CREATE TABLE broadcast_messages (
     dismissable boolean,
     target_access_levels integer[] DEFAULT '{}'::integer[] NOT NULL,
     theme smallint DEFAULT 0 NOT NULL,
-    namespace_id bigint
+    show_in_cli boolean DEFAULT true NOT NULL
 );
 
 CREATE SEQUENCE broadcast_messages_id_seq
@@ -12619,6 +12701,28 @@ CREATE SEQUENCE broadcast_messages_id_seq
 
 ALTER SEQUENCE broadcast_messages_id_seq OWNED BY broadcast_messages.id;
 
+CREATE TABLE bulk_import_batch_trackers (
+    id bigint NOT NULL,
+    tracker_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    status smallint DEFAULT 0 NOT NULL,
+    batch_number integer DEFAULT 0 NOT NULL,
+    fetched_objects_count integer DEFAULT 0 NOT NULL,
+    imported_objects_count integer DEFAULT 0 NOT NULL,
+    error text,
+    CONSTRAINT check_3d6963a51f CHECK ((char_length(error) <= 255))
+);
+
+CREATE SEQUENCE bulk_import_batch_trackers_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE bulk_import_batch_trackers_id_seq OWNED BY bulk_import_batch_trackers.id;
+
 CREATE TABLE bulk_import_configurations (
     id bigint NOT NULL,
     bulk_import_id integer NOT NULL,
@@ -12655,6 +12759,7 @@ CREATE TABLE bulk_import_entities (
     updated_at timestamp with time zone NOT NULL,
     source_xid integer,
     migrate_projects boolean DEFAULT true NOT NULL,
+    has_failures boolean DEFAULT false,
     CONSTRAINT check_13f279f7da CHECK ((char_length(source_full_path) <= 255)),
     CONSTRAINT check_715d725ea2 CHECK ((char_length(destination_name) <= 255)),
     CONSTRAINT check_796a4d9cc6 CHECK ((char_length(jid) <= 255)),
@@ -12670,11 +12775,33 @@ CREATE SEQUENCE bulk_import_entities_id_seq
 
 ALTER SEQUENCE bulk_import_entities_id_seq OWNED BY bulk_import_entities.id;
 
+CREATE TABLE bulk_import_export_batches (
+    id bigint NOT NULL,
+    export_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    status smallint DEFAULT 0 NOT NULL,
+    batch_number integer DEFAULT 0 NOT NULL,
+    objects_count integer DEFAULT 0 NOT NULL,
+    error text,
+    CONSTRAINT check_046dc60dfe CHECK ((char_length(error) <= 255))
+);
+
+CREATE SEQUENCE bulk_import_export_batches_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE bulk_import_export_batches_id_seq OWNED BY bulk_import_export_batches.id;
+
 CREATE TABLE bulk_import_export_uploads (
     id bigint NOT NULL,
     export_id bigint NOT NULL,
     updated_at timestamp with time zone NOT NULL,
     export_file text,
+    batch_id bigint,
     CONSTRAINT check_5add76239d CHECK ((char_length(export_file) <= 255))
 );
 
@@ -12697,6 +12824,9 @@ CREATE TABLE bulk_import_exports (
     relation text NOT NULL,
     jid text,
     error text,
+    batched boolean DEFAULT false NOT NULL,
+    batches_count integer DEFAULT 0 NOT NULL,
+    total_objects_count integer DEFAULT 0 NOT NULL,
     CONSTRAINT check_24cb010672 CHECK ((char_length(relation) <= 255)),
     CONSTRAINT check_8f0f357334 CHECK ((char_length(error) <= 255)),
     CONSTRAINT check_9ee6d14d33 CHECK ((char_length(jid) <= 255))
@@ -12747,6 +12877,7 @@ CREATE TABLE bulk_import_trackers (
     status smallint DEFAULT 0 NOT NULL,
     created_at timestamp with time zone,
     updated_at timestamp with time zone,
+    batched boolean DEFAULT false,
     CONSTRAINT check_2d45cae629 CHECK ((char_length(relation) <= 255)),
     CONSTRAINT check_40aeaa600b CHECK ((char_length(next_page) <= 255)),
     CONSTRAINT check_603f91cb06 CHECK ((char_length(jid) <= 255)),
@@ -12771,6 +12902,7 @@ CREATE TABLE bulk_imports (
     updated_at timestamp with time zone NOT NULL,
     source_version text,
     source_enterprise boolean DEFAULT true NOT NULL,
+    has_failures boolean DEFAULT false,
     CONSTRAINT check_ea4e58775a CHECK ((char_length(source_version) <= 63))
 );
 
@@ -12783,6 +12915,21 @@ CREATE SEQUENCE bulk_imports_id_seq
 
 ALTER SEQUENCE bulk_imports_id_seq OWNED BY bulk_imports.id;
 
+CREATE TABLE catalog_resources (
+    id bigint NOT NULL,
+    project_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL
+);
+
+CREATE SEQUENCE catalog_resources_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE catalog_resources_id_seq OWNED BY catalog_resources.id;
+
 CREATE TABLE chat_names (
     id integer NOT NULL,
     user_id integer NOT NULL,
@@ -12824,13 +12971,12 @@ CREATE SEQUENCE chat_teams_id_seq
 ALTER SEQUENCE chat_teams_id_seq OWNED BY chat_teams.id;
 
 CREATE TABLE ci_build_needs (
-    id integer NOT NULL,
     name text NOT NULL,
     artifacts boolean DEFAULT true NOT NULL,
     optional boolean DEFAULT false NOT NULL,
     build_id bigint NOT NULL,
     partition_id bigint DEFAULT 100 NOT NULL,
-    id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    id bigint NOT NULL
 );
 
 CREATE SEQUENCE ci_build_needs_id_seq
@@ -12901,7 +13047,7 @@ CREATE TABLE ci_build_trace_metadata (
     partition_id bigint DEFAULT 100 NOT NULL
 );
 
-CREATE TABLE ci_builds (
+CREATE TABLE p_ci_builds (
     status character varying,
     finished_at timestamp without time zone,
     created_at timestamp without time zone,
@@ -12945,9 +13091,10 @@ CREATE TABLE ci_builds (
     scheduling_type smallint,
     id bigint NOT NULL,
     stage_id bigint,
-    partition_id bigint DEFAULT 100 NOT NULL,
+    partition_id bigint NOT NULL,
     CONSTRAINT check_1e2fbd1b39 CHECK ((lock_version IS NOT NULL))
-);
+)
+PARTITION BY LIST (partition_id);
 
 CREATE SEQUENCE ci_builds_id_seq
     START WITH 1
@@ -12956,7 +13103,56 @@ CREATE SEQUENCE ci_builds_id_seq
     NO MAXVALUE
     CACHE 1;
 
-ALTER SEQUENCE ci_builds_id_seq OWNED BY ci_builds.id;
+ALTER SEQUENCE ci_builds_id_seq OWNED BY p_ci_builds.id;
+
+CREATE TABLE ci_builds (
+    status character varying,
+    finished_at timestamp without time zone,
+    created_at timestamp without time zone,
+    updated_at timestamp without time zone,
+    started_at timestamp without time zone,
+    runner_id integer,
+    coverage double precision,
+    commit_id integer,
+    name character varying,
+    options text,
+    allow_failure boolean DEFAULT false NOT NULL,
+    stage character varying,
+    trigger_request_id integer,
+    stage_idx integer,
+    tag boolean,
+    ref character varying,
+    user_id integer,
+    type character varying,
+    target_url character varying,
+    description character varying,
+    project_id integer,
+    erased_by_id integer,
+    erased_at timestamp without time zone,
+    artifacts_expire_at timestamp without time zone,
+    environment character varying,
+    "when" character varying,
+    yaml_variables text,
+    queued_at timestamp without time zone,
+    lock_version integer DEFAULT 0,
+    coverage_regex character varying,
+    auto_canceled_by_id integer,
+    retried boolean,
+    protected boolean,
+    failure_reason integer,
+    scheduled_at timestamp with time zone,
+    token_encrypted character varying,
+    upstream_pipeline_id integer,
+    resource_group_id bigint,
+    waiting_for_resource_at timestamp with time zone,
+    processed boolean,
+    scheduling_type smallint,
+    id bigint DEFAULT nextval('ci_builds_id_seq'::regclass) NOT NULL,
+    stage_id bigint,
+    partition_id bigint NOT NULL,
+    CONSTRAINT check_1e2fbd1b39 CHECK ((lock_version IS NOT NULL))
+);
+ALTER TABLE ONLY p_ci_builds ATTACH PARTITION ci_builds FOR VALUES IN ('100');
 
 CREATE TABLE p_ci_builds_metadata (
     project_id integer NOT NULL,
@@ -12973,9 +13169,8 @@ CREATE TABLE p_ci_builds_metadata (
     id bigint NOT NULL,
     runtime_runner_features jsonb DEFAULT '{}'::jsonb NOT NULL,
     id_tokens jsonb DEFAULT '{}'::jsonb NOT NULL,
-    partition_id bigint DEFAULT 100 NOT NULL,
-    debug_trace_enabled boolean DEFAULT false NOT NULL,
-    runner_machine_id bigint
+    partition_id bigint NOT NULL,
+    debug_trace_enabled boolean DEFAULT false NOT NULL
 )
 PARTITION BY LIST (partition_id);
 
@@ -13003,9 +13198,8 @@ CREATE TABLE ci_builds_metadata (
     id bigint DEFAULT nextval('ci_builds_metadata_id_seq'::regclass) NOT NULL,
     runtime_runner_features jsonb DEFAULT '{}'::jsonb NOT NULL,
     id_tokens jsonb DEFAULT '{}'::jsonb NOT NULL,
-    partition_id bigint DEFAULT 100 NOT NULL,
-    debug_trace_enabled boolean DEFAULT false NOT NULL,
-    runner_machine_id bigint
+    partition_id bigint NOT NULL,
+    debug_trace_enabled boolean DEFAULT false NOT NULL
 );
 ALTER TABLE ONLY p_ci_builds_metadata ATTACH PARTITION ci_builds_metadata FOR VALUES IN ('100');
 
@@ -13027,6 +13221,15 @@ CREATE SEQUENCE ci_builds_runner_session_id_seq
 
 ALTER SEQUENCE ci_builds_runner_session_id_seq OWNED BY ci_builds_runner_session.id;
 
+CREATE TABLE ci_cost_settings (
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    runner_id bigint NOT NULL,
+    standard_factor double precision DEFAULT 1.0 NOT NULL,
+    os_contribution_factor double precision DEFAULT 0.008 NOT NULL,
+    os_plan_factor double precision DEFAULT 0.5 NOT NULL
+);
+
 CREATE TABLE ci_daily_build_group_report_results (
     id bigint NOT NULL,
     date date NOT NULL,
@@ -13066,6 +13269,28 @@ CREATE SEQUENCE ci_deleted_objects_id_seq
 
 ALTER SEQUENCE ci_deleted_objects_id_seq OWNED BY ci_deleted_objects.id;
 
+CREATE TABLE ci_editor_ai_conversation_messages (
+    id bigint NOT NULL,
+    user_id bigint NOT NULL,
+    project_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    role text NOT NULL,
+    content text,
+    async_errors text[] DEFAULT '{}'::text[] NOT NULL,
+    CONSTRAINT check_10b793171f CHECK ((char_length(role) <= 100)),
+    CONSTRAINT check_c83d789632 CHECK ((char_length(content) <= 16384))
+);
+
+CREATE SEQUENCE ci_editor_ai_conversation_messages_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE ci_editor_ai_conversation_messages_id_seq OWNED BY ci_editor_ai_conversation_messages.id;
+
 CREATE TABLE ci_freeze_periods (
     id bigint NOT NULL,
     project_id bigint NOT NULL,
@@ -13164,7 +13389,9 @@ CREATE TABLE ci_job_artifacts (
     locked smallint DEFAULT 2,
     partition_id bigint DEFAULT 100 NOT NULL,
     accessibility smallint DEFAULT 0 NOT NULL,
-    CONSTRAINT check_27f0f6dbab CHECK ((file_store IS NOT NULL))
+    file_final_path text,
+    CONSTRAINT check_27f0f6dbab CHECK ((file_store IS NOT NULL)),
+    CONSTRAINT check_9f04410cf4 CHECK ((char_length(file_final_path) <= 1024))
 );
 
 CREATE SEQUENCE ci_job_artifacts_id_seq
@@ -13430,7 +13657,7 @@ CREATE SEQUENCE ci_pipeline_schedules_id_seq
 ALTER SEQUENCE ci_pipeline_schedules_id_seq OWNED BY ci_pipeline_schedules.id;
 
 CREATE TABLE ci_pipeline_variables (
-    id integer NOT NULL,
+    id_convert_to_bigint integer DEFAULT 0 NOT NULL,
     key character varying NOT NULL,
     value text,
     encrypted_value text,
@@ -13439,7 +13666,8 @@ CREATE TABLE ci_pipeline_variables (
     pipeline_id integer NOT NULL,
     variable_type smallint DEFAULT 1 NOT NULL,
     partition_id bigint DEFAULT 100 NOT NULL,
-    raw boolean DEFAULT false NOT NULL
+    raw boolean DEFAULT false NOT NULL,
+    id bigint NOT NULL
 );
 
 CREATE SEQUENCE ci_pipeline_variables_id_seq
@@ -13482,6 +13710,7 @@ CREATE TABLE ci_pipelines (
     ci_ref_id bigint,
     locked smallint DEFAULT 1 NOT NULL,
     partition_id bigint DEFAULT 100 NOT NULL,
+    id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
     CONSTRAINT check_d7e99a025e CHECK ((lock_version IS NOT NULL))
 );
 
@@ -13694,7 +13923,7 @@ CREATE TABLE ci_runners (
     maximum_timeout integer,
     runner_type smallint NOT NULL,
     token_encrypted character varying,
-    public_projects_minutes_cost_factor double precision DEFAULT 0.0 NOT NULL,
+    public_projects_minutes_cost_factor double precision DEFAULT 1.0 NOT NULL,
     private_projects_minutes_cost_factor double precision DEFAULT 1.0 NOT NULL,
     config jsonb DEFAULT '{}'::jsonb NOT NULL,
     executor_type smallint,
@@ -13881,7 +14110,6 @@ CREATE TABLE ci_triggers (
     project_id integer,
     owner_id integer NOT NULL,
     description character varying,
-    ref character varying,
     encrypted_token bytea,
     encrypted_token_iv bytea
 );
@@ -14154,196 +14382,6 @@ CREATE TABLE clusters (
     helm_major_version integer DEFAULT 3 NOT NULL
 );
 
-CREATE TABLE clusters_applications_cert_managers (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    status integer NOT NULL,
-    version character varying NOT NULL,
-    email character varying NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    status_reason text
-);
-
-CREATE SEQUENCE clusters_applications_cert_managers_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_cert_managers_id_seq OWNED BY clusters_applications_cert_managers.id;
-
-CREATE TABLE clusters_applications_cilium (
-    id bigint NOT NULL,
-    cluster_id bigint NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    status integer NOT NULL,
-    status_reason text
-);
-
-CREATE SEQUENCE clusters_applications_cilium_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_cilium_id_seq OWNED BY clusters_applications_cilium.id;
-
-CREATE TABLE clusters_applications_crossplane (
-    id integer NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    cluster_id bigint NOT NULL,
-    status integer NOT NULL,
-    version character varying(255) NOT NULL,
-    stack character varying(255) NOT NULL,
-    status_reason text
-);
-
-CREATE SEQUENCE clusters_applications_crossplane_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_crossplane_id_seq OWNED BY clusters_applications_crossplane.id;
-
-CREATE TABLE clusters_applications_helm (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    created_at timestamp without time zone NOT NULL,
-    updated_at timestamp without time zone NOT NULL,
-    status integer NOT NULL,
-    version character varying NOT NULL,
-    status_reason text,
-    encrypted_ca_key text,
-    encrypted_ca_key_iv text,
-    ca_cert text
-);
-
-CREATE SEQUENCE clusters_applications_helm_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_helm_id_seq OWNED BY clusters_applications_helm.id;
-
-CREATE TABLE clusters_applications_ingress (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    created_at timestamp without time zone NOT NULL,
-    updated_at timestamp without time zone NOT NULL,
-    status integer NOT NULL,
-    ingress_type integer NOT NULL,
-    version character varying NOT NULL,
-    cluster_ip character varying,
-    status_reason text,
-    external_ip character varying,
-    external_hostname character varying
-);
-
-CREATE SEQUENCE clusters_applications_ingress_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_ingress_id_seq OWNED BY clusters_applications_ingress.id;
-
-CREATE TABLE clusters_applications_jupyter (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    oauth_application_id integer,
-    status integer NOT NULL,
-    version character varying NOT NULL,
-    hostname character varying,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    status_reason text
-);
-
-CREATE SEQUENCE clusters_applications_jupyter_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_jupyter_id_seq OWNED BY clusters_applications_jupyter.id;
-
-CREATE TABLE clusters_applications_knative (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    status integer NOT NULL,
-    version character varying NOT NULL,
-    hostname character varying,
-    status_reason text,
-    external_ip character varying,
-    external_hostname character varying
-);
-
-CREATE SEQUENCE clusters_applications_knative_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_knative_id_seq OWNED BY clusters_applications_knative.id;
-
-CREATE TABLE clusters_applications_prometheus (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    status integer NOT NULL,
-    version character varying NOT NULL,
-    status_reason text,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    last_update_started_at timestamp with time zone,
-    encrypted_alert_manager_token character varying,
-    encrypted_alert_manager_token_iv character varying,
-    healthy boolean
-);
-
-CREATE SEQUENCE clusters_applications_prometheus_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_prometheus_id_seq OWNED BY clusters_applications_prometheus.id;
-
-CREATE TABLE clusters_applications_runners (
-    id integer NOT NULL,
-    cluster_id integer NOT NULL,
-    runner_id integer,
-    status integer NOT NULL,
-    created_at timestamp with time zone NOT NULL,
-    updated_at timestamp with time zone NOT NULL,
-    version character varying NOT NULL,
-    status_reason text,
-    privileged boolean DEFAULT true NOT NULL
-);
-
-CREATE SEQUENCE clusters_applications_runners_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE clusters_applications_runners_id_seq OWNED BY clusters_applications_runners.id;
-
 CREATE SEQUENCE clusters_id_seq
     START WITH 1
     INCREMENT BY 1
@@ -14388,12 +14426,11 @@ ALTER SEQUENCE clusters_kubernetes_namespaces_id_seq OWNED BY clusters_kubernete
 
 CREATE TABLE commit_user_mentions (
     id bigint NOT NULL,
-    note_id integer NOT NULL,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
     commit_id character varying NOT NULL,
-    note_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    note_id bigint NOT NULL
 );
 
 CREATE SEQUENCE commit_user_mentions_id_seq
@@ -14443,6 +14480,14 @@ CREATE TABLE container_expiration_policies (
     CONSTRAINT container_expiration_policies_name_regex_keep CHECK ((char_length(name_regex_keep) <= 255))
 );
 
+CREATE TABLE container_registry_data_repair_details (
+    missing_count integer DEFAULT 0,
+    project_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    status smallint DEFAULT 0 NOT NULL
+);
+
 CREATE TABLE container_repositories (
     id integer NOT NULL,
     project_id integer NOT NULL,
@@ -14481,6 +14526,18 @@ CREATE SEQUENCE container_repositories_id_seq
 
 ALTER SEQUENCE container_repositories_id_seq OWNED BY container_repositories.id;
 
+CREATE TABLE container_repository_states (
+    verification_started_at timestamp with time zone,
+    verification_retry_at timestamp with time zone,
+    verified_at timestamp with time zone,
+    container_repository_id bigint NOT NULL,
+    verification_state smallint DEFAULT 0 NOT NULL,
+    verification_retry_count smallint DEFAULT 0 NOT NULL,
+    verification_checksum bytea,
+    verification_failure text,
+    CONSTRAINT check_c96417dbc5 CHECK ((char_length(verification_failure) <= 255))
+);
+
 CREATE TABLE content_blocked_states (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
@@ -14664,6 +14721,7 @@ CREATE TABLE dast_pre_scan_verification_steps (
     updated_at timestamp with time zone NOT NULL,
     name text,
     verification_errors text[] DEFAULT '{}'::text[] NOT NULL,
+    check_type smallint DEFAULT 0 NOT NULL,
     CONSTRAINT check_cd216b95e4 CHECK ((char_length(name) <= 255))
 );
 
@@ -14960,11 +15018,12 @@ CREATE TABLE dependency_list_exports (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
-    project_id bigint NOT NULL,
+    project_id bigint,
     user_id bigint,
     file_store integer,
     status smallint DEFAULT 0 NOT NULL,
     file text,
+    group_id bigint,
     CONSTRAINT check_fff6fc9b2f CHECK ((char_length(file) <= 255))
 );
 
@@ -15078,6 +15137,24 @@ CREATE SEQUENCE dependency_proxy_manifests_id_seq
 
 ALTER SEQUENCE dependency_proxy_manifests_id_seq OWNED BY dependency_proxy_manifests.id;
 
+CREATE TABLE dependency_proxy_packages_settings (
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    project_id bigint NOT NULL,
+    enabled boolean DEFAULT false,
+    maven_external_registry_url text,
+    encrypted_maven_external_registry_username bytea,
+    encrypted_maven_external_registry_username_iv bytea,
+    encrypted_maven_external_registry_password bytea,
+    encrypted_maven_external_registry_password_iv bytea,
+    CONSTRAINT check_14a2818907 CHECK (((num_nulls(encrypted_maven_external_registry_username, encrypted_maven_external_registry_password) = 0) OR (num_nulls(encrypted_maven_external_registry_username, encrypted_maven_external_registry_password) = 2))),
+    CONSTRAINT check_353c7ecafd CHECK ((octet_length(encrypted_maven_external_registry_username) <= 1020)),
+    CONSTRAINT check_ac55c514a5 CHECK ((char_length(maven_external_registry_url) <= 255)),
+    CONSTRAINT check_c6f700648d CHECK ((octet_length(encrypted_maven_external_registry_password) <= 1020)),
+    CONSTRAINT check_cdf5f9a434 CHECK ((octet_length(encrypted_maven_external_registry_password_iv) <= 1020)),
+    CONSTRAINT check_fd5def68ba CHECK ((octet_length(encrypted_maven_external_registry_username_iv) <= 1020))
+);
+
 CREATE TABLE deploy_keys_projects (
     id integer NOT NULL,
     deploy_key_id integer NOT NULL,
@@ -15211,7 +15288,11 @@ CREATE TABLE design_management_designs (
     filename character varying NOT NULL,
     relative_position integer,
     iid integer,
+    cached_markdown_version integer,
+    description text,
+    description_html text,
     CONSTRAINT check_07155e2715 CHECK ((char_length((filename)::text) <= 255)),
+    CONSTRAINT check_aaf9fa6ae5 CHECK ((char_length(description) <= 1000000)),
     CONSTRAINT check_cfb92df01a CHECK ((iid IS NOT NULL))
 );
 
@@ -15241,6 +15322,34 @@ CREATE SEQUENCE design_management_designs_versions_id_seq
 
 ALTER SEQUENCE design_management_designs_versions_id_seq OWNED BY design_management_designs_versions.id;
 
+CREATE TABLE design_management_repositories (
+    id bigint NOT NULL,
+    project_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL
+);
+
+CREATE SEQUENCE design_management_repositories_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE design_management_repositories_id_seq OWNED BY design_management_repositories.id;
+
+CREATE TABLE design_management_repository_states (
+    verification_started_at timestamp with time zone,
+    verification_retry_at timestamp with time zone,
+    verified_at timestamp with time zone,
+    design_management_repository_id bigint NOT NULL,
+    verification_state smallint DEFAULT 0 NOT NULL,
+    verification_retry_count smallint DEFAULT 0 NOT NULL,
+    verification_checksum bytea,
+    verification_failure text,
+    CONSTRAINT check_bf1387c28b CHECK ((char_length(verification_failure) <= 255))
+);
+
 CREATE TABLE design_management_versions (
     id bigint NOT NULL,
     sha bytea NOT NULL,
@@ -15261,11 +15370,10 @@ ALTER SEQUENCE design_management_versions_id_seq OWNED BY design_management_vers
 CREATE TABLE design_user_mentions (
     id bigint NOT NULL,
     design_id integer NOT NULL,
-    note_id integer NOT NULL,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    note_id bigint NOT NULL
 );
 
 CREATE SEQUENCE design_user_mentions_id_seq
@@ -15379,6 +15487,25 @@ CREATE SEQUENCE dora_daily_metrics_id_seq
 
 ALTER SEQUENCE dora_daily_metrics_id_seq OWNED BY dora_daily_metrics.id;
 
+CREATE TABLE dora_performance_scores (
+    id bigint NOT NULL,
+    project_id bigint NOT NULL,
+    date date NOT NULL,
+    deployment_frequency smallint,
+    lead_time_for_changes smallint,
+    time_to_restore_service smallint,
+    change_failure_rate smallint
+);
+
+CREATE SEQUENCE dora_performance_scores_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE dora_performance_scores_id_seq OWNED BY dora_performance_scores.id;
+
 CREATE TABLE draft_notes (
     id bigint NOT NULL,
     merge_request_id integer NOT NULL,
@@ -15545,7 +15672,8 @@ CREATE TABLE environments (
     auto_stop_at timestamp with time zone,
     auto_delete_at timestamp with time zone,
     tier smallint,
-    merge_request_id bigint
+    merge_request_id bigint,
+    cluster_agent_id bigint
 );
 
 CREATE SEQUENCE environments_id_seq
@@ -15592,11 +15720,10 @@ ALTER SEQUENCE epic_metrics_id_seq OWNED BY epic_metrics.id;
 CREATE TABLE epic_user_mentions (
     id bigint NOT NULL,
     epic_id integer NOT NULL,
-    note_id integer,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE epic_user_mentions_id_seq
@@ -15742,6 +15869,7 @@ CREATE TABLE events (
     group_id bigint,
     fingerprint bytea,
     id bigint NOT NULL,
+    target_id_convert_to_bigint bigint,
     CONSTRAINT check_97e06e05ad CHECK ((octet_length(fingerprint) <= 128))
 );
 
@@ -16656,7 +16784,9 @@ CREATE TABLE import_failures (
     exception_message character varying(255),
     retry_count integer,
     group_id integer,
-    source character varying(128)
+    source character varying(128),
+    external_identifiers jsonb DEFAULT '{}'::jsonb NOT NULL,
+    user_id bigint
 );
 
 CREATE SEQUENCE import_failures_id_seq
@@ -16947,6 +17077,26 @@ CREATE SEQUENCE insights_id_seq
 
 ALTER SEQUENCE insights_id_seq OWNED BY insights.id;
 
+CREATE TABLE instance_audit_events_streaming_headers (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    instance_external_audit_event_destination_id bigint NOT NULL,
+    key text NOT NULL,
+    value text NOT NULL,
+    CONSTRAINT check_d52adbbabb CHECK ((char_length(value) <= 255)),
+    CONSTRAINT check_e92010d531 CHECK ((char_length(key) <= 255))
+);
+
+CREATE SEQUENCE instance_audit_events_streaming_headers_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE instance_audit_events_streaming_headers_id_seq OWNED BY instance_audit_events_streaming_headers.id;
+
 CREATE TABLE integrations (
     id integer NOT NULL,
     project_id integer,
@@ -17103,6 +17253,23 @@ CREATE TABLE issue_assignees (
     issue_id integer NOT NULL
 );
 
+CREATE TABLE issue_assignment_events (
+    id bigint NOT NULL,
+    user_id bigint,
+    issue_id bigint NOT NULL,
+    created_at timestamp with time zone DEFAULT now() NOT NULL,
+    action smallint DEFAULT 1 NOT NULL
+);
+
+CREATE SEQUENCE issue_assignment_events_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE issue_assignment_events_id_seq OWNED BY issue_assignment_events.id;
+
 CREATE TABLE issue_customer_relations_contacts (
     id bigint NOT NULL,
     issue_id bigint NOT NULL,
@@ -17217,11 +17384,10 @@ ALTER SEQUENCE issue_tracker_data_id_seq OWNED BY issue_tracker_data.id;
 CREATE TABLE issue_user_mentions (
     id bigint NOT NULL,
     issue_id integer NOT NULL,
-    note_id integer,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE issue_user_mentions_id_seq
@@ -17413,9 +17579,14 @@ CREATE TABLE jira_tracker_data (
     vulnerabilities_enabled boolean DEFAULT false NOT NULL,
     jira_issue_transition_automatic boolean DEFAULT false NOT NULL,
     integration_id integer,
+    jira_issue_prefix text,
+    jira_issue_regex text,
+    jira_auth_type smallint DEFAULT 0 NOT NULL,
     CONSTRAINT check_0bf84b76e9 CHECK ((char_length(vulnerabilities_issuetype) <= 255)),
     CONSTRAINT check_0fbd71d9f2 CHECK ((integration_id IS NOT NULL)),
-    CONSTRAINT check_214cf6a48b CHECK ((char_length(project_key) <= 255))
+    CONSTRAINT check_214cf6a48b CHECK ((char_length(project_key) <= 255)),
+    CONSTRAINT check_4cc5bbc801 CHECK ((char_length(jira_issue_prefix) <= 255)),
+    CONSTRAINT check_9863a0a5fd CHECK ((char_length(jira_issue_regex) <= 255))
 );
 
 CREATE SEQUENCE jira_tracker_data_id_seq
@@ -17686,8 +17857,9 @@ CREATE TABLE member_roles (
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
     base_access_level integer NOT NULL,
-    download_code boolean DEFAULT false,
-    read_code boolean DEFAULT false
+    read_code boolean DEFAULT false,
+    read_vulnerability boolean DEFAULT false NOT NULL,
+    admin_vulnerability boolean DEFAULT false NOT NULL
 );
 
 CREATE SEQUENCE member_roles_id_seq
@@ -17767,6 +17939,23 @@ CREATE SEQUENCE merge_request_assignees_id_seq
 
 ALTER SEQUENCE merge_request_assignees_id_seq OWNED BY merge_request_assignees.id;
 
+CREATE TABLE merge_request_assignment_events (
+    id bigint NOT NULL,
+    user_id bigint,
+    merge_request_id bigint NOT NULL,
+    created_at timestamp with time zone DEFAULT now() NOT NULL,
+    action smallint DEFAULT 1 NOT NULL
+);
+
+CREATE SEQUENCE merge_request_assignment_events_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE merge_request_assignment_events_id_seq OWNED BY merge_request_assignment_events.id;
+
 CREATE TABLE merge_request_blocks (
     id bigint NOT NULL,
     blocking_merge_request_id integer NOT NULL,
@@ -17911,6 +18100,26 @@ CREATE TABLE merge_request_diff_files (
     external_diff_size integer
 );
 
+CREATE TABLE merge_request_diff_llm_summaries (
+    id bigint NOT NULL,
+    user_id bigint,
+    merge_request_diff_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    provider smallint NOT NULL,
+    content text NOT NULL,
+    CONSTRAINT check_93955f22ad CHECK ((char_length(content) <= 2056))
+);
+
+CREATE SEQUENCE merge_request_diff_llm_summaries_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE merge_request_diff_llm_summaries_id_seq OWNED BY merge_request_diff_llm_summaries.id;
+
 CREATE TABLE merge_request_diffs (
     id integer NOT NULL,
     state character varying,
@@ -17941,7 +18150,6 @@ CREATE SEQUENCE merge_request_diffs_id_seq
 ALTER SEQUENCE merge_request_diffs_id_seq OWNED BY merge_request_diffs.id;
 
 CREATE TABLE merge_request_metrics (
-    id integer NOT NULL,
     merge_request_id integer NOT NULL,
     latest_build_started_at timestamp without time zone,
     latest_build_finished_at timestamp without time zone,
@@ -17964,7 +18172,8 @@ CREATE TABLE merge_request_metrics (
     added_lines integer,
     removed_lines integer,
     target_project_id integer,
-    id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
+    id bigint NOT NULL,
+    first_contribution boolean DEFAULT false NOT NULL,
     CONSTRAINT check_e03d0900bf CHECK ((target_project_id IS NOT NULL))
 );
 
@@ -18014,11 +18223,10 @@ ALTER SEQUENCE merge_request_reviewers_id_seq OWNED BY merge_request_reviewers.i
 CREATE TABLE merge_request_user_mentions (
     id bigint NOT NULL,
     merge_request_id integer NOT NULL,
-    note_id integer,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE merge_request_user_mentions_id_seq
@@ -18205,7 +18413,8 @@ CREATE TABLE milestones (
     description_html text,
     start_date date,
     cached_markdown_version integer,
-    group_id integer
+    group_id integer,
+    lock_version integer DEFAULT 0 NOT NULL
 );
 
 CREATE SEQUENCE milestones_id_seq
@@ -18283,14 +18492,19 @@ CREATE TABLE ml_candidates (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
-    iid uuid NOT NULL,
     experiment_id bigint NOT NULL,
     user_id bigint,
     start_time bigint,
     end_time bigint,
     status smallint DEFAULT 0 NOT NULL,
     name text,
-    CONSTRAINT check_25e6c65051 CHECK ((char_length(name) <= 255))
+    package_id bigint,
+    eid uuid,
+    project_id bigint,
+    internal_id bigint,
+    ci_build_id bigint,
+    CONSTRAINT check_25e6c65051 CHECK ((char_length(name) <= 255)),
+    CONSTRAINT check_cd160587d4 CHECK ((eid IS NOT NULL))
 );
 
 CREATE SEQUENCE ml_candidates_id_seq
@@ -18419,6 +18633,18 @@ CREATE TABLE namespace_details (
     next_over_limit_check_at timestamp with time zone
 );
 
+CREATE TABLE namespace_ldap_settings (
+    namespace_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    sync_last_start_at timestamp with time zone,
+    sync_last_update_at timestamp with time zone,
+    sync_last_successful_at timestamp with time zone,
+    sync_status smallint DEFAULT 0 NOT NULL,
+    sync_error text,
+    CONSTRAINT check_51a03d26b6 CHECK ((char_length(sync_error) <= 255))
+);
+
 CREATE TABLE namespace_limits (
     additional_purchased_storage_size bigint DEFAULT 0 NOT NULL,
     additional_purchased_storage_ends_on date,
@@ -18456,7 +18682,11 @@ CREATE TABLE namespace_root_storage_statistics (
     uploads_size bigint DEFAULT 0 NOT NULL,
     dependency_proxy_size bigint DEFAULT 0 NOT NULL,
     notification_level smallint DEFAULT 100 NOT NULL,
-    container_registry_size bigint DEFAULT 0 NOT NULL
+    container_registry_size bigint DEFAULT 0 NOT NULL,
+    registry_size_estimated boolean DEFAULT false NOT NULL,
+    public_forks_storage_size bigint DEFAULT 0 NOT NULL,
+    internal_forks_storage_size bigint DEFAULT 0 NOT NULL,
+    private_forks_storage_size bigint DEFAULT 0 NOT NULL
 );
 
 CREATE TABLE namespace_settings (
@@ -18492,6 +18722,10 @@ CREATE TABLE namespace_settings (
     allow_runner_registration_token boolean DEFAULT true NOT NULL,
     unique_project_download_limit_alertlist integer[] DEFAULT '{}'::integer[] NOT NULL,
     emails_enabled boolean DEFAULT true NOT NULL,
+    code_suggestions boolean DEFAULT false NOT NULL,
+    experiment_features_enabled boolean DEFAULT false NOT NULL,
+    third_party_ai_features_enabled boolean DEFAULT true NOT NULL,
+    default_branch_protection_defaults jsonb DEFAULT '{}'::jsonb NOT NULL,
     CONSTRAINT check_0ba93c78c7 CHECK ((char_length(default_branch_name) <= 255)),
     CONSTRAINT namespace_settings_unique_project_download_limit_alertlist_size CHECK ((cardinality(unique_project_download_limit_alertlist) <= 100)),
     CONSTRAINT namespace_settings_unique_project_download_limit_allowlist_size CHECK ((cardinality(unique_project_download_limit_allowlist) <= 100))
@@ -18610,7 +18844,6 @@ ALTER SEQUENCE namespaces_sync_events_id_seq OWNED BY namespaces_sync_events.id;
 
 CREATE TABLE note_diff_files (
     id integer NOT NULL,
-    diff_note_id integer NOT NULL,
     diff text NOT NULL,
     new_file boolean NOT NULL,
     renamed_file boolean NOT NULL,
@@ -18619,7 +18852,7 @@ CREATE TABLE note_diff_files (
     b_mode character varying NOT NULL,
     new_path text NOT NULL,
     old_path text NOT NULL,
-    diff_note_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    diff_note_id bigint NOT NULL
 );
 
 CREATE SEQUENCE note_diff_files_id_seq
@@ -18631,8 +18864,25 @@ CREATE SEQUENCE note_diff_files_id_seq
 
 ALTER SEQUENCE note_diff_files_id_seq OWNED BY note_diff_files.id;
 
+CREATE TABLE note_metadata (
+    note_id bigint NOT NULL,
+    email_participant text,
+    created_at timestamp with time zone,
+    updated_at timestamp with time zone,
+    CONSTRAINT check_40aa5ff1c6 CHECK ((char_length(email_participant) <= 255))
+);
+
+CREATE SEQUENCE note_metadata_note_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE note_metadata_note_id_seq OWNED BY note_metadata.note_id;
+
 CREATE TABLE notes (
-    id integer NOT NULL,
+    id_convert_to_bigint integer DEFAULT 0 NOT NULL,
     note text,
     noteable_type character varying,
     author_id integer,
@@ -18660,7 +18910,7 @@ CREATE TABLE notes (
     confidential boolean,
     last_edited_at timestamp with time zone,
     internal boolean DEFAULT false NOT NULL,
-    id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    id bigint NOT NULL
 );
 
 CREATE SEQUENCE notes_id_seq
@@ -18746,7 +18996,8 @@ CREATE TABLE oauth_access_tokens (
     expires_in integer DEFAULT 7200,
     revoked_at timestamp without time zone,
     created_at timestamp without time zone NOT NULL,
-    scopes character varying
+    scopes character varying,
+    CONSTRAINT check_70f294ef54 CHECK ((expires_in IS NOT NULL))
 );
 
 CREATE SEQUENCE oauth_access_tokens_id_seq
@@ -18973,6 +19224,34 @@ CREATE SEQUENCE operations_user_lists_id_seq
 
 ALTER SEQUENCE operations_user_lists_id_seq OWNED BY operations_user_lists.id;
 
+CREATE TABLE organizations (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    name text DEFAULT ''::text NOT NULL,
+    path text NOT NULL,
+    CONSTRAINT check_0b4296b5ea CHECK ((char_length(path) <= 255)),
+    CONSTRAINT check_d130d769e0 CHECK ((char_length(name) <= 255))
+);
+
+CREATE SEQUENCE organizations_id_seq
+    START WITH 1000
+    INCREMENT BY 1
+    MINVALUE 1000
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE organizations_id_seq OWNED BY organizations.id;
+
+CREATE SEQUENCE p_ci_job_annotations_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE p_ci_job_annotations_id_seq OWNED BY p_ci_job_annotations.id;
+
 CREATE TABLE packages_build_infos (
     id bigint NOT NULL,
     package_id integer NOT NULL,
@@ -19104,7 +19383,6 @@ CREATE TABLE packages_debian_group_component_files (
     compression_type smallint,
     file_store smallint DEFAULT 1 NOT NULL,
     file text NOT NULL,
-    file_md5 bytea NOT NULL,
     file_sha256 bytea NOT NULL,
     CONSTRAINT check_839e1685bc CHECK ((char_length(file) <= 255))
 );
@@ -19229,7 +19507,6 @@ CREATE TABLE packages_debian_project_component_files (
     compression_type smallint,
     file_store smallint DEFAULT 1 NOT NULL,
     file text NOT NULL,
-    file_md5 bytea NOT NULL,
     file_sha256 bytea NOT NULL,
     CONSTRAINT check_e5af03fa2d CHECK ((char_length(file) <= 255))
 );
@@ -19371,25 +19648,6 @@ CREATE SEQUENCE packages_dependency_links_id_seq
 
 ALTER SEQUENCE packages_dependency_links_id_seq OWNED BY packages_dependency_links.id;
 
-CREATE TABLE packages_events (
-    id bigint NOT NULL,
-    event_type smallint NOT NULL,
-    event_scope smallint NOT NULL,
-    originator_type smallint NOT NULL,
-    originator bigint,
-    created_at timestamp with time zone NOT NULL,
-    package_id bigint
-);
-
-CREATE SEQUENCE packages_events_id_seq
-    START WITH 1
-    INCREMENT BY 1
-    NO MINVALUE
-    NO MAXVALUE
-    CACHE 1;
-
-ALTER SEQUENCE packages_events_id_seq OWNED BY packages_events.id;
-
 CREATE TABLE packages_helm_file_metadata (
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
@@ -19425,6 +19683,30 @@ CREATE TABLE packages_npm_metadata (
     CONSTRAINT chk_rails_e5cbc301ae CHECK ((char_length((package_json)::text) < 20000))
 );
 
+CREATE TABLE packages_npm_metadata_caches (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    last_downloaded_at timestamp with time zone,
+    project_id bigint,
+    file_store integer DEFAULT 1,
+    size integer NOT NULL,
+    file text NOT NULL,
+    package_name text NOT NULL,
+    object_storage_key text NOT NULL,
+    CONSTRAINT check_57aa07a4b2 CHECK ((char_length(file) <= 255)),
+    CONSTRAINT check_f97c15aa60 CHECK ((char_length(object_storage_key) <= 255))
+);
+
+CREATE SEQUENCE packages_npm_metadata_caches_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE packages_npm_metadata_caches_id_seq OWNED BY packages_npm_metadata_caches.id;
+
 CREATE TABLE packages_nuget_dependency_link_metadata (
     dependency_link_id bigint NOT NULL,
     target_framework text NOT NULL,
@@ -19436,6 +19718,10 @@ CREATE TABLE packages_nuget_metadata (
     license_url text,
     project_url text,
     icon_url text,
+    authors text,
+    description text,
+    CONSTRAINT check_d39a5fe9ee CHECK ((char_length(description) <= 4000)),
+    CONSTRAINT check_e2fc129ebd CHECK ((char_length(authors) <= 255)),
     CONSTRAINT packages_nuget_metadata_icon_url_constraint CHECK ((char_length(icon_url) <= 255)),
     CONSTRAINT packages_nuget_metadata_license_url_constraint CHECK ((char_length(license_url) <= 255)),
     CONSTRAINT packages_nuget_metadata_project_url_constraint CHECK ((char_length(project_url) <= 255))
@@ -19661,7 +19947,9 @@ CREATE TABLE pages_deployments (
     file_count integer NOT NULL,
     file_sha256 bytea NOT NULL,
     size bigint,
+    root_directory text DEFAULT 'public'::text,
     CONSTRAINT check_5f9132a958 CHECK ((size IS NOT NULL)),
+    CONSTRAINT check_7e938c810a CHECK ((char_length(root_directory) <= 255)),
     CONSTRAINT check_f0fe8032dd CHECK ((char_length(file) <= 255))
 );
 
@@ -19853,7 +20141,11 @@ CREATE TABLE plan_limits (
     enforcement_limit integer DEFAULT 0 NOT NULL,
     notification_limit integer DEFAULT 0 NOT NULL,
     dashboard_limit_enabled_at timestamp with time zone,
-    web_hook_calls integer DEFAULT 0 NOT NULL
+    web_hook_calls integer DEFAULT 0 NOT NULL,
+    project_access_token_limit integer DEFAULT 0 NOT NULL,
+    google_cloud_logging_configurations integer DEFAULT 5 NOT NULL,
+    ml_model_max_file_size bigint DEFAULT '10737418240'::bigint NOT NULL,
+    limits_history jsonb DEFAULT '{}'::jsonb NOT NULL
 );
 
 CREATE SEQUENCE plan_limits_id_seq
@@ -19882,14 +20174,84 @@ CREATE SEQUENCE plans_id_seq
 
 ALTER SEQUENCE plans_id_seq OWNED BY plans.id;
 
+CREATE TABLE pm_advisories (
+    id bigint NOT NULL,
+    advisory_xid text NOT NULL,
+    published_date date NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    source_xid smallint NOT NULL,
+    title text,
+    description text,
+    cvss_v2 text,
+    cvss_v3 text,
+    urls text[] DEFAULT '{}'::text[],
+    identifiers jsonb NOT NULL,
+    CONSTRAINT check_152def3868 CHECK ((char_length(cvss_v2) <= 128)),
+    CONSTRAINT check_19cbd06439 CHECK ((char_length(advisory_xid) <= 36)),
+    CONSTRAINT check_bed97fa77a CHECK ((char_length(cvss_v3) <= 128)),
+    CONSTRAINT check_e4bfd3ffbf CHECK ((char_length(title) <= 256)),
+    CONSTRAINT check_fee880f7aa CHECK ((char_length(description) <= 8192)),
+    CONSTRAINT chk_rails_e73af9de76 CHECK ((cardinality(urls) <= 10))
+);
+
+CREATE SEQUENCE pm_advisories_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE pm_advisories_id_seq OWNED BY pm_advisories.id;
+
+CREATE TABLE pm_affected_packages (
+    id bigint NOT NULL,
+    pm_advisory_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    purl_type smallint NOT NULL,
+    package_name text NOT NULL,
+    distro_version text,
+    solution text,
+    affected_range text NOT NULL,
+    fixed_versions text[] DEFAULT '{}'::text[],
+    overridden_advisory_fields jsonb DEFAULT '{}'::jsonb NOT NULL,
+    CONSTRAINT check_5dd528a2be CHECK ((char_length(package_name) <= 256)),
+    CONSTRAINT check_80dea16c7b CHECK ((char_length(affected_range) <= 512)),
+    CONSTRAINT check_d1d4646298 CHECK ((char_length(solution) <= 2048)),
+    CONSTRAINT check_ec4c8efb5e CHECK ((char_length(distro_version) <= 256)),
+    CONSTRAINT chk_rails_a0f80d74e0 CHECK ((cardinality(fixed_versions) <= 10))
+);
+
+CREATE SEQUENCE pm_affected_packages_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE pm_affected_packages_id_seq OWNED BY pm_affected_packages.id;
+
 CREATE TABLE pm_checkpoints (
     sequence integer NOT NULL,
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
     purl_type smallint NOT NULL,
-    chunk smallint NOT NULL
+    chunk smallint NOT NULL,
+    data_type smallint DEFAULT 1 NOT NULL,
+    version_format smallint DEFAULT 1 NOT NULL,
+    id bigint NOT NULL
 );
 
+CREATE SEQUENCE pm_checkpoints_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE pm_checkpoints_id_seq OWNED BY pm_checkpoints.id;
+
 CREATE TABLE pm_licenses (
     id bigint NOT NULL,
     spdx_identifier text NOT NULL,
@@ -19948,6 +20310,7 @@ CREATE TABLE pm_packages (
     name text NOT NULL,
     created_at timestamp with time zone DEFAULT now() NOT NULL,
     updated_at timestamp with time zone DEFAULT now() NOT NULL,
+    licenses jsonb,
     CONSTRAINT check_3a3aedb8ba CHECK ((char_length(name) <= 255))
 );
 
@@ -19985,6 +20348,7 @@ CREATE TABLE postgres_async_foreign_key_validations (
     table_name text NOT NULL,
     last_error text,
     attempts integer DEFAULT 0 NOT NULL,
+    constraint_type smallint DEFAULT 0 NOT NULL,
     CONSTRAINT check_536a40afbf CHECK ((char_length(last_error) <= 10000)),
     CONSTRAINT check_74fb7c8e57 CHECK ((char_length(name) <= 63)),
     CONSTRAINT check_cd435d6301 CHECK ((char_length(table_name) <= 63))
@@ -20011,7 +20375,7 @@ CREATE TABLE postgres_async_indexes (
     CONSTRAINT check_083b21157b CHECK ((char_length(definition) <= 2048)),
     CONSTRAINT check_45dc23c315 CHECK ((char_length(last_error) <= 10000)),
     CONSTRAINT check_b732c6cd1d CHECK ((char_length(name) <= 63)),
-    CONSTRAINT check_e64ff4359e CHECK ((char_length(table_name) <= 63))
+    CONSTRAINT check_schema_and_name_length CHECK ((char_length(table_name) <= 127))
 );
 
 CREATE SEQUENCE postgres_async_indexes_id_seq
@@ -20027,14 +20391,19 @@ CREATE VIEW postgres_autovacuum_activity AS
  WITH processes AS (
          SELECT postgres_pg_stat_activity_autovacuum.query,
             postgres_pg_stat_activity_autovacuum.query_start,
-            regexp_matches(postgres_pg_stat_activity_autovacuum.query, '^autovacuum: VACUUM (w+).(w+)'::text) AS matches
+            regexp_matches(postgres_pg_stat_activity_autovacuum.query, '^autovacuum: VACUUM (\w+)\.(\w+)'::text) AS matches,
+                CASE
+                    WHEN (postgres_pg_stat_activity_autovacuum.query ~~* '%wraparound)'::text) THEN true
+                    ELSE false
+                END AS wraparound_prevention
            FROM postgres_pg_stat_activity_autovacuum() postgres_pg_stat_activity_autovacuum(query, query_start)
-          WHERE (postgres_pg_stat_activity_autovacuum.query ~* '^autovacuum: VACUUM w+.w+'::text)
+          WHERE (postgres_pg_stat_activity_autovacuum.query ~* '^autovacuum: VACUUM \w+\.\w+'::text)
         )
  SELECT ((processes.matches[1] || '.'::text) || processes.matches[2]) AS table_identifier,
     processes.matches[1] AS schema,
     processes.matches[2] AS "table",
-    processes.query_start AS vacuum_start
+    processes.query_start AS vacuum_start,
+    processes.wraparound_prevention
    FROM processes;
 
 COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
@@ -20065,8 +20434,10 @@ CREATE VIEW postgres_foreign_keys AS
     referenced_cols.referenced_columns,
     pg_constraint.confdeltype AS on_delete_action,
     pg_constraint.confupdtype AS on_update_action,
-    (pg_constraint.coninhcount > 0) AS is_inherited
-   FROM ((((((pg_constraint
+    (pg_constraint.coninhcount > 0) AS is_inherited,
+    pg_constraint.convalidated AS is_valid,
+    partitioned_parent_oids.parent_oid
+   FROM (((((((pg_constraint
      JOIN pg_class constrained_table ON ((constrained_table.oid = pg_constraint.conrelid)))
      JOIN pg_class referenced_table ON ((referenced_table.oid = pg_constraint.confrelid)))
      JOIN pg_namespace constrained_namespace ON ((constrained_table.relnamespace = constrained_namespace.oid)))
@@ -20077,6 +20448,12 @@ CREATE VIEW postgres_foreign_keys AS
      CROSS JOIN LATERAL ( SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx) AS array_agg
            FROM (unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)
              JOIN pg_attribute ON (((pg_attribute.attnum = confkey.attnum) AND (pg_attribute.attrelid = referenced_table.oid))))) referenced_cols(referenced_columns))
+     LEFT JOIN LATERAL ( SELECT pg_depend.refobjid AS parent_oid
+           FROM pg_depend
+          WHERE ((pg_depend.objid = pg_constraint.oid) AND (pg_depend.deptype = 'P'::"char") AND (pg_depend.refobjid IN ( SELECT pg_constraint_1.oid
+                   FROM pg_constraint pg_constraint_1
+                  WHERE (pg_constraint_1.contype = 'f'::"char"))))
+         LIMIT 1) partitioned_parent_oids(parent_oid) ON (true))
   WHERE (pg_constraint.contype = 'f'::"char");
 
 CREATE VIEW postgres_index_bloat_estimates AS
@@ -20396,7 +20773,6 @@ CREATE TABLE project_ci_cd_settings (
     job_token_scope_enabled boolean DEFAULT false NOT NULL,
     runner_token_expiration_interval integer,
     separated_caches boolean DEFAULT true NOT NULL,
-    opt_in_jwt boolean DEFAULT false NOT NULL,
     allow_fork_pipelines_to_run_in_parent_project boolean DEFAULT true NOT NULL,
     inbound_job_token_scope_enabled boolean DEFAULT true NOT NULL
 );
@@ -20441,6 +20817,26 @@ CREATE SEQUENCE project_compliance_framework_settings_project_id_seq
 
 ALTER SEQUENCE project_compliance_framework_settings_project_id_seq OWNED BY project_compliance_framework_settings.project_id;
 
+CREATE TABLE project_compliance_standards_adherence (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    project_id bigint NOT NULL,
+    namespace_id bigint NOT NULL,
+    status smallint NOT NULL,
+    check_name smallint NOT NULL,
+    standard smallint NOT NULL
+);
+
+CREATE SEQUENCE project_compliance_standards_adherence_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE project_compliance_standards_adherence_id_seq OWNED BY project_compliance_standards_adherence.id;
+
 CREATE TABLE project_custom_attributes (
     id integer NOT NULL,
     created_at timestamp with time zone NOT NULL,
@@ -20573,7 +20969,8 @@ CREATE TABLE project_features (
     infrastructure_access_level integer DEFAULT 20 NOT NULL,
     feature_flags_access_level integer DEFAULT 20 NOT NULL,
     environments_access_level integer DEFAULT 20 NOT NULL,
-    releases_access_level integer DEFAULT 20 NOT NULL
+    releases_access_level integer DEFAULT 20 NOT NULL,
+    model_experiments_access_level integer DEFAULT 20 NOT NULL
 );
 
 CREATE SEQUENCE project_features_id_seq
@@ -20839,16 +21236,59 @@ CREATE TABLE project_settings (
     emails_enabled boolean DEFAULT true NOT NULL,
     pages_unique_domain_enabled boolean DEFAULT false NOT NULL,
     pages_unique_domain text,
+    runner_registration_enabled boolean DEFAULT true,
+    product_analytics_instrumentation_key text,
+    jitsu_host text,
+    jitsu_project_xid text,
+    jitsu_administrator_email text,
+    encrypted_jitsu_administrator_password bytea,
+    encrypted_jitsu_administrator_password_iv bytea,
+    product_analytics_data_collector_host text,
+    encrypted_product_analytics_clickhouse_connection_string bytea,
+    encrypted_product_analytics_clickhouse_connection_string_iv bytea,
+    cube_api_base_url text,
+    encrypted_cube_api_key bytea,
+    encrypted_cube_api_key_iv bytea,
+    encrypted_product_analytics_configurator_connection_string bytea,
+    encrypted_product_analytics_configurator_connection_string_iv bytea,
     CONSTRAINT check_1a30456322 CHECK ((char_length(pages_unique_domain) <= 63)),
     CONSTRAINT check_2981f15877 CHECK ((char_length(jitsu_key) <= 100)),
     CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),
     CONSTRAINT check_3ca5cbffe6 CHECK ((char_length(issue_branch_template) <= 255)),
+    CONSTRAINT check_4b142e71f3 CHECK ((char_length(product_analytics_data_collector_host) <= 255)),
     CONSTRAINT check_67292e4b99 CHECK ((char_length(mirror_branch_regex) <= 255)),
+    CONSTRAINT check_acb7fad2f9 CHECK ((char_length(product_analytics_instrumentation_key) <= 255)),
     CONSTRAINT check_b09644994b CHECK ((char_length(squash_commit_template) <= 500)),
     CONSTRAINT check_bde223416c CHECK ((show_default_award_emojis IS NOT NULL)),
-    CONSTRAINT check_eaf7cfb6a7 CHECK ((char_length(merge_commit_template) <= 500))
+    CONSTRAINT check_ea15225016 CHECK ((char_length(jitsu_project_xid) <= 255)),
+    CONSTRAINT check_eaf7cfb6a7 CHECK ((char_length(merge_commit_template) <= 500)),
+    CONSTRAINT check_f4499c0fa4 CHECK ((char_length(jitsu_host) <= 255)),
+    CONSTRAINT check_f5495015f5 CHECK ((char_length(jitsu_administrator_email) <= 255)),
+    CONSTRAINT check_f9df7bcee2 CHECK ((char_length(cube_api_base_url) <= 512))
+);
+
+CREATE TABLE project_states (
+    id bigint NOT NULL,
+    verification_started_at timestamp with time zone,
+    verification_retry_at timestamp with time zone,
+    verified_at timestamp with time zone,
+    project_id bigint NOT NULL,
+    verification_state smallint DEFAULT 0 NOT NULL,
+    verification_retry_count smallint DEFAULT 0 NOT NULL,
+    verification_checksum bytea,
+    verification_failure text,
+    CONSTRAINT check_0d5a9e7bde CHECK ((char_length(verification_failure) <= 255))
 );
 
+CREATE SEQUENCE project_states_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE project_states_id_seq OWNED BY project_states.id;
+
 CREATE TABLE project_statistics (
     id integer NOT NULL,
     project_id integer NOT NULL,
@@ -20912,19 +21352,6 @@ CREATE SEQUENCE project_wiki_repositories_id_seq
 
 ALTER SEQUENCE project_wiki_repositories_id_seq OWNED BY project_wiki_repositories.id;
 
-CREATE TABLE project_wiki_repository_states (
-    verification_started_at timestamp with time zone,
-    verification_retry_at timestamp with time zone,
-    verified_at timestamp with time zone,
-    project_id bigint NOT NULL,
-    verification_state smallint DEFAULT 0 NOT NULL,
-    verification_retry_count smallint,
-    verification_checksum bytea,
-    verification_failure text,
-    project_wiki_repository_id bigint,
-    CONSTRAINT check_119f134b68 CHECK ((char_length(verification_failure) <= 255))
-);
-
 CREATE TABLE projects (
     id integer NOT NULL,
     name character varying,
@@ -21208,7 +21635,8 @@ CREATE TABLE protected_environment_deploy_access_levels (
     protected_environment_id integer NOT NULL,
     user_id integer,
     group_id integer,
-    group_inheritance_type smallint DEFAULT 0 NOT NULL
+    group_inheritance_type smallint DEFAULT 0 NOT NULL,
+    CONSTRAINT check_deploy_access_levels_user_group_access_level_any_not_null CHECK ((num_nonnulls(user_id, group_id, access_level) = 1))
 );
 
 CREATE SEQUENCE protected_environment_deploy_access_levels_id_seq
@@ -21422,6 +21850,25 @@ CREATE SEQUENCE releases_id_seq
 
 ALTER SEQUENCE releases_id_seq OWNED BY releases.id;
 
+CREATE TABLE remote_development_agent_configs (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    cluster_agent_id bigint NOT NULL,
+    enabled boolean NOT NULL,
+    dns_zone text NOT NULL,
+    CONSTRAINT check_9f5cd54d1c CHECK ((char_length(dns_zone) <= 256))
+);
+
+CREATE SEQUENCE remote_development_agent_configs_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE remote_development_agent_configs_id_seq OWNED BY remote_development_agent_configs.id;
+
 CREATE TABLE remote_mirrors (
     id integer NOT NULL,
     project_id integer,
@@ -21564,6 +22011,25 @@ CREATE SEQUENCE resource_label_events_id_seq
 
 ALTER SEQUENCE resource_label_events_id_seq OWNED BY resource_label_events.id;
 
+CREATE TABLE resource_link_events (
+    id bigint NOT NULL,
+    action smallint NOT NULL,
+    user_id bigint NOT NULL,
+    issue_id bigint NOT NULL,
+    child_work_item_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    system_note_metadata_id bigint
+);
+
+CREATE SEQUENCE resource_link_events_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE resource_link_events_id_seq OWNED BY resource_link_events.id;
+
 CREATE TABLE resource_milestone_events (
     id bigint NOT NULL,
     user_id bigint,
@@ -21825,7 +22291,12 @@ CREATE TABLE scan_result_policies (
     updated_at timestamp with time zone NOT NULL,
     orchestration_policy_idx smallint NOT NULL,
     license_states text[] DEFAULT '{}'::text[],
-    match_on_inclusion boolean
+    match_on_inclusion boolean,
+    role_approvers integer[] DEFAULT '{}'::integer[],
+    age_value integer,
+    age_operator smallint,
+    age_interval smallint,
+    CONSTRAINT age_value_null_or_positive CHECK (((age_value IS NULL) OR (age_value >= 0)))
 );
 
 CREATE SEQUENCE scan_result_policies_id_seq
@@ -21837,6 +22308,30 @@ CREATE SEQUENCE scan_result_policies_id_seq
 
 ALTER SEQUENCE scan_result_policies_id_seq OWNED BY scan_result_policies.id;
 
+CREATE TABLE schema_inconsistencies (
+    id bigint NOT NULL,
+    issue_id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    object_name text NOT NULL,
+    table_name text NOT NULL,
+    valitador_name text NOT NULL,
+    diff text NOT NULL,
+    CONSTRAINT check_001d186ac7 CHECK ((char_length(diff) <= 6144)),
+    CONSTRAINT check_120b6c86d0 CHECK ((char_length(valitador_name) <= 63)),
+    CONSTRAINT check_a0411f31fd CHECK ((char_length(object_name) <= 63)),
+    CONSTRAINT check_d96408dfd2 CHECK ((char_length(table_name) <= 63))
+);
+
+CREATE SEQUENCE schema_inconsistencies_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE schema_inconsistencies_id_seq OWNED BY schema_inconsistencies.id;
+
 CREATE TABLE scim_identities (
     id bigint NOT NULL,
     group_id bigint,
@@ -21873,6 +22368,49 @@ CREATE SEQUENCE scim_oauth_access_tokens_id_seq
 
 ALTER SEQUENCE scim_oauth_access_tokens_id_seq OWNED BY scim_oauth_access_tokens.id;
 
+CREATE TABLE search_indices (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    bucket_number integer,
+    path text NOT NULL,
+    type text NOT NULL,
+    number_of_shards integer DEFAULT 2 NOT NULL,
+    number_of_replicas integer DEFAULT 1 NOT NULL,
+    CONSTRAINT check_75c11e6d37 CHECK ((char_length(type) <= 255)),
+    CONSTRAINT check_ab47e7ff85 CHECK ((char_length(path) <= 255))
+);
+
+CREATE SEQUENCE search_indices_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE search_indices_id_seq OWNED BY search_indices.id;
+
+CREATE TABLE search_namespace_index_assignments (
+    id bigint NOT NULL,
+    namespace_id bigint,
+    search_index_id bigint NOT NULL,
+    namespace_id_non_nullable bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    namespace_id_hashed integer NOT NULL,
+    index_type text NOT NULL,
+    CONSTRAINT check_64cf4e670a CHECK ((char_length(index_type) <= 255))
+);
+
+CREATE SEQUENCE search_namespace_index_assignments_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE search_namespace_index_assignments_id_seq OWNED BY search_namespace_index_assignments.id;
+
 CREATE SEQUENCE security_findings_id_seq
     START WITH 1
     INCREMENT BY 1
@@ -21890,6 +22428,7 @@ CREATE TABLE security_orchestration_policy_configurations (
     updated_at timestamp with time zone NOT NULL,
     configured_at timestamp with time zone,
     namespace_id bigint,
+    bot_user_id integer,
     CONSTRAINT cop_configs_project_or_namespace_existence CHECK (((project_id IS NULL) <> (namespace_id IS NULL)))
 );
 
@@ -22014,7 +22553,6 @@ CREATE SEQUENCE self_managed_prometheus_alert_events_id_seq
 ALTER SEQUENCE self_managed_prometheus_alert_events_id_seq OWNED BY self_managed_prometheus_alert_events.id;
 
 CREATE TABLE sent_notifications (
-    id integer NOT NULL,
     project_id integer,
     noteable_id integer,
     noteable_type character varying,
@@ -22025,7 +22563,7 @@ CREATE TABLE sent_notifications (
     note_type character varying,
     "position" text,
     in_reply_to_discussion_id character varying,
-    id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    id bigint NOT NULL
 );
 
 CREATE SEQUENCE sent_notifications_id_seq
@@ -22052,16 +22590,29 @@ CREATE SEQUENCE sentry_issues_id_seq
 
 ALTER SEQUENCE sentry_issues_id_seq OWNED BY sentry_issues.id;
 
-CREATE TABLE serverless_domain_cluster (
-    uuid character varying(14) NOT NULL,
-    pages_domain_id bigint NOT NULL,
-    clusters_applications_knative_id bigint NOT NULL,
-    creator_id bigint,
+CREATE TABLE service_desk_custom_email_credentials (
+    project_id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
-    encrypted_key text,
-    encrypted_key_iv character varying(255),
-    certificate text
+    smtp_port integer,
+    smtp_address text,
+    encrypted_smtp_username bytea,
+    encrypted_smtp_username_iv bytea,
+    encrypted_smtp_password bytea,
+    encrypted_smtp_password_iv bytea,
+    CONSTRAINT check_6dd11e956a CHECK ((char_length(smtp_address) <= 255))
+);
+
+CREATE TABLE service_desk_custom_email_verifications (
+    project_id bigint NOT NULL,
+    triggerer_id bigint,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    triggered_at timestamp with time zone,
+    state smallint DEFAULT 0 NOT NULL,
+    error smallint,
+    encrypted_token bytea,
+    encrypted_token_iv bytea
 );
 
 CREATE TABLE service_desk_settings (
@@ -22077,6 +22628,7 @@ CREATE TABLE service_desk_settings (
     custom_email_smtp_username text,
     encrypted_custom_email_smtp_password bytea,
     encrypted_custom_email_smtp_password_iv bytea,
+    service_desk_enabled boolean DEFAULT true NOT NULL,
     CONSTRAINT check_57a79552e1 CHECK ((char_length(custom_email) <= 255)),
     CONSTRAINT check_b283637a9e CHECK ((char_length(custom_email_smtp_address) <= 255)),
     CONSTRAINT check_e3535d46ee CHECK ((char_length(custom_email_smtp_username) <= 255))
@@ -22212,11 +22764,10 @@ CREATE TABLE snippet_statistics (
 CREATE TABLE snippet_user_mentions (
     id bigint NOT NULL,
     snippet_id integer NOT NULL,
-    note_id integer,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE snippet_user_mentions_id_seq
@@ -22372,7 +22923,8 @@ CREATE TABLE status_check_responses (
     external_approval_rule_id bigint,
     sha bytea NOT NULL,
     external_status_check_id bigint NOT NULL,
-    status smallint DEFAULT 0 NOT NULL
+    status smallint DEFAULT 0 NOT NULL,
+    retried_at timestamp with time zone
 );
 
 CREATE SEQUENCE status_check_responses_id_seq
@@ -22423,6 +22975,45 @@ CREATE SEQUENCE status_page_settings_project_id_seq
 
 ALTER SEQUENCE status_page_settings_project_id_seq OWNED BY status_page_settings.project_id;
 
+CREATE TABLE subscription_add_on_purchases (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    subscription_add_on_id bigint NOT NULL,
+    namespace_id bigint NOT NULL,
+    quantity integer NOT NULL,
+    expires_on date NOT NULL,
+    purchase_xid text NOT NULL,
+    CONSTRAINT check_3313c4d200 CHECK ((char_length(purchase_xid) <= 255))
+);
+
+CREATE SEQUENCE subscription_add_on_purchases_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE subscription_add_on_purchases_id_seq OWNED BY subscription_add_on_purchases.id;
+
+CREATE TABLE subscription_add_ons (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    name smallint NOT NULL,
+    description text NOT NULL,
+    CONSTRAINT check_4c39d15ada CHECK ((char_length(description) <= 512))
+);
+
+CREATE SEQUENCE subscription_add_ons_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE subscription_add_ons_id_seq OWNED BY subscription_add_ons.id;
+
 CREATE TABLE subscriptions (
     id integer NOT NULL,
     user_id integer,
@@ -22445,7 +23036,6 @@ ALTER SEQUENCE subscriptions_id_seq OWNED BY subscriptions.id;
 
 CREATE TABLE suggestions (
     id bigint NOT NULL,
-    note_id integer NOT NULL,
     relative_order smallint NOT NULL,
     applied boolean DEFAULT false NOT NULL,
     commit_id character varying,
@@ -22454,7 +23044,7 @@ CREATE TABLE suggestions (
     lines_above integer DEFAULT 0 NOT NULL,
     lines_below integer DEFAULT 0 NOT NULL,
     outdated boolean DEFAULT false NOT NULL,
-    note_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    note_id bigint NOT NULL
 );
 
 CREATE SEQUENCE suggestions_id_seq
@@ -22468,13 +23058,12 @@ ALTER SEQUENCE suggestions_id_seq OWNED BY suggestions.id;
 
 CREATE TABLE system_note_metadata (
     id integer NOT NULL,
-    note_id integer NOT NULL,
     commit_count integer,
     action character varying,
     created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL,
     description_version_id bigint,
-    note_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
+    note_id bigint NOT NULL
 );
 
 CREATE SEQUENCE system_note_metadata_id_seq
@@ -22582,7 +23171,8 @@ CREATE TABLE terraform_states (
     uuid character varying(32) NOT NULL,
     name character varying(255) NOT NULL,
     versioning_enabled boolean DEFAULT true NOT NULL,
-    deleted_at timestamp with time zone
+    deleted_at timestamp with time zone,
+    activerecord_lock_version integer DEFAULT 0 NOT NULL
 );
 
 CREATE SEQUENCE terraform_states_id_seq
@@ -22627,10 +23217,9 @@ CREATE TABLE timelogs (
     issue_id integer,
     merge_request_id integer,
     spent_at timestamp without time zone DEFAULT now(),
-    note_id integer,
     project_id integer,
     summary text,
-    note_id_convert_to_bigint bigint,
+    note_id bigint,
     CONSTRAINT check_271d321699 CHECK ((char_length(summary) <= 255))
 );
 
@@ -22654,11 +23243,10 @@ CREATE TABLE todos (
     state character varying NOT NULL,
     created_at timestamp without time zone,
     updated_at timestamp without time zone,
-    note_id integer,
     commit_id character varying,
     group_id integer,
     resolved_by_action smallint,
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE todos_id_seq
@@ -22932,6 +23520,9 @@ CREATE TABLE user_details (
     password_last_changed_at timestamp with time zone DEFAULT now() NOT NULL,
     onboarding_step_url text,
     discord text DEFAULT ''::text NOT NULL,
+    provisioned_by_group_at timestamp with time zone,
+    enterprise_group_id bigint,
+    enterprise_group_associated_at timestamp with time zone,
     CONSTRAINT check_245664af82 CHECK ((char_length(webauthn_xid) <= 100)),
     CONSTRAINT check_444573ee52 CHECK ((char_length(skype) <= 500)),
     CONSTRAINT check_466a25be35 CHECK ((char_length(twitter) <= 500)),
@@ -23060,14 +23651,13 @@ CREATE TABLE user_preferences (
     roadmaps_sort character varying,
     first_day_of_week integer,
     timezone character varying,
-    time_display_relative boolean,
-    time_format_in_24h boolean,
+    time_display_relative boolean DEFAULT true,
     projects_sort character varying(64),
     show_whitespace_in_diffs boolean DEFAULT true NOT NULL,
     sourcegraph_enabled boolean,
     setup_for_company boolean,
-    render_whitespace_in_code boolean,
-    tab_width smallint,
+    render_whitespace_in_code boolean DEFAULT false,
+    tab_width smallint DEFAULT 8,
     view_diffs_file_by_file boolean DEFAULT false NOT NULL,
     gitpod_enabled boolean DEFAULT false NOT NULL,
     markdown_surround_selection boolean DEFAULT true NOT NULL,
@@ -23076,6 +23666,13 @@ CREATE TABLE user_preferences (
     markdown_automatic_lists boolean DEFAULT true NOT NULL,
     use_legacy_web_ide boolean DEFAULT false NOT NULL,
     use_new_navigation boolean,
+    achievements_enabled boolean DEFAULT true NOT NULL,
+    pinned_nav_items jsonb DEFAULT '{}'::jsonb NOT NULL,
+    pass_user_identities_to_ci_jwt boolean DEFAULT false NOT NULL,
+    enabled_following boolean DEFAULT true NOT NULL,
+    visibility_pipeline_id_type smallint DEFAULT 0 NOT NULL,
+    project_shortcut_buttons boolean DEFAULT true NOT NULL,
+    enabled_zoekt boolean DEFAULT true NOT NULL,
     CONSTRAINT check_89bf269f41 CHECK ((char_length(diffs_deletion_color) <= 7)),
     CONSTRAINT check_d07ccd35f7 CHECK ((char_length(diffs_addition_color) <= 7))
 );
@@ -23200,7 +23797,7 @@ CREATE TABLE users (
     require_two_factor_authentication_from_group boolean DEFAULT false NOT NULL,
     two_factor_grace_period integer DEFAULT 48 NOT NULL,
     last_activity_on date,
-    notified_of_own_activity boolean,
+    notified_of_own_activity boolean DEFAULT false,
     preferred_language character varying,
     email_opted_in boolean,
     email_opted_in_ip character varying,
@@ -23219,7 +23816,7 @@ CREATE TABLE users (
     last_name character varying(255),
     static_object_token character varying(255),
     role smallint,
-    user_type smallint,
+    user_type smallint DEFAULT 0,
     static_object_token_encrypted text,
     otp_secret_expires_at timestamp with time zone,
     onboarding_in_progress boolean DEFAULT false NOT NULL,
@@ -23286,7 +23883,8 @@ CREATE TABLE users_statistics (
     with_highest_role_owner integer DEFAULT 0 NOT NULL,
     bots integer DEFAULT 0 NOT NULL,
     blocked integer DEFAULT 0 NOT NULL,
-    with_highest_role_minimal_access integer DEFAULT 0 NOT NULL
+    with_highest_role_minimal_access integer DEFAULT 0 NOT NULL,
+    with_highest_role_guest_with_custom_role integer DEFAULT 0 NOT NULL
 );
 
 CREATE SEQUENCE users_statistics_id_seq
@@ -23298,6 +23896,21 @@ CREATE SEQUENCE users_statistics_id_seq
 
 ALTER SEQUENCE users_statistics_id_seq OWNED BY users_statistics.id;
 
+CREATE TABLE value_stream_dashboard_aggregations (
+    namespace_id bigint NOT NULL,
+    last_run_at timestamp with time zone,
+    enabled boolean DEFAULT true NOT NULL
+);
+
+CREATE SEQUENCE value_stream_dashboard_counts_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE value_stream_dashboard_counts_id_seq OWNED BY value_stream_dashboard_counts.id;
+
 CREATE TABLE vulnerabilities (
     id bigint NOT NULL,
     milestone_id bigint,
@@ -23721,6 +24334,7 @@ CREATE TABLE vulnerability_reads (
     cluster_agent_id text,
     casted_cluster_agent_id bigint,
     namespace_id bigint,
+    dismissal_reason smallint,
     CONSTRAINT check_380451bdbe CHECK ((char_length(location_image) <= 2048)),
     CONSTRAINT check_a105eb825a CHECK ((char_length(cluster_agent_id) <= 10))
 );
@@ -23787,7 +24401,7 @@ CREATE TABLE vulnerability_state_transitions (
     author_id bigint,
     comment text,
     dismissal_reason smallint,
-    CONSTRAINT check_d1ca8ec043 CHECK ((from_state <> to_state)),
+    state_changed_at_pipeline_id bigint,
     CONSTRAINT check_fe2eb6a0f3 CHECK ((char_length(comment) <= 50000))
 );
 
@@ -23828,11 +24442,10 @@ ALTER SEQUENCE vulnerability_statistics_id_seq OWNED BY vulnerability_statistics
 CREATE TABLE vulnerability_user_mentions (
     id bigint NOT NULL,
     vulnerability_id bigint NOT NULL,
-    note_id integer,
     mentioned_users_ids integer[],
     mentioned_projects_ids integer[],
     mentioned_groups_ids integer[],
-    note_id_convert_to_bigint bigint
+    note_id bigint
 );
 
 CREATE SEQUENCE vulnerability_user_mentions_id_seq
@@ -23909,7 +24522,6 @@ CREATE TABLE webauthn_registrations (
     credential_xid text NOT NULL,
     name text NOT NULL,
     public_key text NOT NULL,
-    u2f_registration_id integer,
     CONSTRAINT check_2f02e74321 CHECK ((char_length(name) <= 255)),
     CONSTRAINT check_f5ab2b551a CHECK ((char_length(credential_xid) <= 1364))
 );
@@ -24018,7 +24630,10 @@ CREATE TABLE work_item_progresses (
     created_at timestamp with time zone NOT NULL,
     updated_at timestamp with time zone NOT NULL,
     issue_id bigint NOT NULL,
-    progress smallint DEFAULT 0 NOT NULL
+    progress smallint DEFAULT 0 NOT NULL,
+    start_value double precision DEFAULT 0.0 NOT NULL,
+    end_value double precision DEFAULT 100.0 NOT NULL,
+    current_value double precision DEFAULT 0.0 NOT NULL
 );
 
 CREATE TABLE work_item_types (
@@ -24064,6 +24679,49 @@ CREATE SEQUENCE work_item_widget_definitions_id_seq
 
 ALTER SEQUENCE work_item_widget_definitions_id_seq OWNED BY work_item_widget_definitions.id;
 
+CREATE TABLE workspaces (
+    id bigint NOT NULL,
+    created_at timestamp with time zone NOT NULL,
+    updated_at timestamp with time zone NOT NULL,
+    user_id bigint NOT NULL,
+    project_id bigint NOT NULL,
+    cluster_agent_id bigint NOT NULL,
+    desired_state_updated_at timestamp with time zone NOT NULL,
+    responded_to_agent_at timestamp with time zone,
+    max_hours_before_termination smallint NOT NULL,
+    name text NOT NULL,
+    namespace text NOT NULL,
+    desired_state text NOT NULL,
+    actual_state text NOT NULL,
+    editor text NOT NULL,
+    devfile_ref text NOT NULL,
+    devfile_path text NOT NULL,
+    devfile text,
+    processed_devfile text,
+    url text NOT NULL,
+    deployment_resource_version text,
+    CONSTRAINT check_15543fb0fa CHECK ((char_length(name) <= 64)),
+    CONSTRAINT check_157d5f955c CHECK ((char_length(namespace) <= 64)),
+    CONSTRAINT check_2b401b0034 CHECK ((char_length(deployment_resource_version) <= 64)),
+    CONSTRAINT check_77d1a2ff50 CHECK ((char_length(processed_devfile) <= 65535)),
+    CONSTRAINT check_8e363ee3ad CHECK ((char_length(devfile_ref) <= 256)),
+    CONSTRAINT check_8e4db5ffc2 CHECK ((char_length(actual_state) <= 32)),
+    CONSTRAINT check_9e42558c35 CHECK ((char_length(url) <= 1024)),
+    CONSTRAINT check_b70eddcbc1 CHECK ((char_length(desired_state) <= 32)),
+    CONSTRAINT check_d7ed376e49 CHECK ((char_length(editor) <= 256)),
+    CONSTRAINT check_dc58d56169 CHECK ((char_length(devfile_path) <= 2048)),
+    CONSTRAINT check_eb32879a3d CHECK ((char_length(devfile) <= 65535))
+);
+
+CREATE SEQUENCE workspaces_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+ALTER SEQUENCE workspaces_id_seq OWNED BY workspaces.id;
+
 CREATE TABLE x509_certificates (
     id bigint NOT NULL,
     created_at timestamp with time zone NOT NULL,
@@ -24201,8 +24859,14 @@ CREATE SEQUENCE zoom_meetings_id_seq
 
 ALTER SEQUENCE zoom_meetings_id_seq OWNED BY zoom_meetings.id;
 
+ALTER TABLE ONLY abuse_events ALTER COLUMN id SET DEFAULT nextval('abuse_events_id_seq'::regclass);
+
+ALTER TABLE ONLY abuse_report_events ALTER COLUMN id SET DEFAULT nextval('abuse_report_events_id_seq'::regclass);
+
 ALTER TABLE ONLY abuse_reports ALTER COLUMN id SET DEFAULT nextval('abuse_reports_id_seq'::regclass);
 
+ALTER TABLE ONLY abuse_trust_scores ALTER COLUMN id SET DEFAULT nextval('abuse_trust_scores_id_seq'::regclass);
+
 ALTER TABLE ONLY achievements ALTER COLUMN id SET DEFAULT nextval('achievements_id_seq'::regclass);
 
 ALTER TABLE ONLY agent_activity_events ALTER COLUMN id SET DEFAULT nextval('agent_activity_events_id_seq'::regclass);
@@ -24211,7 +24875,9 @@ ALTER TABLE ONLY agent_group_authorizations ALTER COLUMN id SET DEFAULT nextval(
 
 ALTER TABLE ONLY agent_project_authorizations ALTER COLUMN id SET DEFAULT nextval('agent_project_authorizations_id_seq'::regclass);
 
-ALTER TABLE ONLY airflow_dags ALTER COLUMN id SET DEFAULT nextval('airflow_dags_id_seq'::regclass);
+ALTER TABLE ONLY agent_user_access_group_authorizations ALTER COLUMN id SET DEFAULT nextval('agent_user_access_group_authorizations_id_seq'::regclass);
+
+ALTER TABLE ONLY agent_user_access_project_authorizations ALTER COLUMN id SET DEFAULT nextval('agent_user_access_project_authorizations_id_seq'::regclass);
 
 ALTER TABLE ONLY alert_management_alert_assignees ALTER COLUMN id SET DEFAULT nextval('alert_management_alert_assignees_id_seq'::regclass);
 
@@ -24229,10 +24895,6 @@ ALTER TABLE ONLY analytics_cycle_analytics_group_stages ALTER COLUMN id SET DEFA
 
 ALTER TABLE ONLY analytics_cycle_analytics_group_value_streams ALTER COLUMN id SET DEFAULT nextval('analytics_cycle_analytics_group_value_streams_id_seq'::regclass);
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages ALTER COLUMN id SET DEFAULT nextval('analytics_cycle_analytics_project_stages_id_seq'::regclass);
-
-ALTER TABLE ONLY analytics_cycle_analytics_project_value_streams ALTER COLUMN id SET DEFAULT nextval('analytics_cycle_analytics_project_value_streams_id_seq'::regclass);
-
 ALTER TABLE ONLY analytics_cycle_analytics_stage_event_hashes ALTER COLUMN id SET DEFAULT nextval('analytics_cycle_analytics_stage_event_hashes_id_seq'::regclass);
 
 ALTER TABLE ONLY analytics_dashboards_pointers ALTER COLUMN id SET DEFAULT nextval('analytics_dashboards_pointers_id_seq'::regclass);
@@ -24277,10 +24939,16 @@ ALTER TABLE ONLY audit_events ALTER COLUMN id SET DEFAULT nextval('audit_events_
 
 ALTER TABLE ONLY audit_events_external_audit_event_destinations ALTER COLUMN id SET DEFAULT nextval('audit_events_external_audit_event_destinations_id_seq'::regclass);
 
+ALTER TABLE ONLY audit_events_google_cloud_logging_configurations ALTER COLUMN id SET DEFAULT nextval('audit_events_google_cloud_logging_configurations_id_seq'::regclass);
+
+ALTER TABLE ONLY audit_events_instance_external_audit_event_destinations ALTER COLUMN id SET DEFAULT nextval('audit_events_instance_external_audit_event_destinations_id_seq'::regclass);
+
 ALTER TABLE ONLY audit_events_streaming_event_type_filters ALTER COLUMN id SET DEFAULT nextval('audit_events_streaming_event_type_filters_id_seq'::regclass);
 
 ALTER TABLE ONLY audit_events_streaming_headers ALTER COLUMN id SET DEFAULT nextval('audit_events_streaming_headers_id_seq'::regclass);
 
+ALTER TABLE ONLY audit_events_streaming_instance_event_type_filters ALTER COLUMN id SET DEFAULT nextval('audit_events_streaming_instance_event_type_filters_id_seq'::regclass);
+
 ALTER TABLE ONLY authentication_events ALTER COLUMN id SET DEFAULT nextval('authentication_events_id_seq'::regclass);
 
 ALTER TABLE ONLY automation_rules ALTER COLUMN id SET DEFAULT nextval('automation_rules_id_seq'::regclass);
@@ -24325,10 +24993,14 @@ ALTER TABLE ONLY boards_epic_user_preferences ALTER COLUMN id SET DEFAULT nextva
 
 ALTER TABLE ONLY broadcast_messages ALTER COLUMN id SET DEFAULT nextval('broadcast_messages_id_seq'::regclass);
 
+ALTER TABLE ONLY bulk_import_batch_trackers ALTER COLUMN id SET DEFAULT nextval('bulk_import_batch_trackers_id_seq'::regclass);
+
 ALTER TABLE ONLY bulk_import_configurations ALTER COLUMN id SET DEFAULT nextval('bulk_import_configurations_id_seq'::regclass);
 
 ALTER TABLE ONLY bulk_import_entities ALTER COLUMN id SET DEFAULT nextval('bulk_import_entities_id_seq'::regclass);
 
+ALTER TABLE ONLY bulk_import_export_batches ALTER COLUMN id SET DEFAULT nextval('bulk_import_export_batches_id_seq'::regclass);
+
 ALTER TABLE ONLY bulk_import_export_uploads ALTER COLUMN id SET DEFAULT nextval('bulk_import_export_uploads_id_seq'::regclass);
 
 ALTER TABLE ONLY bulk_import_exports ALTER COLUMN id SET DEFAULT nextval('bulk_import_exports_id_seq'::regclass);
@@ -24339,6 +25011,8 @@ ALTER TABLE ONLY bulk_import_trackers ALTER COLUMN id SET DEFAULT nextval('bulk_
 
 ALTER TABLE ONLY bulk_imports ALTER COLUMN id SET DEFAULT nextval('bulk_imports_id_seq'::regclass);
 
+ALTER TABLE ONLY catalog_resources ALTER COLUMN id SET DEFAULT nextval('catalog_resources_id_seq'::regclass);
+
 ALTER TABLE ONLY chat_names ALTER COLUMN id SET DEFAULT nextval('chat_names_id_seq'::regclass);
 
 ALTER TABLE ONLY chat_teams ALTER COLUMN id SET DEFAULT nextval('chat_teams_id_seq'::regclass);
@@ -24349,14 +25023,14 @@ ALTER TABLE ONLY ci_build_pending_states ALTER COLUMN id SET DEFAULT nextval('ci
 
 ALTER TABLE ONLY ci_build_trace_chunks ALTER COLUMN id SET DEFAULT nextval('ci_build_trace_chunks_id_seq'::regclass);
 
-ALTER TABLE ONLY ci_builds ALTER COLUMN id SET DEFAULT nextval('ci_builds_id_seq'::regclass);
-
 ALTER TABLE ONLY ci_builds_runner_session ALTER COLUMN id SET DEFAULT nextval('ci_builds_runner_session_id_seq'::regclass);
 
 ALTER TABLE ONLY ci_daily_build_group_report_results ALTER COLUMN id SET DEFAULT nextval('ci_daily_build_group_report_results_id_seq'::regclass);
 
 ALTER TABLE ONLY ci_deleted_objects ALTER COLUMN id SET DEFAULT nextval('ci_deleted_objects_id_seq'::regclass);
 
+ALTER TABLE ONLY ci_editor_ai_conversation_messages ALTER COLUMN id SET DEFAULT nextval('ci_editor_ai_conversation_messages_id_seq'::regclass);
+
 ALTER TABLE ONLY ci_freeze_periods ALTER COLUMN id SET DEFAULT nextval('ci_freeze_periods_id_seq'::regclass);
 
 ALTER TABLE ONLY ci_group_variables ALTER COLUMN id SET DEFAULT nextval('ci_group_variables_id_seq'::regclass);
@@ -24455,24 +25129,6 @@ ALTER TABLE ONLY cluster_providers_gcp ALTER COLUMN id SET DEFAULT nextval('clus
 
 ALTER TABLE ONLY clusters ALTER COLUMN id SET DEFAULT nextval('clusters_id_seq'::regclass);
 
-ALTER TABLE ONLY clusters_applications_cert_managers ALTER COLUMN id SET DEFAULT nextval('clusters_applications_cert_managers_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_cilium ALTER COLUMN id SET DEFAULT nextval('clusters_applications_cilium_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_crossplane ALTER COLUMN id SET DEFAULT nextval('clusters_applications_crossplane_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_helm ALTER COLUMN id SET DEFAULT nextval('clusters_applications_helm_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_ingress ALTER COLUMN id SET DEFAULT nextval('clusters_applications_ingress_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_jupyter ALTER COLUMN id SET DEFAULT nextval('clusters_applications_jupyter_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_knative ALTER COLUMN id SET DEFAULT nextval('clusters_applications_knative_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_prometheus ALTER COLUMN id SET DEFAULT nextval('clusters_applications_prometheus_id_seq'::regclass);
-
-ALTER TABLE ONLY clusters_applications_runners ALTER COLUMN id SET DEFAULT nextval('clusters_applications_runners_id_seq'::regclass);
-
 ALTER TABLE ONLY clusters_kubernetes_namespaces ALTER COLUMN id SET DEFAULT nextval('clusters_kubernetes_namespaces_id_seq'::regclass);
 
 ALTER TABLE ONLY commit_user_mentions ALTER COLUMN id SET DEFAULT nextval('commit_user_mentions_id_seq'::regclass);
@@ -24541,6 +25197,8 @@ ALTER TABLE ONLY design_management_designs ALTER COLUMN id SET DEFAULT nextval('
 
 ALTER TABLE ONLY design_management_designs_versions ALTER COLUMN id SET DEFAULT nextval('design_management_designs_versions_id_seq'::regclass);
 
+ALTER TABLE ONLY design_management_repositories ALTER COLUMN id SET DEFAULT nextval('design_management_repositories_id_seq'::regclass);
+
 ALTER TABLE ONLY design_management_versions ALTER COLUMN id SET DEFAULT nextval('design_management_versions_id_seq'::regclass);
 
 ALTER TABLE ONLY design_user_mentions ALTER COLUMN id SET DEFAULT nextval('design_user_mentions_id_seq'::regclass);
@@ -24555,6 +25213,8 @@ ALTER TABLE ONLY dora_configurations ALTER COLUMN id SET DEFAULT nextval('dora_c
 
 ALTER TABLE ONLY dora_daily_metrics ALTER COLUMN id SET DEFAULT nextval('dora_daily_metrics_id_seq'::regclass);
 
+ALTER TABLE ONLY dora_performance_scores ALTER COLUMN id SET DEFAULT nextval('dora_performance_scores_id_seq'::regclass);
+
 ALTER TABLE ONLY draft_notes ALTER COLUMN id SET DEFAULT nextval('draft_notes_id_seq'::regclass);
 
 ALTER TABLE ONLY elastic_index_settings ALTER COLUMN id SET DEFAULT nextval('elastic_index_settings_id_seq'::regclass);
@@ -24701,6 +25361,8 @@ ALTER TABLE ONLY index_statuses ALTER COLUMN id SET DEFAULT nextval('index_statu
 
 ALTER TABLE ONLY insights ALTER COLUMN id SET DEFAULT nextval('insights_id_seq'::regclass);
 
+ALTER TABLE ONLY instance_audit_events_streaming_headers ALTER COLUMN id SET DEFAULT nextval('instance_audit_events_streaming_headers_id_seq'::regclass);
+
 ALTER TABLE ONLY integrations ALTER COLUMN id SET DEFAULT nextval('integrations_id_seq'::regclass);
 
 ALTER TABLE ONLY internal_ids ALTER COLUMN id SET DEFAULT nextval('internal_ids_id_seq'::regclass);
@@ -24715,6 +25377,8 @@ ALTER TABLE ONLY issuable_severities ALTER COLUMN id SET DEFAULT nextval('issuab
 
 ALTER TABLE ONLY issuable_slas ALTER COLUMN id SET DEFAULT nextval('issuable_slas_id_seq'::regclass);
 
+ALTER TABLE ONLY issue_assignment_events ALTER COLUMN id SET DEFAULT nextval('issue_assignment_events_id_seq'::regclass);
+
 ALTER TABLE ONLY issue_customer_relations_contacts ALTER COLUMN id SET DEFAULT nextval('issue_customer_relations_contacts_id_seq'::regclass);
 
 ALTER TABLE ONLY issue_email_participants ALTER COLUMN id SET DEFAULT nextval('issue_email_participants_id_seq'::regclass);
@@ -24775,6 +25439,8 @@ ALTER TABLE ONLY members ALTER COLUMN id SET DEFAULT nextval('members_id_seq'::r
 
 ALTER TABLE ONLY merge_request_assignees ALTER COLUMN id SET DEFAULT nextval('merge_request_assignees_id_seq'::regclass);
 
+ALTER TABLE ONLY merge_request_assignment_events ALTER COLUMN id SET DEFAULT nextval('merge_request_assignment_events_id_seq'::regclass);
+
 ALTER TABLE ONLY merge_request_blocks ALTER COLUMN id SET DEFAULT nextval('merge_request_blocks_id_seq'::regclass);
 
 ALTER TABLE ONLY merge_request_cleanup_schedules ALTER COLUMN merge_request_id SET DEFAULT nextval('merge_request_cleanup_schedules_merge_request_id_seq'::regclass);
@@ -24785,6 +25451,8 @@ ALTER TABLE ONLY merge_request_diff_commit_users ALTER COLUMN id SET DEFAULT nex
 
 ALTER TABLE ONLY merge_request_diff_details ALTER COLUMN merge_request_diff_id SET DEFAULT nextval('merge_request_diff_details_merge_request_diff_id_seq'::regclass);
 
+ALTER TABLE ONLY merge_request_diff_llm_summaries ALTER COLUMN id SET DEFAULT nextval('merge_request_diff_llm_summaries_id_seq'::regclass);
+
 ALTER TABLE ONLY merge_request_diffs ALTER COLUMN id SET DEFAULT nextval('merge_request_diffs_id_seq'::regclass);
 
 ALTER TABLE ONLY merge_request_metrics ALTER COLUMN id SET DEFAULT nextval('merge_request_metrics_id_seq'::regclass);
@@ -24837,6 +25505,8 @@ ALTER TABLE ONLY namespaces_sync_events ALTER COLUMN id SET DEFAULT nextval('nam
 
 ALTER TABLE ONLY note_diff_files ALTER COLUMN id SET DEFAULT nextval('note_diff_files_id_seq'::regclass);
 
+ALTER TABLE ONLY note_metadata ALTER COLUMN note_id SET DEFAULT nextval('note_metadata_note_id_seq'::regclass);
+
 ALTER TABLE ONLY notes ALTER COLUMN id SET DEFAULT nextval('notes_id_seq'::regclass);
 
 ALTER TABLE ONLY notification_settings ALTER COLUMN id SET DEFAULT nextval('notification_settings_id_seq'::regclass);
@@ -24867,8 +25537,14 @@ ALTER TABLE ONLY operations_strategies_user_lists ALTER COLUMN id SET DEFAULT ne
 
 ALTER TABLE ONLY operations_user_lists ALTER COLUMN id SET DEFAULT nextval('operations_user_lists_id_seq'::regclass);
 
+ALTER TABLE ONLY organizations ALTER COLUMN id SET DEFAULT nextval('organizations_id_seq'::regclass);
+
+ALTER TABLE ONLY p_ci_builds ALTER COLUMN id SET DEFAULT nextval('ci_builds_id_seq'::regclass);
+
 ALTER TABLE ONLY p_ci_builds_metadata ALTER COLUMN id SET DEFAULT nextval('ci_builds_metadata_id_seq'::regclass);
 
+ALTER TABLE ONLY p_ci_job_annotations ALTER COLUMN id SET DEFAULT nextval('p_ci_job_annotations_id_seq'::regclass);
+
 ALTER TABLE ONLY packages_build_infos ALTER COLUMN id SET DEFAULT nextval('packages_build_infos_id_seq'::regclass);
 
 ALTER TABLE ONLY packages_composer_cache_files ALTER COLUMN id SET DEFAULT nextval('packages_composer_cache_files_id_seq'::regclass);
@@ -24903,10 +25579,10 @@ ALTER TABLE ONLY packages_dependencies ALTER COLUMN id SET DEFAULT nextval('pack
 
 ALTER TABLE ONLY packages_dependency_links ALTER COLUMN id SET DEFAULT nextval('packages_dependency_links_id_seq'::regclass);
 
-ALTER TABLE ONLY packages_events ALTER COLUMN id SET DEFAULT nextval('packages_events_id_seq'::regclass);
-
 ALTER TABLE ONLY packages_maven_metadata ALTER COLUMN id SET DEFAULT nextval('packages_maven_metadata_id_seq'::regclass);
 
+ALTER TABLE ONLY packages_npm_metadata_caches ALTER COLUMN id SET DEFAULT nextval('packages_npm_metadata_caches_id_seq'::regclass);
+
 ALTER TABLE ONLY packages_package_file_build_infos ALTER COLUMN id SET DEFAULT nextval('packages_package_file_build_infos_id_seq'::regclass);
 
 ALTER TABLE ONLY packages_package_files ALTER COLUMN id SET DEFAULT nextval('packages_package_files_id_seq'::regclass);
@@ -24933,6 +25609,12 @@ ALTER TABLE ONLY plan_limits ALTER COLUMN id SET DEFAULT nextval('plan_limits_id
 
 ALTER TABLE ONLY plans ALTER COLUMN id SET DEFAULT nextval('plans_id_seq'::regclass);
 
+ALTER TABLE ONLY pm_advisories ALTER COLUMN id SET DEFAULT nextval('pm_advisories_id_seq'::regclass);
+
+ALTER TABLE ONLY pm_affected_packages ALTER COLUMN id SET DEFAULT nextval('pm_affected_packages_id_seq'::regclass);
+
+ALTER TABLE ONLY pm_checkpoints ALTER COLUMN id SET DEFAULT nextval('pm_checkpoints_id_seq'::regclass);
+
 ALTER TABLE ONLY pm_licenses ALTER COLUMN id SET DEFAULT nextval('pm_licenses_id_seq'::regclass);
 
 ALTER TABLE ONLY pm_package_version_licenses ALTER COLUMN id SET DEFAULT nextval('pm_package_version_licenses_id_seq'::regclass);
@@ -24967,6 +25649,8 @@ ALTER TABLE ONLY project_ci_feature_usages ALTER COLUMN id SET DEFAULT nextval('
 
 ALTER TABLE ONLY project_compliance_framework_settings ALTER COLUMN project_id SET DEFAULT nextval('project_compliance_framework_settings_project_id_seq'::regclass);
 
+ALTER TABLE ONLY project_compliance_standards_adherence ALTER COLUMN id SET DEFAULT nextval('project_compliance_standards_adherence_id_seq'::regclass);
+
 ALTER TABLE ONLY project_custom_attributes ALTER COLUMN id SET DEFAULT nextval('project_custom_attributes_id_seq'::regclass);
 
 ALTER TABLE ONLY project_daily_statistics ALTER COLUMN id SET DEFAULT nextval('project_daily_statistics_id_seq'::regclass);
@@ -24999,6 +25683,8 @@ ALTER TABLE ONLY project_repository_storage_moves ALTER COLUMN id SET DEFAULT ne
 
 ALTER TABLE ONLY project_security_settings ALTER COLUMN project_id SET DEFAULT nextval('project_security_settings_project_id_seq'::regclass);
 
+ALTER TABLE ONLY project_states ALTER COLUMN id SET DEFAULT nextval('project_states_id_seq'::regclass);
+
 ALTER TABLE ONLY project_statistics ALTER COLUMN id SET DEFAULT nextval('project_statistics_id_seq'::regclass);
 
 ALTER TABLE ONLY project_topics ALTER COLUMN id SET DEFAULT nextval('project_topics_id_seq'::regclass);
@@ -25045,6 +25731,8 @@ ALTER TABLE ONLY release_links ALTER COLUMN id SET DEFAULT nextval('release_link
 
 ALTER TABLE ONLY releases ALTER COLUMN id SET DEFAULT nextval('releases_id_seq'::regclass);
 
+ALTER TABLE ONLY remote_development_agent_configs ALTER COLUMN id SET DEFAULT nextval('remote_development_agent_configs_id_seq'::regclass);
+
 ALTER TABLE ONLY remote_mirrors ALTER COLUMN id SET DEFAULT nextval('remote_mirrors_id_seq'::regclass);
 
 ALTER TABLE ONLY required_code_owners_sections ALTER COLUMN id SET DEFAULT nextval('required_code_owners_sections_id_seq'::regclass);
@@ -25057,6 +25745,8 @@ ALTER TABLE ONLY resource_iteration_events ALTER COLUMN id SET DEFAULT nextval('
 
 ALTER TABLE ONLY resource_label_events ALTER COLUMN id SET DEFAULT nextval('resource_label_events_id_seq'::regclass);
 
+ALTER TABLE ONLY resource_link_events ALTER COLUMN id SET DEFAULT nextval('resource_link_events_id_seq'::regclass);
+
 ALTER TABLE ONLY resource_milestone_events ALTER COLUMN id SET DEFAULT nextval('resource_milestone_events_id_seq'::regclass);
 
 ALTER TABLE ONLY resource_state_events ALTER COLUMN id SET DEFAULT nextval('resource_state_events_id_seq'::regclass);
@@ -25085,10 +25775,16 @@ ALTER TABLE ONLY sbom_vulnerable_component_versions ALTER COLUMN id SET DEFAULT
 
 ALTER TABLE ONLY scan_result_policies ALTER COLUMN id SET DEFAULT nextval('scan_result_policies_id_seq'::regclass);
 
+ALTER TABLE ONLY schema_inconsistencies ALTER COLUMN id SET DEFAULT nextval('schema_inconsistencies_id_seq'::regclass);
+
 ALTER TABLE ONLY scim_identities ALTER COLUMN id SET DEFAULT nextval('scim_identities_id_seq'::regclass);
 
 ALTER TABLE ONLY scim_oauth_access_tokens ALTER COLUMN id SET DEFAULT nextval('scim_oauth_access_tokens_id_seq'::regclass);
 
+ALTER TABLE ONLY search_indices ALTER COLUMN id SET DEFAULT nextval('search_indices_id_seq'::regclass);
+
+ALTER TABLE ONLY search_namespace_index_assignments ALTER COLUMN id SET DEFAULT nextval('search_namespace_index_assignments_id_seq'::regclass);
+
 ALTER TABLE ONLY security_findings ALTER COLUMN id SET DEFAULT nextval('security_findings_id_seq'::regclass);
 
 ALTER TABLE ONLY security_orchestration_policy_configurations ALTER COLUMN id SET DEFAULT nextval('security_orchestration_policy_configurations_id_seq'::regclass);
@@ -25139,6 +25835,10 @@ ALTER TABLE ONLY status_page_published_incidents ALTER COLUMN id SET DEFAULT nex
 
 ALTER TABLE ONLY status_page_settings ALTER COLUMN project_id SET DEFAULT nextval('status_page_settings_project_id_seq'::regclass);
 
+ALTER TABLE ONLY subscription_add_on_purchases ALTER COLUMN id SET DEFAULT nextval('subscription_add_on_purchases_id_seq'::regclass);
+
+ALTER TABLE ONLY subscription_add_ons ALTER COLUMN id SET DEFAULT nextval('subscription_add_ons_id_seq'::regclass);
+
 ALTER TABLE ONLY subscriptions ALTER COLUMN id SET DEFAULT nextval('subscriptions_id_seq'::regclass);
 
 ALTER TABLE ONLY suggestions ALTER COLUMN id SET DEFAULT nextval('suggestions_id_seq'::regclass);
@@ -25209,6 +25909,8 @@ ALTER TABLE ONLY users_star_projects ALTER COLUMN id SET DEFAULT nextval('users_
 
 ALTER TABLE ONLY users_statistics ALTER COLUMN id SET DEFAULT nextval('users_statistics_id_seq'::regclass);
 
+ALTER TABLE ONLY value_stream_dashboard_counts ALTER COLUMN id SET DEFAULT nextval('value_stream_dashboard_counts_id_seq'::regclass);
+
 ALTER TABLE ONLY vulnerabilities ALTER COLUMN id SET DEFAULT nextval('vulnerabilities_id_seq'::regclass);
 
 ALTER TABLE ONLY vulnerability_advisories ALTER COLUMN id SET DEFAULT nextval('vulnerability_advisories_id_seq'::regclass);
@@ -25275,6 +25977,8 @@ ALTER TABLE ONLY work_item_types ALTER COLUMN id SET DEFAULT nextval('work_item_
 
 ALTER TABLE ONLY work_item_widget_definitions ALTER COLUMN id SET DEFAULT nextval('work_item_widget_definitions_id_seq'::regclass);
 
+ALTER TABLE ONLY workspaces ALTER COLUMN id SET DEFAULT nextval('workspaces_id_seq'::regclass);
+
 ALTER TABLE ONLY x509_certificates ALTER COLUMN id SET DEFAULT nextval('x509_certificates_id_seq'::regclass);
 
 ALTER TABLE ONLY x509_commit_signatures ALTER COLUMN id SET DEFAULT nextval('x509_commit_signatures_id_seq'::regclass);
@@ -25877,9 +26581,18 @@ ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_
 ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_63
     ADD CONSTRAINT product_analytics_events_experimental_63_pkey PRIMARY KEY (id, project_id);
 
+ALTER TABLE ONLY abuse_events
+    ADD CONSTRAINT abuse_events_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY abuse_report_events
+    ADD CONSTRAINT abuse_report_events_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY abuse_reports
     ADD CONSTRAINT abuse_reports_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY abuse_trust_scores
+    ADD CONSTRAINT abuse_trust_scores_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY achievements
     ADD CONSTRAINT achievements_pkey PRIMARY KEY (id);
 
@@ -25892,8 +26605,11 @@ ALTER TABLE ONLY agent_group_authorizations
 ALTER TABLE ONLY agent_project_authorizations
     ADD CONSTRAINT agent_project_authorizations_pkey PRIMARY KEY (id);
 
-ALTER TABLE ONLY airflow_dags
-    ADD CONSTRAINT airflow_dags_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY agent_user_access_group_authorizations
+    ADD CONSTRAINT agent_user_access_group_authorizations_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY agent_user_access_project_authorizations
+    ADD CONSTRAINT agent_user_access_project_authorizations_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY alert_management_alert_assignees
     ADD CONSTRAINT alert_management_alert_assignees_pkey PRIMARY KEY (id);
@@ -25922,12 +26638,6 @@ ALTER TABLE ONLY analytics_cycle_analytics_group_stages
 ALTER TABLE ONLY analytics_cycle_analytics_group_value_streams
     ADD CONSTRAINT analytics_cycle_analytics_group_value_streams_pkey PRIMARY KEY (id);
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT analytics_cycle_analytics_project_stages_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY analytics_cycle_analytics_project_value_streams
-    ADD CONSTRAINT analytics_cycle_analytics_project_value_streams_pkey PRIMARY KEY (id);
-
 ALTER TABLE ONLY analytics_cycle_analytics_stage_event_hashes
     ADD CONSTRAINT analytics_cycle_analytics_stage_event_hashes_pkey PRIMARY KEY (id);
 
@@ -25997,6 +26707,12 @@ ALTER TABLE ONLY atlassian_identities
 ALTER TABLE ONLY audit_events_external_audit_event_destinations
     ADD CONSTRAINT audit_events_external_audit_event_destinations_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY audit_events_google_cloud_logging_configurations
+    ADD CONSTRAINT audit_events_google_cloud_logging_configurations_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY audit_events_instance_external_audit_event_destinations
+    ADD CONSTRAINT audit_events_instance_external_audit_event_destinations_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY audit_events
     ADD CONSTRAINT audit_events_pkey PRIMARY KEY (id, created_at);
 
@@ -26006,6 +26722,9 @@ ALTER TABLE ONLY audit_events_streaming_event_type_filters
 ALTER TABLE ONLY audit_events_streaming_headers
     ADD CONSTRAINT audit_events_streaming_headers_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY audit_events_streaming_instance_event_type_filters
+    ADD CONSTRAINT audit_events_streaming_instance_event_type_filters_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY authentication_events
     ADD CONSTRAINT authentication_events_pkey PRIMARY KEY (id);
 
@@ -26078,12 +26797,18 @@ ALTER TABLE ONLY boards
 ALTER TABLE ONLY broadcast_messages
     ADD CONSTRAINT broadcast_messages_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY bulk_import_batch_trackers
+    ADD CONSTRAINT bulk_import_batch_trackers_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY bulk_import_configurations
     ADD CONSTRAINT bulk_import_configurations_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY bulk_import_entities
     ADD CONSTRAINT bulk_import_entities_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY bulk_import_export_batches
+    ADD CONSTRAINT bulk_import_export_batches_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY bulk_import_export_uploads
     ADD CONSTRAINT bulk_import_export_uploads_pkey PRIMARY KEY (id);
 
@@ -26099,17 +26824,23 @@ ALTER TABLE ONLY bulk_import_trackers
 ALTER TABLE ONLY bulk_imports
     ADD CONSTRAINT bulk_imports_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY catalog_resources
+    ADD CONSTRAINT catalog_resources_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY chat_names
     ADD CONSTRAINT chat_names_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY chat_teams
     ADD CONSTRAINT chat_teams_pkey PRIMARY KEY (id);
 
+ALTER TABLE users
+    ADD CONSTRAINT check_0dd5948e38 CHECK ((user_type IS NOT NULL)) NOT VALID;
+
 ALTER TABLE vulnerability_scanners
     ADD CONSTRAINT check_37608c9db5 CHECK ((char_length(vendor) <= 255)) NOT VALID;
 
-ALTER TABLE oauth_access_tokens
-    ADD CONSTRAINT check_70f294ef54 CHECK ((expires_in IS NOT NULL)) NOT VALID;
+ALTER TABLE personal_access_tokens
+    ADD CONSTRAINT check_b8d60815eb CHECK ((expires_at IS NOT NULL)) NOT VALID;
 
 ALTER TABLE sprints
     ADD CONSTRAINT check_ccd8a1eae0 CHECK ((start_date IS NOT NULL)) NOT VALID;
@@ -26147,18 +26878,27 @@ ALTER TABLE ONLY p_ci_builds_metadata
 ALTER TABLE ONLY ci_builds_metadata
     ADD CONSTRAINT ci_builds_metadata_pkey PRIMARY KEY (id, partition_id);
 
+ALTER TABLE ONLY p_ci_builds
+    ADD CONSTRAINT p_ci_builds_pkey PRIMARY KEY (id, partition_id);
+
 ALTER TABLE ONLY ci_builds
-    ADD CONSTRAINT ci_builds_pkey PRIMARY KEY (id);
+    ADD CONSTRAINT ci_builds_pkey PRIMARY KEY (id, partition_id);
 
 ALTER TABLE ONLY ci_builds_runner_session
     ADD CONSTRAINT ci_builds_runner_session_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY ci_cost_settings
+    ADD CONSTRAINT ci_cost_settings_pkey PRIMARY KEY (runner_id);
+
 ALTER TABLE ONLY ci_daily_build_group_report_results
     ADD CONSTRAINT ci_daily_build_group_report_results_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY ci_deleted_objects
     ADD CONSTRAINT ci_deleted_objects_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY ci_editor_ai_conversation_messages
+    ADD CONSTRAINT ci_editor_ai_conversation_messages_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY ci_freeze_periods
     ADD CONSTRAINT ci_freeze_periods_pkey PRIMARY KEY (id);
 
@@ -26315,33 +27055,6 @@ ALTER TABLE ONLY cluster_providers_aws
 ALTER TABLE ONLY cluster_providers_gcp
     ADD CONSTRAINT cluster_providers_gcp_pkey PRIMARY KEY (id);
 
-ALTER TABLE ONLY clusters_applications_cert_managers
-    ADD CONSTRAINT clusters_applications_cert_managers_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_cilium
-    ADD CONSTRAINT clusters_applications_cilium_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_crossplane
-    ADD CONSTRAINT clusters_applications_crossplane_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_helm
-    ADD CONSTRAINT clusters_applications_helm_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_ingress
-    ADD CONSTRAINT clusters_applications_ingress_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_jupyter
-    ADD CONSTRAINT clusters_applications_jupyter_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_knative
-    ADD CONSTRAINT clusters_applications_knative_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_prometheus
-    ADD CONSTRAINT clusters_applications_prometheus_pkey PRIMARY KEY (id);
-
-ALTER TABLE ONLY clusters_applications_runners
-    ADD CONSTRAINT clusters_applications_runners_pkey PRIMARY KEY (id);
-
 ALTER TABLE ONLY clusters_integration_prometheus
     ADD CONSTRAINT clusters_integration_prometheus_pkey PRIMARY KEY (cluster_id);
 
@@ -26360,9 +27073,15 @@ ALTER TABLE ONLY compliance_management_frameworks
 ALTER TABLE ONLY container_expiration_policies
     ADD CONSTRAINT container_expiration_policies_pkey PRIMARY KEY (project_id);
 
+ALTER TABLE ONLY container_registry_data_repair_details
+    ADD CONSTRAINT container_registry_data_repair_details_pkey PRIMARY KEY (project_id);
+
 ALTER TABLE ONLY container_repositories
     ADD CONSTRAINT container_repositories_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY container_repository_states
+    ADD CONSTRAINT container_repository_states_pkey PRIMARY KEY (container_repository_id);
+
 ALTER TABLE ONLY content_blocked_states
     ADD CONSTRAINT content_blocked_states_pkey PRIMARY KEY (id);
 
@@ -26432,6 +27151,12 @@ ALTER TABLE ONLY dast_site_validations
 ALTER TABLE ONLY dast_sites
     ADD CONSTRAINT dast_sites_pkey PRIMARY KEY (id);
 
+ALTER TABLE namespace_settings
+    ADD CONSTRAINT default_branch_protection_defaults_size_constraint CHECK ((octet_length((default_branch_protection_defaults)::text) <= 1024)) NOT VALID;
+
+ALTER TABLE application_settings
+    ADD CONSTRAINT default_branch_protection_defaults_size_constraint CHECK ((octet_length((default_branch_protection_defaults)::text) <= 1024)) NOT VALID;
+
 ALTER TABLE ONLY dependency_list_exports
     ADD CONSTRAINT dependency_list_exports_pkey PRIMARY KEY (id);
 
@@ -26453,6 +27178,9 @@ ALTER TABLE ONLY dependency_proxy_manifest_states
 ALTER TABLE ONLY dependency_proxy_manifests
     ADD CONSTRAINT dependency_proxy_manifests_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY dependency_proxy_packages_settings
+    ADD CONSTRAINT dependency_proxy_packages_settings_pkey PRIMARY KEY (project_id);
+
 ALTER TABLE ONLY deploy_keys_projects
     ADD CONSTRAINT deploy_keys_projects_pkey PRIMARY KEY (id);
 
@@ -26480,6 +27208,12 @@ ALTER TABLE ONLY design_management_designs
 ALTER TABLE ONLY design_management_designs_versions
     ADD CONSTRAINT design_management_designs_versions_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY design_management_repositories
+    ADD CONSTRAINT design_management_repositories_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY design_management_repository_states
+    ADD CONSTRAINT design_management_repository_states_pkey PRIMARY KEY (design_management_repository_id);
+
 ALTER TABLE ONLY design_management_versions
     ADD CONSTRAINT design_management_versions_pkey PRIMARY KEY (id);
 
@@ -26501,6 +27235,9 @@ ALTER TABLE ONLY dora_configurations
 ALTER TABLE ONLY dora_daily_metrics
     ADD CONSTRAINT dora_daily_metrics_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY dora_performance_scores
+    ADD CONSTRAINT dora_performance_scores_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY draft_notes
     ADD CONSTRAINT draft_notes_pkey PRIMARY KEY (id);
 
@@ -26744,6 +27481,9 @@ ALTER TABLE ONLY index_statuses
 ALTER TABLE ONLY insights
     ADD CONSTRAINT insights_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY instance_audit_events_streaming_headers
+    ADD CONSTRAINT instance_audit_events_streaming_headers_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY integrations
     ADD CONSTRAINT integrations_pkey PRIMARY KEY (id);
 
@@ -26768,6 +27508,9 @@ ALTER TABLE ONLY issuable_slas
 ALTER TABLE ONLY issue_assignees
     ADD CONSTRAINT issue_assignees_pkey PRIMARY KEY (issue_id, user_id);
 
+ALTER TABLE ONLY issue_assignment_events
+    ADD CONSTRAINT issue_assignment_events_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY issue_customer_relations_contacts
     ADD CONSTRAINT issue_customer_relations_contacts_pkey PRIMARY KEY (id);
 
@@ -26867,6 +27610,9 @@ ALTER TABLE ONLY members
 ALTER TABLE ONLY merge_request_assignees
     ADD CONSTRAINT merge_request_assignees_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY merge_request_assignment_events
+    ADD CONSTRAINT merge_request_assignment_events_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY merge_request_blocks
     ADD CONSTRAINT merge_request_blocks_pkey PRIMARY KEY (id);
 
@@ -26891,6 +27637,9 @@ ALTER TABLE ONLY merge_request_diff_details
 ALTER TABLE ONLY merge_request_diff_files
     ADD CONSTRAINT merge_request_diff_files_pkey PRIMARY KEY (merge_request_diff_id, relative_order);
 
+ALTER TABLE ONLY merge_request_diff_llm_summaries
+    ADD CONSTRAINT merge_request_diff_llm_summaries_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY merge_request_diffs
     ADD CONSTRAINT merge_request_diffs_pkey PRIMARY KEY (id);
 
@@ -26966,6 +27715,9 @@ ALTER TABLE ONLY namespace_commit_emails
 ALTER TABLE ONLY namespace_details
     ADD CONSTRAINT namespace_details_pkey PRIMARY KEY (namespace_id);
 
+ALTER TABLE ONLY namespace_ldap_settings
+    ADD CONSTRAINT namespace_ldap_settings_pkey PRIMARY KEY (namespace_id);
+
 ALTER TABLE ONLY namespace_limits
     ADD CONSTRAINT namespace_limits_pkey PRIMARY KEY (namespace_id);
 
@@ -26993,6 +27745,9 @@ ALTER TABLE ONLY namespaces_sync_events
 ALTER TABLE ONLY note_diff_files
     ADD CONSTRAINT note_diff_files_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY note_metadata
+    ADD CONSTRAINT note_metadata_pkey PRIMARY KEY (note_id);
+
 ALTER TABLE ONLY notes
     ADD CONSTRAINT notes_pkey PRIMARY KEY (id);
 
@@ -27038,6 +27793,15 @@ ALTER TABLE ONLY operations_strategies_user_lists
 ALTER TABLE ONLY operations_user_lists
     ADD CONSTRAINT operations_user_lists_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY organizations
+    ADD CONSTRAINT organizations_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY p_ci_job_annotations
+    ADD CONSTRAINT p_ci_job_annotations_pkey PRIMARY KEY (id, partition_id);
+
+ALTER TABLE ONLY p_ci_runner_machine_builds
+    ADD CONSTRAINT p_ci_runner_machine_builds_pkey PRIMARY KEY (build_id, partition_id);
+
 ALTER TABLE ONLY packages_build_infos
     ADD CONSTRAINT packages_build_infos_pkey PRIMARY KEY (id);
 
@@ -27098,15 +27862,15 @@ ALTER TABLE ONLY packages_dependencies
 ALTER TABLE ONLY packages_dependency_links
     ADD CONSTRAINT packages_dependency_links_pkey PRIMARY KEY (id);
 
-ALTER TABLE ONLY packages_events
-    ADD CONSTRAINT packages_events_pkey PRIMARY KEY (id);
-
 ALTER TABLE ONLY packages_helm_file_metadata
     ADD CONSTRAINT packages_helm_file_metadata_pkey PRIMARY KEY (package_file_id);
 
 ALTER TABLE ONLY packages_maven_metadata
     ADD CONSTRAINT packages_maven_metadata_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY packages_npm_metadata_caches
+    ADD CONSTRAINT packages_npm_metadata_caches_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY packages_npm_metadata
     ADD CONSTRAINT packages_npm_metadata_pkey PRIMARY KEY (package_id);
 
@@ -27164,8 +27928,14 @@ ALTER TABLE ONLY plan_limits
 ALTER TABLE ONLY plans
     ADD CONSTRAINT plans_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY pm_advisories
+    ADD CONSTRAINT pm_advisories_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY pm_affected_packages
+    ADD CONSTRAINT pm_affected_packages_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY pm_checkpoints
-    ADD CONSTRAINT pm_checkpoints_pkey PRIMARY KEY (purl_type);
+    ADD CONSTRAINT pm_checkpoints_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY pm_licenses
     ADD CONSTRAINT pm_licenses_pkey PRIMARY KEY (id);
@@ -27224,6 +27994,9 @@ ALTER TABLE ONLY project_ci_feature_usages
 ALTER TABLE ONLY project_compliance_framework_settings
     ADD CONSTRAINT project_compliance_framework_settings_pkey PRIMARY KEY (project_id);
 
+ALTER TABLE ONLY project_compliance_standards_adherence
+    ADD CONSTRAINT project_compliance_standards_adherence_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY project_custom_attributes
     ADD CONSTRAINT project_custom_attributes_pkey PRIMARY KEY (id);
 
@@ -27287,6 +28060,9 @@ ALTER TABLE ONLY project_security_settings
 ALTER TABLE ONLY project_settings
     ADD CONSTRAINT project_settings_pkey PRIMARY KEY (project_id);
 
+ALTER TABLE ONLY project_states
+    ADD CONSTRAINT project_states_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY project_statistics
     ADD CONSTRAINT project_statistics_pkey PRIMARY KEY (id);
 
@@ -27296,9 +28072,6 @@ ALTER TABLE ONLY project_topics
 ALTER TABLE ONLY project_wiki_repositories
     ADD CONSTRAINT project_wiki_repositories_pkey PRIMARY KEY (id);
 
-ALTER TABLE ONLY project_wiki_repository_states
-    ADD CONSTRAINT project_wiki_repository_states_pkey PRIMARY KEY (project_id);
-
 ALTER TABLE ONLY projects
     ADD CONSTRAINT projects_pkey PRIMARY KEY (id);
 
@@ -27365,6 +28138,9 @@ ALTER TABLE releases
 ALTER TABLE ONLY releases
     ADD CONSTRAINT releases_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY remote_development_agent_configs
+    ADD CONSTRAINT remote_development_agent_configs_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY remote_mirrors
     ADD CONSTRAINT remote_mirrors_pkey PRIMARY KEY (id);
 
@@ -27386,6 +28162,9 @@ ALTER TABLE ONLY resource_iteration_events
 ALTER TABLE ONLY resource_label_events
     ADD CONSTRAINT resource_label_events_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY resource_link_events
+    ADD CONSTRAINT resource_link_events_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY resource_milestone_events
     ADD CONSTRAINT resource_milestone_events_pkey PRIMARY KEY (id);
 
@@ -27428,12 +28207,21 @@ ALTER TABLE ONLY sbom_vulnerable_component_versions
 ALTER TABLE ONLY scan_result_policies
     ADD CONSTRAINT scan_result_policies_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY schema_inconsistencies
+    ADD CONSTRAINT schema_inconsistencies_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY scim_identities
     ADD CONSTRAINT scim_identities_pkey PRIMARY KEY (id);
 
 ALTER TABLE ONLY scim_oauth_access_tokens
     ADD CONSTRAINT scim_oauth_access_tokens_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY search_indices
+    ADD CONSTRAINT search_indices_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY search_namespace_index_assignments
+    ADD CONSTRAINT search_namespace_index_assignments_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY security_findings
     ADD CONSTRAINT security_findings_pkey PRIMARY KEY (id, partition_number);
 
@@ -27464,8 +28252,11 @@ ALTER TABLE ONLY sentry_issues
 ALTER TABLE ONLY sprints
     ADD CONSTRAINT sequence_is_unique_per_iterations_cadence_id UNIQUE (iterations_cadence_id, sequence) DEFERRABLE INITIALLY DEFERRED;
 
-ALTER TABLE ONLY serverless_domain_cluster
-    ADD CONSTRAINT serverless_domain_cluster_pkey PRIMARY KEY (uuid);
+ALTER TABLE ONLY service_desk_custom_email_credentials
+    ADD CONSTRAINT service_desk_custom_email_credentials_pkey PRIMARY KEY (project_id);
+
+ALTER TABLE ONLY service_desk_custom_email_verifications
+    ADD CONSTRAINT service_desk_custom_email_verifications_pkey PRIMARY KEY (project_id);
 
 ALTER TABLE ONLY service_desk_settings
     ADD CONSTRAINT service_desk_settings_pkey PRIMARY KEY (project_id);
@@ -27524,6 +28315,12 @@ ALTER TABLE ONLY status_page_published_incidents
 ALTER TABLE ONLY status_page_settings
     ADD CONSTRAINT status_page_settings_pkey PRIMARY KEY (project_id);
 
+ALTER TABLE ONLY subscription_add_on_purchases
+    ADD CONSTRAINT subscription_add_on_purchases_pkey PRIMARY KEY (id);
+
+ALTER TABLE ONLY subscription_add_ons
+    ADD CONSTRAINT subscription_add_ons_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY subscriptions
     ADD CONSTRAINT subscriptions_pkey PRIMARY KEY (id);
 
@@ -27647,6 +28444,12 @@ ALTER TABLE ONLY users_star_projects
 ALTER TABLE ONLY users_statistics
     ADD CONSTRAINT users_statistics_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY value_stream_dashboard_aggregations
+    ADD CONSTRAINT value_stream_dashboard_aggregations_pkey PRIMARY KEY (namespace_id);
+
+ALTER TABLE ONLY value_stream_dashboard_counts
+    ADD CONSTRAINT value_stream_dashboard_counts_pkey PRIMARY KEY (namespace_id, metric, recorded_at, count, id);
+
 ALTER TABLE ONLY verification_codes
     ADD CONSTRAINT verification_codes_pkey PRIMARY KEY (created_at, visitor_id_code, code, phone);
 
@@ -27752,6 +28555,9 @@ ALTER TABLE ONLY work_item_types
 ALTER TABLE ONLY work_item_widget_definitions
     ADD CONSTRAINT work_item_widget_definitions_pkey PRIMARY KEY (id);
 
+ALTER TABLE ONLY workspaces
+    ADD CONSTRAINT workspaces_pkey PRIMARY KEY (id);
+
 ALTER TABLE ONLY x509_certificates
     ADD CONSTRAINT x509_certificates_pkey PRIMARY KEY (id);
 
@@ -27781,6 +28587,10 @@ CREATE INDEX index_merge_request_stage_events_project_duration ON ONLY analytics
 
 CREATE INDEX index_006f943df6 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_16 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_issue_stage_events_for_consistency_check ON ONLY analytics_cycle_analytics_issue_stage_events USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_009e6c1133 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_26 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_02749b504c ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_11 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_merge_request_stage_events_group_duration ON ONLY analytics_cycle_analytics_merge_request_stage_events USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -27813,6 +28623,8 @@ CREATE INDEX index_issue_stage_events_project_in_progress_duration ON ONLY analy
 
 CREATE INDEX index_0d837a5dda ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_03 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_0e98daa03c ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_04 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_0f28a65451 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_09 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_10588dbff0 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_13 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27831,6 +28643,8 @@ CREATE INDEX index_14f3645821 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_16627b455e ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_27 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_17fa2812c5 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_17 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_1a0388713a ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_22 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_1a349ed064 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_24 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27847,8 +28661,14 @@ CREATE INDEX index_201c5ddbe9 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_20353089e0 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_20 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_mr_stage_events_for_consistency_check ON ONLY analytics_cycle_analytics_merge_request_stage_events USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_203dd694bc ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_07 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_206349925b ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_01 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_2098118748 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_15 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_21db459e34 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_19 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_21e262390a ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_16 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -27881,6 +28701,8 @@ CREATE INDEX index_27d7ad78d8 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_281840d2d1 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_06 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_2945cf4c6d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_27 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_296f64df5c ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_01 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_2ad4b4fdbc ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_05 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27913,6 +28735,8 @@ CREATE INDEX index_3640194b77 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_372160a706 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_28 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_389dd3c9fc ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_25 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_38a538234e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_09 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_39625b8a41 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_05 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -27921,10 +28745,14 @@ CREATE INDEX index_399dc06649 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_3a10b315c0 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_28 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_3a8848c00b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_28 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_3c2a3a6ac9 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_06 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_3e6be332b7 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_27 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_4137a6fac3 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_17 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_41a1c3a4c6 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_29 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_435802dd01 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_01 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27935,10 +28763,14 @@ CREATE INDEX index_453a659cb6 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_46b989b294 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_02 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_4717e7049b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_05 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_47638677a3 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_04 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_4810ac88f5 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_24 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_482a09e0ee ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_04 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_491b4b749e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_20 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_4a243772d7 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_15 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27965,6 +28797,10 @@ CREATE INDEX index_4f2eb7a06b ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_4f6fc34e57 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_31 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_50272372ba ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_09 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_5034eae5ff ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_05 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_50c09f6e04 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_06 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_5111e3e7e7 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_18 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27973,16 +28809,24 @@ CREATE INDEX index_52ea79bf8e ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_541cc045fc ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_26 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_5445e466ee ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_24 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_551676e972 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_01 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_56281bfb73 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_21 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_5660b1b38e ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_24 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_584c1e6fb0 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_11 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_5913107510 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_30 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_59a8209ab6 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_07 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_59ce40fcc4 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_24 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_59cfd5bc9a ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_12 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_5a5f39d824 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_19 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_5b613b5fcf ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_25 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -27991,10 +28835,16 @@ CREATE INDEX index_5b944f308d ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_5bc2f32084 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_13 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_5bfa62771b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_11 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_5c4053b63d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_19 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_5db09170d4 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_16 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_5e46aea379 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_27 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_5e78c2eac1 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_31 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_5ee060202f ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_20 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_5f24f6ead2 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_05 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28017,8 +28867,12 @@ CREATE INDEX index_64e3a1dfa1 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_64eb4cf8bd ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_12 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_6578d04baa ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_08 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_6580ecb2db ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_18 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_66a736da09 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_06 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_682eba05f6 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_04 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_69bdcf213e ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_09 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28031,6 +28885,10 @@ CREATE INDEX index_6b1ce61c8f ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_6cfb391b86 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_21 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_6e560c1a4d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_23 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_6e64aa1646 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_18 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_6e6c2e6a1d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_04 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_6ea423bbd1 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_30 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28041,6 +28899,8 @@ CREATE INDEX index_6f4e0abe54 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_6fa47e1334 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_23 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_708d792ae9 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_19 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_70c657954b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_18 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_71c2b26944 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_08 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28067,6 +28927,8 @@ CREATE INDEX index_7ead2300ca ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_7ecb5b68b4 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_07 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_7f543eed8d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_13 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_807671c4be ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_13 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_807fa83fc0 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_31 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28077,6 +28939,8 @@ CREATE INDEX index_81b9cf594f ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_82c675952c ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_14 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_837cc295f1 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_01 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_83c5049b3e ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_31 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_83edf231b8 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_21 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28093,20 +28957,32 @@ CREATE INDEX index_87d40fb9f9 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_88b40d6740 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_23 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_89c49cf697 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_10 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_89c79afe5c ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_28 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_8a0fc3de4f ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_29 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_8a8eb06b9a ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_29 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_8b1b6b03b4 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_28 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_8b9f9a19a4 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_18 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_8fb48e72ce ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_26 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_918bb2ebbb ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_18 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_91d5e4e3df ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_08 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_9201b952a0 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_13 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_92c09e352b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_02 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_9490e0e0b7 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_12 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_9555c2ae92 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_16 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_95a353f50b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_27 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_971af9481e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_10 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28115,6 +28991,8 @@ CREATE INDEX index_9955b1dc59 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_9b8e89ae41 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_08 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_9d0e953ab3 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_03 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_9ee83b068b ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_25 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_a1a9dc36c1 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_11 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28123,6 +29001,8 @@ CREATE INDEX index_a2d9f185a5 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_a3feed3097 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_21 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_a46b7b7f26 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_02 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_a6999c65c9 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_09 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_a6c68d16b2 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_14 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28131,10 +29011,16 @@ CREATE INDEX index_a8276a450f ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_a88f20fc98 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_11 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_a8fe03fe34 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_26 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_a9424aa392 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_01 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_a99cee1904 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_23 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_a9b1763c36 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_23 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_a9ba23c88e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_13 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_a9deff2159 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_26 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_aabc184267 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_25 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28143,6 +29029,8 @@ CREATE INDEX index_ab22231a16 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_abbdf80ab1 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_26 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_ad55e8b11c ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_14 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_adc159c3fe ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_17 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_aed7f7b10c ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_02 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28151,6 +29039,14 @@ CREATE INDEX index_aee84adb5b ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_b1dda405af ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_29 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_b24e8538c8 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_14 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_b3b64068e7 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_16 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_b3c4c9a53f ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_21 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
+CREATE INDEX index_b4b2bba753 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_09 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_b607012614 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_17 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_b7f21460bb ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_23 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28161,10 +29057,18 @@ CREATE INDEX index_bc189e47ab ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_bca83177ef ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_20 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_bcaa8dcd34 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_15 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_be0a028bcc ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_03 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_bedd7e160b ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_17 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_bee2b94a80 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_17 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_bf1809b19e ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_22 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_c02f569fba ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_02 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_c08e669dfa ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_11 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_c09bb66559 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_09 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28191,46 +29095,70 @@ CREATE INDEX index_c66758baa7 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_c6ea8a0e26 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_04 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_c7ac8595d3 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_00 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_c8c4219c0a ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_26 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_c971e6c5ce ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_19 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_c9b14a3d9f ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_08 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_cb222425ed ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_29 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_cbb61ea269 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_12 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_cc0ba6343b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_09 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_ccb4f5c5a6 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_06 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_cd2b2939a4 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_03 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_cda41e106e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_22 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_ce87cbaf2d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_00 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_cfa4237c83 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_24 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_d01ea0126a ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_25 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_d03e9cdfae ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_20 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_d0d285c264 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_22 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_d17b82ddd9 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_01 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
+CREATE INDEX index_d1c24d8199 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_20 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_d27b4c84e7 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_18 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_d2fe918e83 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_08 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_d35c969634 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_09 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_d493a5c171 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_21 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_d6047ee813 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_06 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_d69c2485f4 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_29 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_d70379e22c ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_24 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_d8fa9793ad ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_00 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_d9384b768d ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_15 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_db2753330c ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_19 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_dc571ba649 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_01 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_de0334da63 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_12 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_df62a8c50e ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_07 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_e1a4f994d8 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_06 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_e38489ea98 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_22 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_e3d1fd5b19 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_04 USING btree (stage_event_hash_id, project_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_e3d6234929 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_03 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
@@ -28249,12 +29177,18 @@ CREATE INDEX index_e8f3a327b2 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_ea0c2d3361 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_17 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_ea1b583157 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_31 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_eb558957f0 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_31 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_ec25d494e6 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_25 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_ece25b5987 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_07 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_ed094a4f13 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_20 USING btree (stage_event_hash_id, project_id, end_event_timestamp, issue_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
+CREATE INDEX index_ed6dbac8c0 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_30 USING btree (stage_event_hash_id, group_id, end_event_timestamp, issue_id);
+
 CREATE INDEX index_ee4c549a2d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_20 USING btree (stage_event_hash_id, project_id, end_event_timestamp, merge_request_id, start_event_timestamp) WHERE (end_event_timestamp IS NOT NULL);
 
 CREATE INDEX index_ef6a48bd29 ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_06 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28283,10 +29217,14 @@ CREATE INDEX index_f76e8a5304 ON gitlab_partitions_static.analytics_cycle_analyt
 
 CREATE INDEX index_f86acdc2ff ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_23 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_f86f73056d ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_25 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_f878aab8e3 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_15 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_f902c261ce ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_16 USING btree (stage_event_hash_id, project_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
+CREATE INDEX index_f91599d825 ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_10 USING btree (stage_event_hash_id, group_id, end_event_timestamp, merge_request_id);
+
 CREATE INDEX index_fbccc855cf ON gitlab_partitions_static.analytics_cycle_analytics_merge_request_stage_events_26 USING btree (stage_event_hash_id, group_id, start_event_timestamp, merge_request_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
 
 CREATE INDEX index_fbf2d3310b ON gitlab_partitions_static.analytics_cycle_analytics_issue_stage_events_00 USING btree (stage_event_hash_id, group_id, start_event_timestamp, issue_id) WHERE ((end_event_timestamp IS NULL) AND (state_id = 1));
@@ -28703,6 +29641,8 @@ CREATE UNIQUE INDEX any_approver_project_rule_type_unique_index ON approval_proj
 
 CREATE INDEX approval_mr_rule_index_merge_request_id ON approval_merge_request_rules USING btree (merge_request_id);
 
+CREATE INDEX bulk_import_export_uploads_batch_id ON bulk_import_export_uploads USING btree (batch_id);
+
 CREATE UNIQUE INDEX bulk_import_trackers_uniq_relation_by_entity ON bulk_import_trackers USING btree (bulk_import_entity_id, relation);
 
 CREATE INDEX ca_aggregations_last_consistency_check_updated_at ON analytics_cycle_analytics_aggregations USING btree (last_consistency_check_updated_at NULLS FIRST) WHERE (enabled IS TRUE);
@@ -28711,6 +29651,8 @@ CREATE INDEX ca_aggregations_last_full_run_at ON analytics_cycle_analytics_aggre
 
 CREATE INDEX ca_aggregations_last_incremental_run_at ON analytics_cycle_analytics_aggregations USING btree (last_incremental_run_at NULLS FIRST) WHERE (enabled IS TRUE);
 
+CREATE INDEX p_ci_builds_status_created_at_project_id_idx ON ONLY p_ci_builds USING btree (status, created_at, project_id) WHERE ((type)::text = 'Ci::Build'::text);
+
 CREATE INDEX ci_builds_gitlab_monitor_metrics ON ci_builds USING btree (status, created_at, project_id) WHERE ((type)::text = 'Ci::Build'::text);
 
 CREATE UNIQUE INDEX ci_job_token_scope_links_source_and_target_project_direction ON ci_job_token_project_scope_links USING btree (source_project_id, target_project_id, direction);
@@ -28745,16 +29687,32 @@ CREATE UNIQUE INDEX finding_link_url_idx ON vulnerability_finding_links USING bt
 
 CREATE INDEX finding_links_on_vulnerability_occurrence_id ON vulnerability_finding_links USING btree (vulnerability_occurrence_id);
 
+CREATE UNIQUE INDEX i_affected_packages_unique_for_upsert ON pm_affected_packages USING btree (pm_advisory_id, purl_type, package_name, distro_version);
+
 CREATE INDEX i_batched_background_migration_job_transition_logs_on_job_id ON ONLY batched_background_migration_job_transition_logs USING btree (batched_background_migration_job_id);
 
+CREATE UNIQUE INDEX i_bulk_import_export_batches_id_batch_number ON bulk_import_export_batches USING btree (export_id, batch_number);
+
+CREATE UNIQUE INDEX i_bulk_import_trackers_id_batch_number ON bulk_import_batch_trackers USING btree (tracker_id, batch_number);
+
 CREATE INDEX i_compliance_frameworks_on_id_and_created_at ON compliance_management_frameworks USING btree (id, created_at, pipeline_configuration_full_path);
 
+CREATE INDEX i_compliance_violations_on_project_id_merged_at_and_id ON merge_requests_compliance_violations USING btree (target_project_id, merged_at, id);
+
+CREATE INDEX i_compliance_violations_on_project_id_reason_and_id ON merge_requests_compliance_violations USING btree (target_project_id, reason, id);
+
+CREATE INDEX i_compliance_violations_on_project_id_severity_and_id ON merge_requests_compliance_violations USING btree (target_project_id, severity_level DESC, id DESC);
+
+CREATE INDEX i_compliance_violations_on_project_id_title_and_id ON merge_requests_compliance_violations USING btree (target_project_id, title, id);
+
 CREATE INDEX i_dast_pre_scan_verification_steps_on_pre_scan_verification_id ON dast_pre_scan_verification_steps USING btree (dast_pre_scan_verification_id);
 
 CREATE INDEX i_dast_profiles_tags_on_scanner_profiles_id ON dast_profiles_tags USING btree (dast_profile_id);
 
 CREATE INDEX i_dast_scanner_profiles_tags_on_scanner_profiles_id ON dast_scanner_profiles_tags USING btree (dast_scanner_profile_id);
 
+CREATE INDEX i_pkgs_deb_file_meta_on_updated_at_package_file_id_when_unknown ON packages_debian_file_metadata USING btree (updated_at, package_file_id) WHERE (file_type = 1);
+
 CREATE UNIQUE INDEX i_pm_licenses_on_spdx_identifier ON pm_licenses USING btree (spdx_identifier);
 
 CREATE UNIQUE INDEX i_pm_package_version_licenses_join_ids ON pm_package_version_licenses USING btree (pm_package_version_id, pm_license_id);
@@ -28763,12 +29721,18 @@ CREATE UNIQUE INDEX i_pm_package_versions_on_package_id_and_version ON pm_packag
 
 CREATE UNIQUE INDEX i_pm_packages_purl_type_and_name ON pm_packages USING btree (purl_type, name);
 
+CREATE INDEX idx_alert_management_alerts_on_created_at_project_id_with_issue ON alert_management_alerts USING btree (created_at, project_id) WHERE (issue_id IS NOT NULL);
+
 CREATE INDEX idx_analytics_devops_adoption_segments_on_namespace_id ON analytics_devops_adoption_segments USING btree (namespace_id);
 
 CREATE INDEX idx_analytics_devops_adoption_snapshots_finalized ON analytics_devops_adoption_snapshots USING btree (namespace_id, end_time) WHERE (recorded_at >= end_time);
 
+CREATE INDEX idx_approval_merge_request_rules_on_scan_result_policy_id ON approval_merge_request_rules USING btree (scan_result_policy_id);
+
 CREATE INDEX idx_approval_merge_request_rules_on_sec_orchestration_config_id ON approval_merge_request_rules USING btree (security_orchestration_policy_configuration_id);
 
+CREATE INDEX idx_approval_project_rules_on_scan_result_policy_id ON approval_project_rules USING btree (scan_result_policy_id);
+
 CREATE INDEX idx_approval_project_rules_on_sec_orchestration_config_id ON approval_project_rules USING btree (security_orchestration_policy_configuration_id);
 
 CREATE INDEX idx_audit_events_part_on_entity_id_desc_author_id_created_at ON ONLY audit_events USING btree (entity_id, entity_type, id DESC, author_id, created_at);
@@ -28811,12 +29775,16 @@ CREATE UNIQUE INDEX idx_environment_merge_requests_unique_index ON deployment_me
 
 CREATE UNIQUE INDEX idx_external_audit_event_destination_id_key_uniq ON audit_events_streaming_headers USING btree (key, external_audit_event_destination_id);
 
+CREATE INDEX idx_headers_instance_external_audit_event_destination_id ON instance_audit_events_streaming_headers USING btree (instance_external_audit_event_destination_id);
+
 CREATE INDEX idx_installable_conan_pkgs_on_project_id_id ON packages_packages USING btree (project_id, id) WHERE ((package_type = 3) AND (status = ANY (ARRAY[0, 1])));
 
 CREATE INDEX idx_installable_helm_pkgs_on_project_id_id ON packages_packages USING btree (project_id, id);
 
 CREATE INDEX idx_installable_npm_pkgs_on_project_id_name_version_id ON packages_packages USING btree (project_id, name, version, id) WHERE ((package_type = 2) AND (status = 0));
 
+CREATE UNIQUE INDEX idx_instance_external_audit_event_destination_id_key_uniq ON instance_audit_events_streaming_headers USING btree (instance_external_audit_event_destination_id, key);
+
 CREATE INDEX idx_issues_on_health_status_not_null ON issues USING btree (health_status) WHERE (health_status IS NOT NULL);
 
 CREATE INDEX idx_issues_on_project_id_and_created_at_and_id_and_state_id ON issues USING btree (project_id, created_at, id, state_id);
@@ -28827,6 +29795,8 @@ CREATE INDEX idx_issues_on_project_id_and_rel_position_and_id_and_state_id ON is
 
 CREATE INDEX idx_issues_on_project_id_and_updated_at_and_id_and_state_id ON issues USING btree (project_id, updated_at, id, state_id);
 
+CREATE INDEX idx_issues_on_project_work_item_type_closed_at_where_closed ON issues USING btree (project_id, work_item_type_id, closed_at) WHERE (state_id = 2);
+
 CREATE INDEX idx_issues_on_state_id ON issues USING btree (state_id);
 
 CREATE INDEX idx_jira_connect_subscriptions_on_installation_id ON jira_connect_subscriptions USING btree (jira_connect_installation_id);
@@ -28845,8 +29815,6 @@ CREATE INDEX idx_merge_requests_on_merged_state ON merge_requests USING btree (i
 
 CREATE INDEX idx_merge_requests_on_source_project_and_branch_state_opened ON merge_requests USING btree (source_project_id, source_branch) WHERE (state_id = 1);
 
-CREATE INDEX idx_merge_requests_on_state_id_and_merge_status ON merge_requests USING btree (state_id, merge_status) WHERE ((state_id = 1) AND ((merge_status)::text = 'can_be_merged'::text));
-
 CREATE INDEX idx_merge_requests_on_target_project_id_and_iid_opened ON merge_requests USING btree (target_project_id, iid) WHERE (state_id = 1);
 
 CREATE INDEX idx_merge_requests_on_target_project_id_and_locked_state ON merge_requests USING btree (target_project_id) WHERE (state_id = 4);
@@ -28901,8 +29869,6 @@ CREATE UNIQUE INDEX idx_project_id_payload_key_self_managed_prometheus_alert_eve
 
 CREATE INDEX idx_project_repository_check_partial ON projects USING btree (repository_storage, created_at) WHERE (last_repository_check_at IS NULL);
 
-CREATE INDEX idx_project_wiki_repository_states_project_wiki_repository_id ON project_wiki_repository_states USING btree (project_wiki_repository_id);
-
 CREATE INDEX idx_projects_api_created_at_id_for_archived ON projects USING btree (created_at, id) WHERE ((archived = true) AND (pending_delete = false) AND (hidden = false));
 
 CREATE INDEX idx_projects_api_created_at_id_for_archived_vis20 ON projects USING btree (created_at, id) WHERE ((archived = true) AND (visibility_level = 20) AND (pending_delete = false) AND (hidden = false));
@@ -28927,12 +29893,12 @@ CREATE INDEX idx_repository_states_on_wiki_failure_partial ON project_repository
 
 CREATE INDEX idx_repository_states_outdated_checksums ON project_repository_states USING btree (project_id) WHERE (((repository_verification_checksum IS NULL) AND (last_repository_verification_failure IS NULL)) OR ((wiki_verification_checksum IS NULL) AND (last_wiki_verification_failure IS NULL)));
 
+CREATE INDEX idx_sbom_occurrences_on_project_id_and_source_id ON sbom_occurrences USING btree (project_id, source_id);
+
 CREATE UNIQUE INDEX idx_security_scans_on_build_and_scan_type ON security_scans USING btree (build_id, scan_type);
 
 CREATE INDEX idx_security_scans_on_scan_type ON security_scans USING btree (scan_type);
 
-CREATE UNIQUE INDEX idx_serverless_domain_cluster_on_clusters_applications_knative ON serverless_domain_cluster USING btree (clusters_applications_knative_id);
-
 CREATE UNIQUE INDEX idx_software_license_policies_unique_on_project_and_scan_policy ON software_license_policies USING btree (project_id, software_license_id, scan_result_policy_id);
 
 CREATE INDEX idx_streaming_headers_on_external_audit_event_destination_id ON audit_events_streaming_headers USING btree (external_audit_event_destination_id);
@@ -28959,10 +29925,38 @@ CREATE UNIQUE INDEX idx_vulnerability_issue_links_on_vulnerability_id_and_issue_
 
 CREATE UNIQUE INDEX idx_vulnerability_issue_links_on_vulnerability_id_and_link_type ON vulnerability_issue_links USING btree (vulnerability_id, link_type) WHERE (link_type = 2);
 
+CREATE INDEX idx_vulnerability_reads_project_id_scanner_id_vulnerability_id ON vulnerability_reads USING btree (project_id, scanner_id, vulnerability_id);
+
 CREATE UNIQUE INDEX idx_work_item_types_on_namespace_id_and_name_null_namespace ON work_item_types USING btree (btrim(lower(name)), ((namespace_id IS NULL))) WHERE (namespace_id IS NULL);
 
+CREATE INDEX index_abuse_events_on_abuse_report_id ON abuse_events USING btree (abuse_report_id);
+
+CREATE INDEX index_abuse_events_on_category_and_source ON abuse_events USING btree (category, source);
+
+CREATE INDEX index_abuse_events_on_user_id ON abuse_events USING btree (user_id);
+
+CREATE INDEX index_abuse_report_events_on_abuse_report_id ON abuse_report_events USING btree (abuse_report_id);
+
+CREATE INDEX index_abuse_report_events_on_user_id ON abuse_report_events USING btree (user_id);
+
+CREATE INDEX index_abuse_reports_on_assignee_id ON abuse_reports USING btree (assignee_id);
+
+CREATE INDEX index_abuse_reports_on_resolved_by_id ON abuse_reports USING btree (resolved_by_id);
+
+CREATE INDEX index_abuse_reports_on_status_and_created_at ON abuse_reports USING btree (status, created_at);
+
+CREATE INDEX index_abuse_reports_on_status_and_id ON abuse_reports USING btree (status, id);
+
+CREATE INDEX index_abuse_reports_on_status_and_updated_at ON abuse_reports USING btree (status, updated_at);
+
+CREATE INDEX index_abuse_reports_on_status_category_and_id ON abuse_reports USING btree (status, category, id);
+
+CREATE INDEX index_abuse_reports_on_status_reporter_id_and_id ON abuse_reports USING btree (status, reporter_id, id);
+
 CREATE INDEX index_abuse_reports_on_user_id ON abuse_reports USING btree (user_id);
 
+CREATE INDEX index_abuse_trust_scores_on_user_id_and_source_and_created_at ON abuse_trust_scores USING btree (user_id, source, created_at);
+
 CREATE UNIQUE INDEX "index_achievements_on_namespace_id_LOWER_name" ON achievements USING btree (namespace_id, lower(name));
 
 CREATE INDEX index_agent_activity_events_on_agent_id_and_recorded_at_and_id ON agent_activity_events USING btree (agent_id, recorded_at, id);
@@ -28983,7 +29977,13 @@ CREATE UNIQUE INDEX index_agent_project_authorizations_on_agent_id_and_project_i
 
 CREATE INDEX index_agent_project_authorizations_on_project_id ON agent_project_authorizations USING btree (project_id);
 
-CREATE INDEX index_airflow_dags_on_project_id ON airflow_dags USING btree (project_id);
+CREATE UNIQUE INDEX index_agent_user_access_on_agent_id_and_group_id ON agent_user_access_group_authorizations USING btree (agent_id, group_id);
+
+CREATE UNIQUE INDEX index_agent_user_access_on_agent_id_and_project_id ON agent_user_access_project_authorizations USING btree (agent_id, project_id);
+
+CREATE INDEX index_agent_user_access_on_group_id ON agent_user_access_group_authorizations USING btree (group_id);
+
+CREATE INDEX index_agent_user_access_on_project_id ON agent_user_access_project_authorizations USING btree (project_id);
 
 CREATE INDEX index_alert_assignees_on_alert_id ON alert_management_alert_assignees USING btree (alert_id);
 
@@ -29023,20 +30023,6 @@ CREATE INDEX index_analytics_ca_group_stages_on_value_stream_id ON analytics_cyc
 
 CREATE UNIQUE INDEX index_analytics_ca_group_value_streams_on_group_id_and_name ON analytics_cycle_analytics_group_value_streams USING btree (group_id, name);
 
-CREATE INDEX index_analytics_ca_project_stages_on_end_event_label_id ON analytics_cycle_analytics_project_stages USING btree (end_event_label_id);
-
-CREATE INDEX index_analytics_ca_project_stages_on_project_id ON analytics_cycle_analytics_project_stages USING btree (project_id);
-
-CREATE UNIQUE INDEX index_analytics_ca_project_stages_on_project_id_and_name ON analytics_cycle_analytics_project_stages USING btree (project_id, name);
-
-CREATE INDEX index_analytics_ca_project_stages_on_relative_position ON analytics_cycle_analytics_project_stages USING btree (relative_position);
-
-CREATE INDEX index_analytics_ca_project_stages_on_start_event_label_id ON analytics_cycle_analytics_project_stages USING btree (start_event_label_id);
-
-CREATE INDEX index_analytics_ca_project_stages_on_value_stream_id ON analytics_cycle_analytics_project_stages USING btree (project_value_stream_id);
-
-CREATE UNIQUE INDEX index_analytics_ca_project_value_streams_on_project_id_and_name ON analytics_cycle_analytics_project_value_streams USING btree (project_id, name);
-
 CREATE INDEX index_analytics_cycle_analytics_group_stages_custom_only ON analytics_cycle_analytics_group_stages USING btree (id) WHERE (custom = true);
 
 CREATE UNIQUE INDEX index_analytics_dashboards_pointers_on_namespace_id ON analytics_dashboards_pointers USING btree (namespace_id);
@@ -29117,6 +30103,8 @@ CREATE UNIQUE INDEX index_atlassian_identities_on_extern_uid ON atlassian_identi
 
 CREATE UNIQUE INDEX index_audit_events_external_audit_on_verification_token ON audit_events_external_audit_event_destinations USING btree (verification_token);
 
+CREATE INDEX index_audit_events_on_entity_id_and_entity_type_and_created_at ON ONLY audit_events USING btree (entity_id, entity_type, created_at, id);
+
 CREATE INDEX index_authentication_events_on_provider ON authentication_events USING btree (provider);
 
 CREATE INDEX index_authentication_events_on_user_and_ip_address_and_result ON authentication_events USING btree (user_id, ip_address, result);
@@ -29131,10 +30119,6 @@ CREATE UNIQUE INDEX index_aws_roles_on_role_external_id ON aws_roles USING btree
 
 CREATE UNIQUE INDEX index_aws_roles_on_user_id ON aws_roles USING btree (user_id);
 
-CREATE INDEX p_ci_builds_metadata_on_runner_machine_id_idx ON ONLY p_ci_builds_metadata USING btree (runner_machine_id) WHERE (runner_machine_id IS NOT NULL);
-
-CREATE INDEX index_b6331cde35 ON ci_builds_metadata USING btree (runner_machine_id) WHERE (runner_machine_id IS NOT NULL);
-
 CREATE INDEX index_background_migration_jobs_for_partitioning_migrations ON background_migration_jobs USING btree (((arguments ->> 2))) WHERE (class_name = 'Gitlab::Database::PartitioningMigrationHelpers::BackfillPartitionedTable'::text);
 
 CREATE INDEX index_background_migration_jobs_on_class_name_and_arguments ON background_migration_jobs USING btree (class_name, arguments);
@@ -29231,10 +30215,10 @@ CREATE INDEX index_boards_on_project_id ON boards USING btree (project_id);
 
 CREATE INDEX index_broadcast_message_on_ends_at_and_broadcast_type_and_id ON broadcast_messages USING btree (ends_at, broadcast_type, id);
 
-CREATE INDEX index_broadcast_messages_on_namespace_id ON broadcast_messages USING btree (namespace_id);
-
 CREATE INDEX index_btree_namespaces_traversal_ids ON namespaces USING btree (traversal_ids);
 
+CREATE INDEX index_bulk_import_batch_trackers_on_tracker_id ON bulk_import_batch_trackers USING btree (tracker_id);
+
 CREATE INDEX index_bulk_import_configurations_on_bulk_import_id ON bulk_import_configurations USING btree (bulk_import_id);
 
 CREATE INDEX index_bulk_import_entities_on_bulk_import_id_and_status ON bulk_import_entities USING btree (bulk_import_id, status);
@@ -29245,6 +30229,8 @@ CREATE INDEX index_bulk_import_entities_on_parent_id ON bulk_import_entities USI
 
 CREATE INDEX index_bulk_import_entities_on_project_id ON bulk_import_entities USING btree (project_id);
 
+CREATE INDEX index_bulk_import_export_batches_on_export_id ON bulk_import_export_batches USING btree (export_id);
+
 CREATE INDEX index_bulk_import_export_uploads_on_export_id ON bulk_import_export_uploads USING btree (export_id);
 
 CREATE INDEX index_bulk_import_failures_on_bulk_import_entity_id ON bulk_import_failures USING btree (bulk_import_entity_id);
@@ -29253,6 +30239,8 @@ CREATE INDEX index_bulk_import_failures_on_correlation_id_value ON bulk_import_f
 
 CREATE INDEX index_bulk_imports_on_user_id ON bulk_imports USING btree (user_id);
 
+CREATE UNIQUE INDEX index_catalog_resources_on_project_id ON catalog_resources USING btree (project_id);
+
 CREATE INDEX index_chat_names_on_team_id_and_chat_id ON chat_names USING btree (team_id, chat_id);
 
 CREATE INDEX index_chat_names_on_user_id ON chat_names USING btree (user_id);
@@ -29289,52 +30277,80 @@ CREATE UNIQUE INDEX p_ci_builds_metadata_build_id_partition_id_idx ON ONLY p_ci_
 
 CREATE UNIQUE INDEX index_ci_builds_metadata_on_build_id_partition_id_unique ON ci_builds_metadata USING btree (build_id, partition_id);
 
-CREATE UNIQUE INDEX p_ci_builds_metadata_id_partition_id_idx ON ONLY p_ci_builds_metadata USING btree (id, partition_id);
-
-CREATE UNIQUE INDEX index_ci_builds_metadata_on_id_partition_id_unique ON ci_builds_metadata USING btree (id, partition_id);
-
 CREATE INDEX p_ci_builds_metadata_project_id_idx ON ONLY p_ci_builds_metadata USING btree (project_id);
 
 CREATE INDEX index_ci_builds_metadata_on_project_id ON ci_builds_metadata USING btree (project_id);
 
+CREATE INDEX p_ci_builds_auto_canceled_by_id_idx ON ONLY p_ci_builds USING btree (auto_canceled_by_id);
+
 CREATE INDEX index_ci_builds_on_auto_canceled_by_id ON ci_builds USING btree (auto_canceled_by_id);
 
+CREATE INDEX p_ci_builds_commit_id_stage_idx_created_at_idx ON ONLY p_ci_builds USING btree (commit_id, stage_idx, created_at);
+
 CREATE INDEX index_ci_builds_on_commit_id_and_stage_idx_and_created_at ON ci_builds USING btree (commit_id, stage_idx, created_at);
 
+CREATE INDEX p_ci_builds_commit_id_status_type_idx ON ONLY p_ci_builds USING btree (commit_id, status, type);
+
 CREATE INDEX index_ci_builds_on_commit_id_and_status_and_type ON ci_builds USING btree (commit_id, status, type);
 
+CREATE INDEX p_ci_builds_commit_id_type_name_ref_idx ON ONLY p_ci_builds USING btree (commit_id, type, name, ref);
+
 CREATE INDEX index_ci_builds_on_commit_id_and_type_and_name_and_ref ON ci_builds USING btree (commit_id, type, name, ref);
 
+CREATE INDEX p_ci_builds_commit_id_type_ref_idx ON ONLY p_ci_builds USING btree (commit_id, type, ref);
+
 CREATE INDEX index_ci_builds_on_commit_id_and_type_and_ref ON ci_builds USING btree (commit_id, type, ref);
 
+CREATE INDEX p_ci_builds_commit_id_artifacts_expire_at_id_idx ON ONLY p_ci_builds USING btree (commit_id, artifacts_expire_at, id) WHERE (((type)::text = 'Ci::Build'::text) AND ((retried = false) OR (retried IS NULL)) AND ((name)::text = ANY (ARRAY[('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('dependency_scanning'::character varying)::text, ('container_scanning'::character varying)::text, ('dast'::character varying)::text])));
+
 CREATE INDEX index_ci_builds_on_commit_id_artifacts_expired_at_and_id ON ci_builds USING btree (commit_id, artifacts_expire_at, id) WHERE (((type)::text = 'Ci::Build'::text) AND ((retried = false) OR (retried IS NULL)) AND ((name)::text = ANY (ARRAY[('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('dependency_scanning'::character varying)::text, ('container_scanning'::character varying)::text, ('dast'::character varying)::text])));
 
-CREATE UNIQUE INDEX index_ci_builds_on_id_partition_id_unique ON ci_builds USING btree (id, partition_id);
+CREATE INDEX p_ci_builds_project_id_id_idx ON ONLY p_ci_builds USING btree (project_id, id);
 
 CREATE INDEX index_ci_builds_on_project_id_and_id ON ci_builds USING btree (project_id, id);
 
+CREATE INDEX p_ci_builds_project_id_name_ref_idx ON ONLY p_ci_builds USING btree (project_id, name, ref) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = 'success'::text) AND ((retried = false) OR (retried IS NULL)));
+
 CREATE INDEX index_ci_builds_on_project_id_and_name_and_ref ON ci_builds USING btree (project_id, name, ref) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = 'success'::text) AND ((retried = false) OR (retried IS NULL)));
 
+CREATE INDEX p_ci_builds_resource_group_id_status_commit_id_idx ON ONLY p_ci_builds USING btree (resource_group_id, status, commit_id) WHERE (resource_group_id IS NOT NULL);
+
 CREATE INDEX index_ci_builds_on_resource_group_and_status_and_commit_id ON ci_builds USING btree (resource_group_id, status, commit_id) WHERE (resource_group_id IS NOT NULL);
 
+CREATE INDEX p_ci_builds_runner_id_id_idx ON ONLY p_ci_builds USING btree (runner_id, id DESC);
+
 CREATE INDEX index_ci_builds_on_runner_id_and_id_desc ON ci_builds USING btree (runner_id, id DESC);
 
+CREATE INDEX p_ci_builds_stage_id_idx ON ONLY p_ci_builds USING btree (stage_id);
+
 CREATE INDEX index_ci_builds_on_stage_id ON ci_builds USING btree (stage_id);
 
+CREATE INDEX p_ci_builds_status_type_runner_id_idx ON ONLY p_ci_builds USING btree (status, type, runner_id);
+
 CREATE INDEX index_ci_builds_on_status_and_type_and_runner_id ON ci_builds USING btree (status, type, runner_id);
 
-CREATE UNIQUE INDEX index_ci_builds_on_token_encrypted ON ci_builds USING btree (token_encrypted) WHERE (token_encrypted IS NOT NULL);
+CREATE INDEX p_ci_builds_updated_at_idx ON ONLY p_ci_builds USING btree (updated_at);
 
 CREATE INDEX index_ci_builds_on_updated_at ON ci_builds USING btree (updated_at);
 
+CREATE INDEX p_ci_builds_upstream_pipeline_id_idx ON ONLY p_ci_builds USING btree (upstream_pipeline_id) WHERE (upstream_pipeline_id IS NOT NULL);
+
 CREATE INDEX index_ci_builds_on_upstream_pipeline_id ON ci_builds USING btree (upstream_pipeline_id) WHERE (upstream_pipeline_id IS NOT NULL);
 
+CREATE INDEX p_ci_builds_user_id_idx ON ONLY p_ci_builds USING btree (user_id);
+
 CREATE INDEX index_ci_builds_on_user_id ON ci_builds USING btree (user_id);
 
+CREATE INDEX p_ci_builds_user_id_created_at_idx ON ONLY p_ci_builds USING btree (user_id, created_at) WHERE ((type)::text = 'Ci::Build'::text);
+
 CREATE INDEX index_ci_builds_on_user_id_and_created_at_and_type_eq_ci_build ON ci_builds USING btree (user_id, created_at) WHERE ((type)::text = 'Ci::Build'::text);
 
+CREATE INDEX p_ci_builds_project_id_status_idx ON ONLY p_ci_builds USING btree (project_id, status) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text])));
+
 CREATE INDEX index_ci_builds_project_id_and_status_for_live_jobs_partial2 ON ci_builds USING btree (project_id, status) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text])));
 
+CREATE INDEX p_ci_builds_runner_id_idx ON ONLY p_ci_builds USING btree (runner_id) WHERE (((status)::text = 'running'::text) AND ((type)::text = 'Ci::Build'::text));
+
 CREATE INDEX index_ci_builds_runner_id_running ON ci_builds USING btree (runner_id) WHERE (((status)::text = 'running'::text) AND ((type)::text = 'Ci::Build'::text));
 
 CREATE UNIQUE INDEX index_ci_builds_runner_session_on_build_id ON ci_builds_runner_session USING btree (build_id);
@@ -29349,6 +30365,12 @@ CREATE INDEX index_ci_daily_build_group_report_results_on_project_and_date ON ci
 
 CREATE INDEX index_ci_deleted_objects_on_pick_up_at ON ci_deleted_objects USING btree (pick_up_at);
 
+CREATE INDEX index_ci_editor_ai_messages_created_at ON ci_editor_ai_conversation_messages USING btree (created_at);
+
+CREATE INDEX index_ci_editor_ai_messages_on_user_project_and_created_at ON ci_editor_ai_conversation_messages USING btree (user_id, project_id, created_at);
+
+CREATE INDEX index_ci_editor_ai_messages_project_id ON ci_editor_ai_conversation_messages USING btree (project_id);
+
 CREATE INDEX index_ci_freeze_periods_on_project_id ON ci_freeze_periods USING btree (project_id);
 
 CREATE UNIQUE INDEX index_ci_group_variables_on_group_id_and_key_and_environment ON ci_group_variables USING btree (group_id, key, environment_scope);
@@ -29357,14 +30379,14 @@ CREATE UNIQUE INDEX index_ci_instance_variables_on_key ON ci_instance_variables
 
 CREATE INDEX index_ci_job_artifact_states_on_job_artifact_id ON ci_job_artifact_states USING btree (job_artifact_id);
 
+CREATE INDEX index_ci_job_artifacts_expire_at_unlocked_non_trace ON ci_job_artifacts USING btree (expire_at) WHERE ((locked = 0) AND (file_type <> 3) AND (expire_at IS NOT NULL));
+
 CREATE INDEX index_ci_job_artifacts_for_terraform_reports ON ci_job_artifacts USING btree (project_id, id) WHERE (file_type = 18);
 
 CREATE INDEX index_ci_job_artifacts_id_for_terraform_reports ON ci_job_artifacts USING btree (id) WHERE (file_type = 18);
 
 CREATE INDEX index_ci_job_artifacts_on_expire_at_and_job_id ON ci_job_artifacts USING btree (expire_at, job_id);
 
-CREATE INDEX index_ci_job_artifacts_on_expire_at_for_removal ON ci_job_artifacts USING btree (expire_at) WHERE ((locked = 0) AND (expire_at IS NOT NULL));
-
 CREATE INDEX index_ci_job_artifacts_on_file_store ON ci_job_artifacts USING btree (file_store);
 
 CREATE INDEX index_ci_job_artifacts_on_file_type_for_devops_adoption ON ci_job_artifacts USING btree (file_type, project_id, created_at) WHERE (file_type = ANY (ARRAY[5, 6, 8, 23]));
@@ -29511,6 +30533,8 @@ CREATE INDEX index_ci_resources_on_partition_id_build_id ON ci_resources USING b
 
 CREATE UNIQUE INDEX index_ci_resources_on_resource_group_id_and_build_id ON ci_resources USING btree (resource_group_id, build_id);
 
+CREATE INDEX index_ci_runner_machine_builds_on_runner_machine_id ON ONLY p_ci_runner_machine_builds USING btree (runner_machine_id);
+
 CREATE INDEX index_ci_runner_machines_on_contacted_at_desc_and_id_desc ON ci_runner_machines USING btree (contacted_at DESC, id DESC);
 
 CREATE INDEX index_ci_runner_machines_on_created_at_and_id_desc ON ci_runner_machines USING btree (created_at, id DESC);
@@ -29661,28 +30685,6 @@ CREATE INDEX index_cluster_providers_gcp_on_cloud_run ON cluster_providers_gcp U
 
 CREATE UNIQUE INDEX index_cluster_providers_gcp_on_cluster_id ON cluster_providers_gcp USING btree (cluster_id);
 
-CREATE UNIQUE INDEX index_clusters_applications_cert_managers_on_cluster_id ON clusters_applications_cert_managers USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_cilium_on_cluster_id ON clusters_applications_cilium USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_crossplane_on_cluster_id ON clusters_applications_crossplane USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_helm_on_cluster_id ON clusters_applications_helm USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_ingress_on_cluster_id ON clusters_applications_ingress USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_jupyter_on_cluster_id ON clusters_applications_jupyter USING btree (cluster_id);
-
-CREATE INDEX index_clusters_applications_jupyter_on_oauth_application_id ON clusters_applications_jupyter USING btree (oauth_application_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_knative_on_cluster_id ON clusters_applications_knative USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_prometheus_on_cluster_id ON clusters_applications_prometheus USING btree (cluster_id);
-
-CREATE UNIQUE INDEX index_clusters_applications_runners_on_cluster_id ON clusters_applications_runners USING btree (cluster_id);
-
-CREATE INDEX index_clusters_applications_runners_on_runner_id ON clusters_applications_runners USING btree (runner_id);
-
 CREATE INDEX index_clusters_integration_prometheus_enabled ON clusters_integration_prometheus USING btree (enabled, created_at, cluster_id);
 
 CREATE INDEX index_clusters_kubernetes_namespaces_on_cluster_project_id ON clusters_kubernetes_namespaces USING btree (cluster_project_id);
@@ -29707,12 +30709,12 @@ CREATE INDEX index_composer_cache_files_where_namespace_id_is_null ON packages_c
 
 CREATE INDEX index_container_expiration_policies_on_next_run_at_and_enabled ON container_expiration_policies USING btree (next_run_at, enabled);
 
+CREATE INDEX index_container_registry_data_repair_details_on_status ON container_registry_data_repair_details USING btree (status);
+
 CREATE INDEX index_container_repositories_on_greatest_completed_at ON container_repositories USING btree (GREATEST(migration_pre_import_done_at, migration_import_done_at, migration_aborted_at, migration_skipped_at)) WHERE (migration_state = ANY (ARRAY['import_done'::text, 'pre_import_done'::text, 'import_aborted'::text, 'import_skipped'::text]));
 
 CREATE INDEX index_container_repositories_on_migration_state_import_done_at ON container_repositories USING btree (migration_state, migration_import_done_at);
 
-CREATE INDEX index_container_repositories_on_project_id ON container_repositories USING btree (project_id);
-
 CREATE INDEX index_container_repositories_on_project_id_and_id ON container_repositories USING btree (project_id, id);
 
 CREATE UNIQUE INDEX index_container_repositories_on_project_id_and_name ON container_repositories USING btree (project_id, name);
@@ -29721,6 +30723,14 @@ CREATE INDEX index_container_repositories_on_status_and_id ON container_reposito
 
 CREATE INDEX index_container_repository_on_name_trigram ON container_repositories USING gin (name gin_trgm_ops);
 
+CREATE INDEX index_container_repository_states_failed_verification ON container_repository_states USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);
+
+CREATE INDEX index_container_repository_states_needs_verification ON container_repository_states USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));
+
+CREATE INDEX index_container_repository_states_on_verification_state ON container_repository_states USING btree (verification_state);
+
+CREATE INDEX index_container_repository_states_pending_verification ON container_repository_states USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
+
 CREATE UNIQUE INDEX index_content_blocked_states_on_container_id_commit_sha_path ON content_blocked_states USING btree (container_identifier, commit_sha, path);
 
 CREATE UNIQUE INDEX index_coverage_fuzzing_corpuses_on_package_id ON coverage_fuzzing_corpuses USING btree (package_id);
@@ -29797,6 +30807,8 @@ CREATE UNIQUE INDEX index_dast_sites_on_project_id_and_url ON dast_sites USING b
 
 CREATE UNIQUE INDEX index_dep_prox_manifests_on_group_id_file_name_and_status ON dependency_proxy_manifests USING btree (group_id, file_name, status);
 
+CREATE INDEX index_dependency_list_exports_on_group_id ON dependency_list_exports USING btree (group_id);
+
 CREATE INDEX index_dependency_list_exports_on_project_id ON dependency_list_exports USING btree (project_id);
 
 CREATE INDEX index_dependency_list_exports_on_user_id ON dependency_list_exports USING btree (user_id);
@@ -29911,6 +30923,16 @@ CREATE INDEX index_design_management_designs_versions_on_event ON design_managem
 
 CREATE INDEX index_design_management_designs_versions_on_version_id ON design_management_designs_versions USING btree (version_id);
 
+CREATE UNIQUE INDEX index_design_management_repositories_on_project_id ON design_management_repositories USING btree (project_id);
+
+CREATE INDEX index_design_management_repository_states_failed_verification ON design_management_repository_states USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);
+
+CREATE INDEX index_design_management_repository_states_needs_verification ON design_management_repository_states USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));
+
+CREATE INDEX index_design_management_repository_states_on_verification_state ON design_management_repository_states USING btree (verification_state);
+
+CREATE INDEX index_design_management_repository_states_pending_verification ON design_management_repository_states USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
+
 CREATE INDEX index_design_management_versions_on_author_id ON design_management_versions USING btree (author_id) WHERE (author_id IS NOT NULL);
 
 CREATE INDEX index_design_management_versions_on_issue_id ON design_management_versions USING btree (issue_id);
@@ -29927,6 +30949,8 @@ CREATE UNIQUE INDEX index_dora_configurations_on_project_id ON dora_configuratio
 
 CREATE UNIQUE INDEX index_dora_daily_metrics_on_environment_id_and_date ON dora_daily_metrics USING btree (environment_id, date);
 
+CREATE UNIQUE INDEX index_dora_performance_scores_on_project_id_and_date ON dora_performance_scores USING btree (project_id, date);
+
 CREATE INDEX index_draft_notes_on_author_id ON draft_notes USING btree (author_id);
 
 CREATE INDEX index_draft_notes_on_discussion_id ON draft_notes USING btree (discussion_id);
@@ -29951,6 +30975,8 @@ CREATE INDEX index_emails_on_user_id ON emails USING btree (user_id);
 
 CREATE INDEX index_enabled_clusters_on_id ON clusters USING btree (id) WHERE (enabled = true);
 
+CREATE INDEX index_environments_cluster_agent_id ON environments USING btree (cluster_agent_id) WHERE (cluster_agent_id IS NOT NULL);
+
 CREATE INDEX index_environments_for_name_search_within_folder ON environments USING btree (project_id, lower(ltrim((name)::text, ((environment_type)::text || '/'::text))) varchar_pattern_ops, state);
 
 CREATE INDEX index_environments_on_merge_request_id ON environments USING btree (merge_request_id);
@@ -30049,8 +31075,6 @@ CREATE INDEX index_events_for_group_activity ON events USING btree (group_id, ta
 
 CREATE INDEX index_events_for_project_activity ON events USING btree (project_id, target_type, action, id);
 
-CREATE INDEX index_events_on_action ON events USING btree (action);
-
 CREATE INDEX index_events_on_author_id_and_created_at ON events USING btree (author_id, created_at);
 
 CREATE INDEX index_events_on_author_id_and_created_at_merge_requests ON events USING btree (author_id, created_at) WHERE ((target_type)::text = 'MergeRequest'::text);
@@ -30087,6 +31111,8 @@ CREATE UNIQUE INDEX index_feature_gates_on_feature_key_and_key_and_value ON feat
 
 CREATE UNIQUE INDEX index_features_on_key ON features USING btree (key);
 
+CREATE INDEX index_for_security_scans_scan_type ON security_scans USING btree (scan_type, project_id, pipeline_id) WHERE (status = 1);
+
 CREATE INDEX index_for_status_per_branch_per_project ON merge_trains USING btree (target_project_id, target_branch, status);
 
 CREATE INDEX index_fork_network_members_on_fork_network_id ON fork_network_members USING btree (fork_network_id);
@@ -30097,6 +31123,8 @@ CREATE UNIQUE INDEX index_fork_network_members_on_project_id ON fork_network_mem
 
 CREATE UNIQUE INDEX index_fork_networks_on_root_project_id ON fork_networks USING btree (root_project_id);
 
+CREATE INDEX index_fuc_over_limit_notified_at ON namespace_details USING btree (free_user_cap_over_limit_notified_at);
+
 CREATE INDEX index_geo_event_log_on_cache_invalidation_event_id ON geo_event_log USING btree (cache_invalidation_event_id) WHERE (cache_invalidation_event_id IS NOT NULL);
 
 CREATE INDEX index_geo_event_log_on_geo_event_id ON geo_event_log USING btree (geo_event_id) WHERE (geo_event_id IS NOT NULL);
@@ -30221,6 +31249,8 @@ CREATE UNIQUE INDEX index_group_deploy_tokens_on_group_and_deploy_token_ids ON g
 
 CREATE UNIQUE INDEX index_group_group_links_on_shared_group_and_shared_with_group ON group_group_links USING btree (shared_group_id, shared_with_group_id);
 
+CREATE INDEX index_group_group_links_on_shared_with_group_and_group_access ON group_group_links USING btree (shared_with_group_id, group_access);
+
 CREATE INDEX index_group_group_links_on_shared_with_group_and_shared_group ON group_group_links USING btree (shared_with_group_id, shared_group_id);
 
 CREATE INDEX index_group_import_states_on_group_id ON group_import_states USING btree (group_id);
@@ -30281,12 +31311,16 @@ CREATE INDEX index_import_export_uploads_on_updated_at ON import_export_uploads
 
 CREATE INDEX index_import_failures_on_correlation_id_value ON import_failures USING btree (correlation_id_value);
 
+CREATE INDEX index_import_failures_on_external_identifiers ON import_failures USING btree (external_identifiers) WHERE (external_identifiers <> '{}'::jsonb);
+
 CREATE INDEX index_import_failures_on_group_id_not_null ON import_failures USING btree (group_id) WHERE (group_id IS NOT NULL);
 
 CREATE INDEX index_import_failures_on_project_id_and_correlation_id_value ON import_failures USING btree (project_id, correlation_id_value) WHERE (retry_count = 0);
 
 CREATE INDEX index_import_failures_on_project_id_not_null ON import_failures USING btree (project_id) WHERE (project_id IS NOT NULL);
 
+CREATE INDEX index_import_failures_on_user_id_not_null ON import_failures USING btree (user_id) WHERE (user_id IS NOT NULL);
+
 CREATE INDEX index_imported_projects_on_import_type_creator_id_created_at ON projects USING btree (import_type, creator_id, created_at) WHERE (import_type IS NOT NULL);
 
 CREATE INDEX index_imported_projects_on_import_type_id ON projects USING btree (import_type, id) WHERE (import_type IS NOT NULL);
@@ -30365,6 +31399,8 @@ CREATE UNIQUE INDEX index_issuable_slas_on_issue_id ON issuable_slas USING btree
 
 CREATE INDEX index_issue_assignees_on_user_id_and_issue_id ON issue_assignees USING btree (user_id, issue_id);
 
+CREATE INDEX index_issue_assignment_events_on_user_id ON issue_assignment_events USING btree (user_id);
+
 CREATE UNIQUE INDEX index_issue_crm_contacts_on_issue_id_and_contact_id ON issue_customer_relations_contacts USING btree (issue_id, contact_id);
 
 CREATE INDEX index_issue_customer_relations_contacts_on_contact_id ON issue_customer_relations_contacts USING btree (contact_id);
@@ -30439,7 +31475,7 @@ CREATE INDEX index_issues_on_updated_at ON issues USING btree (updated_at);
 
 CREATE INDEX index_issues_on_updated_by_id ON issues USING btree (updated_by_id) WHERE (updated_by_id IS NOT NULL);
 
-CREATE INDEX index_issues_on_work_item_type_id ON issues USING btree (work_item_type_id);
+CREATE INDEX index_issues_on_work_item_type_id_project_id_created_at_state ON issues USING btree (work_item_type_id, project_id, created_at, state_id);
 
 CREATE INDEX index_iterations_cadences_on_group_id ON iterations_cadences USING btree (group_id);
 
@@ -30519,6 +31555,8 @@ CREATE INDEX index_lfs_object_states_on_verification_state ON lfs_object_states
 
 CREATE INDEX index_lfs_object_states_pending_verification ON lfs_object_states USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
 
+CREATE INDEX index_lfs_objects_on_file ON lfs_objects USING btree (file);
+
 CREATE INDEX index_lfs_objects_on_file_store ON lfs_objects USING btree (file_store);
 
 CREATE UNIQUE INDEX index_lfs_objects_on_oid ON lfs_objects USING btree (oid);
@@ -30581,7 +31619,7 @@ CREATE INDEX index_members_on_member_role_id ON members USING btree (member_role
 
 CREATE INDEX index_members_on_requested_at ON members USING btree (requested_at);
 
-CREATE INDEX index_members_on_source_id_and_source_type ON members USING btree (source_id, source_type);
+CREATE INDEX index_members_on_source_and_type_and_access_level ON members USING btree (source_id, source_type, type, access_level);
 
 CREATE INDEX index_members_on_source_state_type_access_level_and_user_id ON members USING btree (source_id, source_type, state, type, access_level, user_id) WHERE ((requested_at IS NULL) AND (invite_token IS NULL));
 
@@ -30595,6 +31633,8 @@ CREATE UNIQUE INDEX index_merge_request_assignees_on_merge_request_id_and_user_i
 
 CREATE INDEX index_merge_request_assignees_on_user_id ON merge_request_assignees USING btree (user_id);
 
+CREATE INDEX index_merge_request_assignment_events_on_user_id ON merge_request_assignment_events USING btree (user_id);
+
 CREATE INDEX index_merge_request_blocks_on_blocked_merge_request_id ON merge_request_blocks USING btree (blocked_merge_request_id);
 
 CREATE UNIQUE INDEX index_merge_request_cleanup_schedules_on_merge_request_id ON merge_request_cleanup_schedules USING btree (merge_request_id);
@@ -30615,8 +31655,12 @@ CREATE INDEX index_merge_request_diff_details_on_verification_state ON merge_req
 
 CREATE INDEX index_merge_request_diff_details_pending_verification ON merge_request_diff_details USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
 
+CREATE INDEX index_merge_request_diff_llm_summaries_on_user_id ON merge_request_diff_llm_summaries USING btree (user_id);
+
 CREATE INDEX index_merge_request_diffs_by_id_partial ON merge_request_diffs USING btree (id) WHERE ((files_count > 0) AND ((NOT stored_externally) OR (stored_externally IS NULL)));
 
+CREATE INDEX index_merge_request_diffs_on_external_diff ON merge_request_diffs USING btree (external_diff);
+
 CREATE INDEX index_merge_request_diffs_on_external_diff_store ON merge_request_diffs USING btree (external_diff_store);
 
 CREATE INDEX index_merge_request_diffs_on_merge_request_id_and_id ON merge_request_diffs USING btree (merge_request_id, id);
@@ -30689,8 +31733,6 @@ CREATE UNIQUE INDEX index_merge_requests_on_target_project_id_and_iid ON merge_r
 
 CREATE INDEX index_merge_requests_on_target_project_id_and_iid_and_state_id ON merge_requests USING btree (target_project_id, iid, state_id);
 
-CREATE INDEX index_merge_requests_on_target_project_id_and_iid_jira_title ON merge_requests USING btree (target_project_id, iid) WHERE ((title)::text ~ '[A-Z][A-Z_0-9]+-\d+'::text);
-
 CREATE INDEX index_merge_requests_on_target_project_id_and_source_branch ON merge_requests USING btree (target_project_id, source_branch);
 
 CREATE INDEX index_merge_requests_on_target_project_id_and_squash_commit_sha ON merge_requests USING btree (target_project_id, squash_commit_sha);
@@ -30699,8 +31741,6 @@ CREATE INDEX index_merge_requests_on_target_project_id_and_target_branch ON merg
 
 CREATE INDEX index_merge_requests_on_target_project_id_and_updated_at_and_id ON merge_requests USING btree (target_project_id, updated_at, id);
 
-CREATE INDEX index_merge_requests_on_target_project_id_iid_jira_description ON merge_requests USING btree (target_project_id, iid) WHERE (description ~ '[A-Z][A-Z_0-9]+-\d+'::text);
-
 CREATE INDEX index_merge_requests_on_title_trigram ON merge_requests USING gin (title gin_trgm_ops) WITH (fastupdate='false');
 
 CREATE INDEX index_merge_requests_on_tp_id_and_merge_commit_sha_and_id ON merge_requests USING btree (target_project_id, merge_commit_sha, id);
@@ -30751,7 +31791,15 @@ CREATE INDEX index_ml_candidate_params_on_candidate_id ON ml_candidate_params US
 
 CREATE UNIQUE INDEX index_ml_candidate_params_on_candidate_id_on_name ON ml_candidate_params USING btree (candidate_id, name);
 
-CREATE UNIQUE INDEX index_ml_candidates_on_experiment_id_and_iid ON ml_candidates USING btree (experiment_id, iid);
+CREATE INDEX index_ml_candidates_on_ci_build_id ON ml_candidates USING btree (ci_build_id);
+
+CREATE UNIQUE INDEX index_ml_candidates_on_experiment_id_and_eid ON ml_candidates USING btree (experiment_id, eid);
+
+CREATE INDEX index_ml_candidates_on_package_id ON ml_candidates USING btree (package_id);
+
+CREATE INDEX index_ml_candidates_on_project_id ON ml_candidates USING btree (project_id);
+
+CREATE INDEX index_ml_candidates_on_project_id_on_internal_id ON ml_candidates USING btree (project_id, internal_id);
 
 CREATE INDEX index_ml_candidates_on_user_id ON ml_candidates USING btree (user_id);
 
@@ -30835,16 +31883,20 @@ CREATE INDEX index_namespaces_on_type_and_id ON namespaces USING btree (type, id
 
 CREATE INDEX index_namespaces_on_type_and_visibility_and_parent_id ON namespaces USING btree (id) WHERE (((type)::text = 'Group'::text) AND (parent_id IS NULL) AND (visibility_level <> 20));
 
-CREATE INDEX index_namespaces_public_groups_name_id ON namespaces USING btree (name, id) WHERE (((type)::text = 'Group'::text) AND (visibility_level = 20));
+CREATE INDEX index_namespaces_on_updated_at ON namespaces USING btree (updated_at);
 
-CREATE INDEX index_namespaces_storage_limit_exclusions_on_namespace_id ON namespaces_storage_limit_exclusions USING btree (namespace_id);
+CREATE INDEX index_namespaces_public_groups_name_id ON namespaces USING btree (name, id) WHERE (((type)::text = 'Group'::text) AND (visibility_level = 20));
 
 CREATE INDEX index_namespaces_sync_events_on_namespace_id ON namespaces_sync_events USING btree (namespace_id);
 
+CREATE INDEX index_next_over_limit_check_at_asc_order ON namespace_details USING btree (next_over_limit_check_at NULLS FIRST);
+
 CREATE INDEX index_non_requested_project_members_on_source_id_and_type ON members USING btree (source_id, source_type) WHERE ((requested_at IS NULL) AND ((type)::text = 'ProjectMember'::text));
 
 CREATE UNIQUE INDEX index_note_diff_files_on_diff_note_id ON note_diff_files USING btree (diff_note_id);
 
+CREATE INDEX index_note_metadata_on_note_id ON note_metadata USING btree (note_id);
+
 CREATE INDEX index_notes_for_cherry_picked_merge_requests ON notes USING btree (project_id, commit_id) WHERE ((noteable_type)::text = 'MergeRequest'::text);
 
 CREATE INDEX index_notes_on_author_id_and_created_at_and_id ON notes USING btree (author_id, created_at, id);
@@ -30873,8 +31925,14 @@ CREATE INDEX index_notification_settings_on_source_and_level_and_user ON notific
 
 CREATE UNIQUE INDEX index_notifications_on_user_id_and_source_id_and_source_type ON notification_settings USING btree (user_id, source_id, source_type);
 
+CREATE UNIQUE INDEX index_npm_metadata_caches_on_package_name_project_id_unique ON packages_npm_metadata_caches USING btree (package_name, project_id) WHERE (project_id IS NOT NULL);
+
+CREATE INDEX index_ns_root_stor_stats_on_registry_size_estimated ON namespace_root_storage_statistics USING btree (registry_size_estimated);
+
 CREATE UNIQUE INDEX index_ns_user_callouts_feature ON user_namespace_callouts USING btree (user_id, feature_name, namespace_id);
 
+CREATE INDEX index_oauth_access_grants_on_application_id ON oauth_access_grants USING btree (application_id);
+
 CREATE INDEX index_oauth_access_grants_on_resource_owner_id ON oauth_access_grants USING btree (resource_owner_id, application_id, created_at);
 
 CREATE UNIQUE INDEX index_oauth_access_grants_on_token ON oauth_access_grants USING btree (token);
@@ -30905,6 +31963,8 @@ CREATE INDEX index_on_identities_lower_extern_uid_and_provider ON identities USI
 
 CREATE UNIQUE INDEX index_on_instance_statistics_recorded_at_and_identifier ON analytics_usage_trends_measurements USING btree (identifier, recorded_at);
 
+CREATE INDEX index_on_issue_assignment_events_issue_id_action_created_at_id ON issue_assignment_events USING btree (issue_id, action, created_at, id);
+
 CREATE INDEX index_on_issues_closed_incidents_by_project_id_and_closed_at ON issues USING btree (project_id, closed_at) WHERE ((issue_type = 1) AND (state_id = 2));
 
 CREATE INDEX index_on_issues_health_status_asc_order ON issues USING btree (project_id, health_status, id DESC, state_id, issue_type);
@@ -30919,10 +31979,14 @@ CREATE INDEX index_on_merge_requests_for_latest_diffs ON merge_requests USING bt
 
 COMMENT ON INDEX index_on_merge_requests_for_latest_diffs IS 'Index used to efficiently obtain the oldest merge request for a commit SHA';
 
+CREATE INDEX index_on_mr_assignment_events_mr_id_action_created_at_id ON merge_request_assignment_events USING btree (merge_request_id, action, created_at, id);
+
 CREATE INDEX index_on_namespaces_lower_name ON namespaces USING btree (lower((name)::text));
 
 CREATE INDEX index_on_namespaces_lower_path ON namespaces USING btree (lower((path)::text));
 
+CREATE INDEX index_on_namespaces_namespaces_by_top_level_namespace ON namespaces USING btree ((traversal_ids[1]), type, id);
+
 CREATE INDEX index_on_oncall_schedule_escalation_rule ON incident_management_escalation_rules USING btree (oncall_schedule_id);
 
 CREATE INDEX index_on_pages_metadata_not_migrated ON project_pages_metadata USING btree (project_id) WHERE ((deployed = true) AND (pages_deployment_id IS NULL));
@@ -30935,6 +31999,8 @@ CREATE INDEX index_on_projects_path ON projects USING btree (path);
 
 CREATE INDEX index_on_routes_lower_path ON routes USING btree (lower((path)::text));
 
+CREATE INDEX index_on_sbom_sources_package_manager_name ON sbom_sources USING btree ((((source -> 'package_manager'::text) ->> 'name'::text)));
+
 CREATE INDEX index_on_todos_user_project_target_and_state ON todos USING btree (user_id, project_id, target_type, target_id, id) WHERE ((state)::text = 'pending'::text);
 
 CREATE INDEX index_on_users_lower_email ON users USING btree (lower((email)::text));
@@ -30943,6 +32009,8 @@ CREATE INDEX index_on_users_lower_username ON users USING btree (lower((username
 
 CREATE INDEX index_on_users_name_lower ON users USING btree (lower((name)::text));
 
+CREATE INDEX index_on_value_stream_dashboard_aggregations_last_run_at_and_id ON value_stream_dashboard_aggregations USING btree (last_run_at NULLS FIRST, namespace_id) WHERE (enabled IS TRUE);
+
 CREATE INDEX index_onboarding_progresses_for_create_track ON onboarding_progresses USING btree (created_at) WHERE (git_write_at IS NULL);
 
 CREATE INDEX index_onboarding_progresses_for_team_track ON onboarding_progresses USING btree (GREATEST(git_write_at, pipeline_created_at, trial_started_at)) WHERE ((git_write_at IS NOT NULL) AND (pipeline_created_at IS NOT NULL) AND (trial_started_at IS NOT NULL) AND (user_added_at IS NULL));
@@ -30977,8 +32045,14 @@ CREATE UNIQUE INDEX index_ops_strategies_user_lists_on_strategy_id_and_user_list
 
 CREATE UNIQUE INDEX index_organizations_on_unique_name_per_group ON customer_relations_organizations USING btree (group_id, lower(name), id);
 
+CREATE UNIQUE INDEX index_p_ci_job_annotations_on_partition_id_job_id_name ON ONLY p_ci_job_annotations USING btree (partition_id, job_id, name);
+
+CREATE INDEX index_p_ci_runner_machine_builds_on_runner_machine_id ON ONLY p_ci_runner_machine_builds USING btree (runner_machine_id);
+
 CREATE INDEX index_packages_build_infos_on_pipeline_id ON packages_build_infos USING btree (pipeline_id);
 
+CREATE INDEX index_packages_build_infos_package_id_id ON packages_build_infos USING btree (package_id, id);
+
 CREATE INDEX index_packages_build_infos_package_id_pipeline_id_id ON packages_build_infos USING btree (package_id, pipeline_id, id);
 
 CREATE UNIQUE INDEX index_packages_composer_cache_namespace_and_sha ON packages_composer_cache_files USING btree (namespace_id, file_sha256);
@@ -31009,8 +32083,6 @@ CREATE UNIQUE INDEX index_packages_dependencies_on_name_and_version_pattern ON p
 
 CREATE INDEX index_packages_dependency_links_on_dependency_id ON packages_dependency_links USING btree (dependency_id);
 
-CREATE INDEX index_packages_events_on_package_id ON packages_events USING btree (package_id);
-
 CREATE INDEX index_packages_helm_file_metadata_on_channel ON packages_helm_file_metadata USING btree (channel);
 
 CREATE INDEX index_packages_helm_file_metadata_on_pf_id_and_channel ON packages_helm_file_metadata USING btree (package_file_id, channel);
@@ -31019,6 +32091,10 @@ CREATE INDEX index_packages_maven_metadata_on_package_id_and_path ON packages_ma
 
 CREATE INDEX index_packages_maven_metadata_on_path ON packages_maven_metadata USING btree (path);
 
+CREATE UNIQUE INDEX index_packages_npm_metadata_caches_on_object_storage_key ON packages_npm_metadata_caches USING btree (object_storage_key);
+
+CREATE INDEX index_packages_npm_metadata_caches_on_project_id ON packages_npm_metadata_caches USING btree (project_id);
+
 CREATE INDEX index_packages_nuget_dl_metadata_on_dependency_link_id ON packages_nuget_dependency_link_metadata USING btree (dependency_link_id);
 
 CREATE INDEX index_packages_on_available_pypi_packages ON packages_packages USING btree (project_id, id) WHERE ((status = ANY (ARRAY[0, 1])) AND (package_type = 5) AND (version IS NOT NULL));
@@ -31027,10 +32103,14 @@ CREATE INDEX index_packages_package_file_build_infos_on_package_file_id ON packa
 
 CREATE INDEX index_packages_package_file_build_infos_on_pipeline_id ON packages_package_file_build_infos USING btree (pipeline_id);
 
+CREATE INDEX index_packages_package_files_on_file_name ON packages_package_files USING gin (file_name gin_trgm_ops);
+
 CREATE INDEX index_packages_package_files_on_file_store ON packages_package_files USING btree (file_store);
 
 CREATE INDEX index_packages_package_files_on_id_for_cleanup ON packages_package_files USING btree (id) WHERE (status = 1);
 
+CREATE INDEX index_packages_package_files_on_package_id_and_created_at_desc ON packages_package_files USING btree (package_id, created_at DESC);
+
 CREATE INDEX index_packages_package_files_on_package_id_and_file_name ON packages_package_files USING btree (package_id, file_name);
 
 CREATE INDEX index_packages_package_files_on_package_id_id ON packages_package_files USING btree (package_id, id);
@@ -31111,6 +32191,8 @@ CREATE INDEX index_pages_domains_on_verified_at_and_enabled_until ON pages_domai
 
 CREATE INDEX index_pages_domains_on_wildcard ON pages_domains USING btree (wildcard);
 
+CREATE INDEX p_ci_builds_user_id_name_idx ON ONLY p_ci_builds USING btree (user_id, name) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('secret_detection'::character varying)::text])));
+
 CREATE INDEX index_partial_ci_builds_on_user_id_name_parser_features ON ci_builds USING btree (user_id, name) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('secret_detection'::character varying)::text])));
 
 CREATE INDEX index_pat_on_user_id_and_expires_at ON personal_access_tokens USING btree (user_id, expires_at);
@@ -31135,6 +32217,10 @@ CREATE UNIQUE INDEX index_plan_limits_on_plan_id ON plan_limits USING btree (pla
 
 CREATE UNIQUE INDEX index_plans_on_name ON plans USING btree (name);
 
+CREATE UNIQUE INDEX index_pm_advisories_on_advisory_xid_and_source_xid ON pm_advisories USING btree (advisory_xid, source_xid);
+
+CREATE INDEX index_pm_affected_packages_on_pm_advisory_id ON pm_affected_packages USING btree (pm_advisory_id);
+
 CREATE INDEX index_pm_package_version_licenses_on_pm_license_id ON pm_package_version_licenses USING btree (pm_license_id);
 
 CREATE INDEX index_pm_package_version_licenses_on_pm_package_version_id ON pm_package_version_licenses USING btree (pm_package_version_id);
@@ -31147,8 +32233,6 @@ CREATE INDEX index_pool_repositories_on_shard_id ON pool_repositories USING btre
 
 CREATE UNIQUE INDEX index_pool_repositories_on_source_project_id_and_shard_id ON pool_repositories USING btree (source_project_id, shard_id);
 
-CREATE UNIQUE INDEX index_postgres_async_foreign_key_validations_on_name ON postgres_async_foreign_key_validations USING btree (name);
-
 CREATE UNIQUE INDEX index_postgres_async_indexes_on_name ON postgres_async_indexes USING btree (name);
 
 CREATE INDEX index_postgres_reindex_actions_on_index_identifier ON postgres_reindex_actions USING btree (index_identifier);
@@ -31163,6 +32247,8 @@ CREATE UNIQUE INDEX index_project_aliases_on_name ON project_aliases USING btree
 
 CREATE INDEX index_project_aliases_on_project_id ON project_aliases USING btree (project_id);
 
+CREATE UNIQUE INDEX index_project_authorizations_on_project_user_access_level ON project_authorizations USING btree (project_id, user_id, access_level);
+
 CREATE UNIQUE INDEX index_project_auto_devops_on_project_id ON project_auto_devops USING btree (project_id);
 
 CREATE UNIQUE INDEX index_project_build_artifacts_size_refreshes_on_project_id ON project_build_artifacts_size_refreshes USING btree (project_id);
@@ -31175,6 +32261,10 @@ CREATE INDEX index_project_compliance_framework_settings_on_framework_id ON proj
 
 CREATE INDEX index_project_compliance_framework_settings_on_project_id ON project_compliance_framework_settings USING btree (project_id);
 
+CREATE INDEX index_project_compliance_standards_adherence_on_namespace_id ON project_compliance_standards_adherence USING btree (namespace_id);
+
+CREATE INDEX index_project_compliance_standards_adherence_on_project_id ON project_compliance_standards_adherence USING btree (project_id);
+
 CREATE INDEX index_project_custom_attributes_on_key_and_value ON project_custom_attributes USING btree (key, value);
 
 CREATE UNIQUE INDEX index_project_custom_attributes_on_project_id_and_key ON project_custom_attributes USING btree (project_id, key);
@@ -31255,7 +32345,15 @@ CREATE INDEX index_project_settings_on_project_id_partially ON project_settings
 
 CREATE UNIQUE INDEX index_project_settings_on_push_rule_id ON project_settings USING btree (push_rule_id);
 
-CREATE INDEX index_project_stages_on_stage_event_hash_id ON analytics_cycle_analytics_project_stages USING btree (stage_event_hash_id);
+CREATE INDEX index_project_states_failed_verification ON project_states USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);
+
+CREATE INDEX index_project_states_needs_verification ON project_states USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));
+
+CREATE UNIQUE INDEX index_project_states_on_project_id ON project_states USING btree (project_id);
+
+CREATE INDEX index_project_states_on_verification_state ON project_states USING btree (verification_state);
+
+CREATE INDEX index_project_states_pending_verification ON project_states USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
 
 CREATE INDEX index_project_statistics_on_namespace_id ON project_statistics USING btree (namespace_id);
 
@@ -31279,14 +32377,6 @@ CREATE UNIQUE INDEX index_project_user_callouts_feature ON user_project_callouts
 
 CREATE UNIQUE INDEX index_project_wiki_repositories_on_project_id ON project_wiki_repositories USING btree (project_id);
 
-CREATE INDEX index_project_wiki_repository_states_failed_verification ON project_wiki_repository_states USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);
-
-CREATE INDEX index_project_wiki_repository_states_needs_verification ON project_wiki_repository_states USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));
-
-CREATE INDEX index_project_wiki_repository_states_on_verification_state ON project_wiki_repository_states USING btree (verification_state);
-
-CREATE INDEX index_project_wiki_repository_states_pending_verification ON project_wiki_repository_states USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);
-
 CREATE INDEX index_projects_aimed_for_deletion ON projects USING btree (marked_for_deletion_at) WHERE ((marked_for_deletion_at IS NOT NULL) AND (pending_delete = false));
 
 CREATE INDEX index_projects_api_created_at_id_desc ON projects USING btree (created_at, id DESC);
@@ -31475,6 +32565,8 @@ CREATE UNIQUE INDEX index_releases_on_project_tag_unique ON releases USING btree
 
 CREATE INDEX index_releases_on_released_at ON releases USING btree (released_at);
 
+CREATE INDEX index_remote_development_agent_configs_on_cluster_agent_id ON remote_development_agent_configs USING btree (cluster_agent_id);
+
 CREATE INDEX index_remote_mirrors_on_last_successful_update_at ON remote_mirrors USING btree (last_successful_update_at);
 
 CREATE INDEX index_remote_mirrors_on_project_id ON remote_mirrors USING btree (project_id);
@@ -31527,6 +32619,12 @@ CREATE INDEX index_resource_label_events_on_merge_request_id_label_id_action ON
 
 CREATE INDEX index_resource_label_events_on_user_id ON resource_label_events USING btree (user_id);
 
+CREATE INDEX index_resource_link_events_on_child_work_item_id ON resource_link_events USING btree (child_work_item_id);
+
+CREATE INDEX index_resource_link_events_on_issue_id ON resource_link_events USING btree (issue_id);
+
+CREATE INDEX index_resource_link_events_on_user_id ON resource_link_events USING btree (user_id);
+
 CREATE INDEX index_resource_milestone_events_created_at ON resource_milestone_events USING btree (created_at);
 
 CREATE INDEX index_resource_milestone_events_on_issue_id ON resource_milestone_events USING btree (issue_id);
@@ -31593,6 +32691,10 @@ CREATE INDEX index_sbom_occurrences_on_pipeline_id ON sbom_occurrences USING btr
 
 CREATE INDEX index_sbom_occurrences_on_project_id ON sbom_occurrences USING btree (project_id);
 
+CREATE INDEX index_sbom_occurrences_on_project_id_and_id ON sbom_occurrences USING btree (project_id, id);
+
+CREATE INDEX index_sbom_occurrences_on_project_id_component_id ON sbom_occurrences USING btree (project_id, component_id);
+
 CREATE INDEX index_sbom_occurrences_on_source_id ON sbom_occurrences USING btree (source_id);
 
 CREATE UNIQUE INDEX index_sbom_occurrences_on_uuid ON sbom_occurrences USING btree (uuid);
@@ -31601,6 +32703,8 @@ CREATE UNIQUE INDEX index_sbom_sources_on_source_type_and_source ON sbom_sources
 
 CREATE INDEX index_scan_result_policies_on_policy_configuration_id ON scan_result_policies USING btree (security_orchestration_policy_configuration_id);
 
+CREATE INDEX index_schema_inconsistencies_on_issue_id ON schema_inconsistencies USING btree (issue_id);
+
 CREATE INDEX index_scim_identities_on_group_id ON scim_identities USING btree (group_id);
 
 CREATE UNIQUE INDEX index_scim_identities_on_lower_extern_uid_and_group_id ON scim_identities USING btree (lower((extern_uid)::text), group_id);
@@ -31609,10 +32713,30 @@ CREATE UNIQUE INDEX index_scim_identities_on_user_id_and_group_id ON scim_identi
 
 CREATE UNIQUE INDEX index_scim_oauth_access_tokens_on_group_id_and_token_encrypted ON scim_oauth_access_tokens USING btree (group_id, token_encrypted);
 
+CREATE UNIQUE INDEX index_search_indices_on_id_and_type ON search_indices USING btree (id, type);
+
+CREATE UNIQUE INDEX index_search_indices_on_type_and_bucket_number ON search_indices USING btree (type, bucket_number);
+
+CREATE UNIQUE INDEX index_search_indices_on_type_and_path ON search_indices USING btree (type, path);
+
+CREATE INDEX index_search_namespace_index_assignments_on_namespace_id ON search_namespace_index_assignments USING btree (namespace_id);
+
+CREATE INDEX index_search_namespace_index_assignments_on_search_index_id ON search_namespace_index_assignments USING btree (search_index_id);
+
+CREATE UNIQUE INDEX index_search_namespace_index_assignments_uniqueness_index_type ON search_namespace_index_assignments USING btree (namespace_id, index_type);
+
+CREATE UNIQUE INDEX index_search_namespace_index_assignments_uniqueness_on_index_id ON search_namespace_index_assignments USING btree (namespace_id, search_index_id);
+
+CREATE INDEX p_ci_builds_user_id_name_created_at_idx ON ONLY p_ci_builds USING btree (user_id, name, created_at) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('apifuzzer_fuzz'::character varying)::text, ('apifuzzer_fuzz_dnd'::character varying)::text, ('secret_detection'::character varying)::text])));
+
 CREATE INDEX index_secure_ci_builds_on_user_id_name_created_at ON ci_builds USING btree (user_id, name, created_at) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('apifuzzer_fuzz'::character varying)::text, ('apifuzzer_fuzz_dnd'::character varying)::text, ('secret_detection'::character varying)::text])));
 
+CREATE INDEX p_ci_builds_name_id_idx ON ONLY p_ci_builds USING btree (name, id) WHERE (((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('license_scanning'::character varying)::text, ('apifuzzer_fuzz'::character varying)::text, ('apifuzzer_fuzz_dnd'::character varying)::text])) AND ((type)::text = 'Ci::Build'::text));
+
 CREATE INDEX index_security_ci_builds_on_name_and_id_parser_features ON ci_builds USING btree (name, id) WHERE (((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('license_scanning'::character varying)::text, ('apifuzzer_fuzz'::character varying)::text, ('apifuzzer_fuzz_dnd'::character varying)::text])) AND ((type)::text = 'Ci::Build'::text));
 
+CREATE INDEX index_security_policy_configurations_on_bot_user_id ON security_orchestration_policy_configurations USING btree (bot_user_id) WHERE (bot_user_id IS NOT NULL);
+
 CREATE INDEX index_security_scans_for_non_purged_records ON security_scans USING btree (created_at, id) WHERE (status <> 6);
 
 CREATE INDEX index_security_scans_on_created_at ON security_scans USING btree (created_at);
@@ -31623,7 +32747,7 @@ CREATE INDEX index_security_scans_on_length_of_errors ON security_scans USING bt
 
 CREATE INDEX index_security_scans_on_length_of_warnings ON security_scans USING btree (pipeline_id, jsonb_array_length(COALESCE((info -> 'warnings'::text), '[]'::jsonb)));
 
-CREATE INDEX index_security_scans_on_pipeline_id ON security_scans USING btree (pipeline_id);
+CREATE INDEX index_security_scans_on_pipeline_id_and_scan_type ON security_scans USING btree (pipeline_id, scan_type);
 
 CREATE INDEX index_security_scans_on_project_id ON security_scans USING btree (project_id);
 
@@ -31645,9 +32769,7 @@ CREATE UNIQUE INDEX index_sentry_issues_on_issue_id ON sentry_issues USING btree
 
 CREATE INDEX index_sentry_issues_on_sentry_issue_identifier ON sentry_issues USING btree (sentry_issue_identifier);
 
-CREATE INDEX index_serverless_domain_cluster_on_creator_id ON serverless_domain_cluster USING btree (creator_id);
-
-CREATE INDEX index_serverless_domain_cluster_on_pages_domain_id ON serverless_domain_cluster USING btree (pages_domain_id);
+CREATE INDEX index_service_desk_custom_email_verifications_on_triggerer_id ON service_desk_custom_email_verifications USING btree (triggerer_id);
 
 CREATE INDEX index_service_desk_enabled_projects_on_id_creator_id_created_at ON projects USING btree (id, creator_id, created_at) WHERE (service_desk_enabled = true);
 
@@ -31757,6 +32879,12 @@ CREATE UNIQUE INDEX index_status_page_published_incidents_on_issue_id ON status_
 
 CREATE INDEX index_status_page_settings_on_project_id ON status_page_settings USING btree (project_id);
 
+CREATE INDEX index_subscription_add_on_purchases_on_namespace_id ON subscription_add_on_purchases USING btree (namespace_id);
+
+CREATE INDEX index_subscription_add_on_purchases_on_subscription_add_on_id ON subscription_add_on_purchases USING btree (subscription_add_on_id);
+
+CREATE UNIQUE INDEX index_subscription_add_ons_on_name ON subscription_add_ons USING btree (name);
+
 CREATE INDEX index_subscriptions_on_project_id ON subscriptions USING btree (project_id);
 
 CREATE UNIQUE INDEX index_subscriptions_on_subscribable_and_user_id_and_project_id ON subscriptions USING btree (subscribable_id, subscribable_type, user_id, project_id);
@@ -31871,8 +32999,6 @@ CREATE UNIQUE INDEX index_unique_ci_runner_projects_on_runner_id_and_project_id
 
 CREATE UNIQUE INDEX index_unique_issue_metrics_issue_id ON issue_metrics USING btree (issue_id);
 
-CREATE UNIQUE INDEX index_unique_project_authorizations_on_project_id_user_id ON project_authorizations USING btree (project_id, user_id);
-
 CREATE INDEX index_unit_test_failures_failed_at ON ci_unit_test_failures USING btree (failed_at DESC);
 
 CREATE UNIQUE INDEX index_unit_test_failures_unique_columns ON ci_unit_test_failures USING btree (unit_test_id, failed_at DESC, build_id);
@@ -31927,6 +33053,8 @@ CREATE INDEX index_user_custom_attributes_on_key_and_value ON user_custom_attrib
 
 CREATE UNIQUE INDEX index_user_custom_attributes_on_user_id_and_key ON user_custom_attributes USING btree (user_id, key);
 
+CREATE INDEX index_user_details_on_enterprise_group_id ON user_details USING btree (enterprise_group_id);
+
 CREATE INDEX index_user_details_on_password_last_changed_at ON user_details USING btree (password_last_changed_at);
 
 COMMENT ON INDEX index_user_details_on_password_last_changed_at IS 'JiHu-specific index';
@@ -31961,7 +33089,7 @@ CREATE INDEX index_user_statuses_on_user_id ON user_statuses USING btree (user_i
 
 CREATE UNIQUE INDEX index_user_synced_attributes_metadata_on_user_id ON user_synced_attributes_metadata USING btree (user_id);
 
-CREATE INDEX index_users_for_billable_users ON users USING btree (id) WHERE (((state)::text = 'active'::text) AND ((user_type IS NULL) OR (user_type = ANY (ARRAY[6, 4]))) AND ((user_type IS NULL) OR (user_type = ANY (ARRAY[4, 5]))));
+CREATE INDEX index_users_for_active_billable_users ON users USING btree (id) WHERE (((state)::text = 'active'::text) AND (user_type = ANY (ARRAY[0, 6, 4, 13])) AND (user_type = ANY (ARRAY[0, 4, 5])));
 
 CREATE INDEX index_users_on_accepted_term_id ON users USING btree (accepted_term_id);
 
@@ -31979,7 +33107,7 @@ CREATE INDEX index_users_on_feed_token ON users USING btree (feed_token);
 
 CREATE INDEX index_users_on_group_view ON users USING btree (group_view);
 
-CREATE INDEX index_users_on_id_and_last_activity_on_for_active_human_service ON users USING btree (id, last_activity_on) WHERE (((state)::text = 'active'::text) AND ((user_type IS NULL) OR (user_type = 4)));
+CREATE INDEX index_users_on_id_and_last_activity_on_for_active_human_service ON users USING btree (id, last_activity_on) WHERE (((state)::text = 'active'::text) AND (user_type = ANY (ARRAY[0, 4])));
 
 CREATE INDEX index_users_on_incoming_email_token ON users USING btree (incoming_email_token);
 
@@ -32001,10 +33129,14 @@ CREATE INDEX index_users_on_state_and_user_type ON users USING btree (state, use
 
 CREATE UNIQUE INDEX index_users_on_static_object_token ON users USING btree (static_object_token);
 
+CREATE INDEX index_users_on_unconfirmed_and_created_at_for_active_humans ON users USING btree (created_at, id) WHERE ((confirmed_at IS NULL) AND ((state)::text = 'active'::text) AND (user_type = 0));
+
 CREATE INDEX index_users_on_unconfirmed_email ON users USING btree (unconfirmed_email) WHERE (unconfirmed_email IS NOT NULL);
 
 CREATE UNIQUE INDEX index_users_on_unlock_token ON users USING btree (unlock_token);
 
+CREATE INDEX index_users_on_updated_at ON users USING btree (updated_at);
+
 CREATE INDEX index_users_on_user_type_and_id ON users USING btree (user_type, id);
 
 CREATE INDEX index_users_on_username ON users USING btree (username);
@@ -32099,6 +33231,8 @@ CREATE INDEX index_vulnerability_feedback_on_pipeline_id ON vulnerability_feedba
 
 CREATE INDEX index_vulnerability_finding_signatures_on_finding_id ON vulnerability_finding_signatures USING btree (finding_id);
 
+CREATE INDEX index_vulnerability_finding_signatures_on_signature_sha ON vulnerability_finding_signatures USING btree (signature_sha);
+
 CREATE INDEX index_vulnerability_findings_remediations_on_remediation_id ON vulnerability_findings_remediations USING btree (vulnerability_remediation_id);
 
 CREATE UNIQUE INDEX index_vulnerability_findings_remediations_on_unique_keys ON vulnerability_findings_remediations USING btree (vulnerability_occurrence_id, vulnerability_remediation_id);
@@ -32127,6 +33261,8 @@ CREATE INDEX index_vulnerability_occurrences_deduplication ON vulnerability_occu
 
 CREATE INDEX index_vulnerability_occurrences_for_issue_links_migration ON vulnerability_occurrences USING btree (project_id, report_type, encode(project_fingerprint, 'hex'::text));
 
+CREATE INDEX index_vulnerability_occurrences_for_override_uuids_logic ON vulnerability_occurrences USING btree (project_id, report_type, location_fingerprint);
+
 CREATE INDEX index_vulnerability_occurrences_on_location_image ON vulnerability_occurrences USING gin (((location -> 'image'::text))) WHERE (report_type = ANY (ARRAY[2, 7]));
 
 CREATE INDEX index_vulnerability_occurrences_on_location_k8s_agent_id ON vulnerability_occurrences USING gin ((((location -> 'kubernetes_resource'::text) -> 'agent_id'::text))) WHERE (report_type = 7);
@@ -32143,9 +33279,9 @@ CREATE UNIQUE INDEX index_vulnerability_occurrences_on_uuid ON vulnerability_occ
 
 CREATE INDEX index_vulnerability_occurrences_on_vulnerability_id ON vulnerability_occurrences USING btree (vulnerability_id);
 
-CREATE INDEX index_vulnerability_reads_common_finder_query ON vulnerability_reads USING btree (project_id, state, report_type, severity, vulnerability_id DESC);
+CREATE INDEX index_vulnerability_reads_common_finder_query_2 ON vulnerability_reads USING btree (project_id, state, report_type, severity, vulnerability_id DESC, dismissal_reason);
 
-CREATE INDEX index_vulnerability_reads_common_finder_query_with_namespace_id ON vulnerability_reads USING btree (namespace_id, state, report_type, severity, vulnerability_id DESC);
+CREATE INDEX index_vulnerability_reads_common_finder_query_w_namespace_id ON vulnerability_reads USING btree (namespace_id, state, report_type, severity, vulnerability_id DESC, dismissal_reason);
 
 CREATE INDEX index_vulnerability_reads_on_cluster_agent_id ON vulnerability_reads USING btree (cluster_agent_id) WHERE (report_type = 7);
 
@@ -32153,6 +33289,8 @@ CREATE INDEX index_vulnerability_reads_on_location_image ON vulnerability_reads
 
 CREATE INDEX index_vulnerability_reads_on_location_image_partial ON vulnerability_reads USING btree (project_id, location_image) WHERE ((report_type = ANY (ARRAY[2, 7])) AND (location_image IS NOT NULL));
 
+CREATE INDEX index_vulnerability_reads_on_location_image_trigram ON vulnerability_reads USING gin (location_image gin_trgm_ops) WHERE ((report_type = ANY (ARRAY[2, 7])) AND (location_image IS NOT NULL));
+
 CREATE INDEX index_vulnerability_reads_on_namespace_type_severity_id ON vulnerability_reads USING btree (namespace_id, report_type, severity, vulnerability_id);
 
 CREATE INDEX index_vulnerability_reads_on_scanner_id ON vulnerability_reads USING btree (scanner_id);
@@ -32169,6 +33307,8 @@ CREATE INDEX index_vulnerability_state_transitions_id_and_vulnerability_id ON vu
 
 CREATE INDEX index_vulnerability_state_transitions_on_author_id ON vulnerability_state_transitions USING btree (author_id);
 
+CREATE INDEX index_vulnerability_state_transitions_on_pipeline_id ON vulnerability_state_transitions USING btree (state_changed_at_pipeline_id);
+
 CREATE INDEX index_vulnerability_statistics_on_latest_pipeline_id ON vulnerability_statistics USING btree (latest_pipeline_id);
 
 CREATE INDEX index_vulnerability_statistics_on_letter_grade ON vulnerability_statistics USING btree (letter_grade);
@@ -32185,6 +33325,8 @@ CREATE UNIQUE INDEX index_vulns_user_mentions_on_vulnerability_id ON vulnerabili
 
 CREATE UNIQUE INDEX index_vulns_user_mentions_on_vulnerability_id_and_note_id ON vulnerability_user_mentions USING btree (vulnerability_id, note_id);
 
+CREATE INDEX index_web_hook_logs_on_web_hook_id_and_created_at ON ONLY web_hook_logs USING btree (web_hook_id, created_at);
+
 CREATE INDEX index_web_hook_logs_part_on_created_at_and_web_hook_id ON ONLY web_hook_logs USING btree (created_at, web_hook_id);
 
 CREATE INDEX index_web_hook_logs_part_on_web_hook_id ON ONLY web_hook_logs USING btree (web_hook_id);
@@ -32201,8 +33343,6 @@ CREATE INDEX index_web_hooks_on_type ON web_hooks USING btree (type);
 
 CREATE UNIQUE INDEX index_webauthn_registrations_on_credential_xid ON webauthn_registrations USING btree (credential_xid);
 
-CREATE INDEX index_webauthn_registrations_on_u2f_registration_id ON webauthn_registrations USING btree (u2f_registration_id) WHERE (u2f_registration_id IS NOT NULL);
-
 CREATE INDEX index_webauthn_registrations_on_user_id ON webauthn_registrations USING btree (user_id);
 
 CREATE INDEX index_wiki_page_meta_on_project_id ON wiki_page_meta USING btree (project_id);
@@ -32231,12 +33371,22 @@ CREATE UNIQUE INDEX index_work_item_parent_links_on_work_item_id ON work_item_pa
 
 CREATE INDEX index_work_item_parent_links_on_work_item_parent_id ON work_item_parent_links USING btree (work_item_parent_id);
 
+CREATE INDEX index_work_item_types_on_base_type_and_id ON work_item_types USING btree (base_type, id);
+
 CREATE UNIQUE INDEX index_work_item_widget_definitions_on_default_witype_and_name ON work_item_widget_definitions USING btree (work_item_type_id, name) WHERE (namespace_id IS NULL);
 
 CREATE UNIQUE INDEX index_work_item_widget_definitions_on_namespace_type_and_name ON work_item_widget_definitions USING btree (namespace_id, work_item_type_id, name);
 
 CREATE INDEX index_work_item_widget_definitions_on_work_item_type_id ON work_item_widget_definitions USING btree (work_item_type_id);
 
+CREATE INDEX index_workspaces_on_cluster_agent_id ON workspaces USING btree (cluster_agent_id);
+
+CREATE UNIQUE INDEX index_workspaces_on_name ON workspaces USING btree (name);
+
+CREATE INDEX index_workspaces_on_project_id ON workspaces USING btree (project_id);
+
+CREATE INDEX index_workspaces_on_user_id ON workspaces USING btree (user_id);
+
 CREATE INDEX index_x509_certificates_on_subject_key_identifier ON x509_certificates USING btree (subject_key_identifier);
 
 CREATE INDEX index_x509_certificates_on_x509_issuer_id ON x509_certificates USING btree (x509_issuer_id);
@@ -32277,18 +33427,18 @@ CREATE UNIQUE INDEX issue_user_mentions_on_issue_id_index ON issue_user_mentions
 
 CREATE UNIQUE INDEX kubernetes_namespaces_cluster_and_namespace ON clusters_kubernetes_namespaces USING btree (cluster_id, namespace);
 
-CREATE INDEX merge_request_mentions_temp_index ON merge_requests USING btree (id) WHERE ((description ~~ '%@%'::text) OR ((title)::text ~~ '%@%'::text));
-
 CREATE UNIQUE INDEX merge_request_user_mentions_on_mr_id_and_note_id_index ON merge_request_user_mentions USING btree (merge_request_id, note_id);
 
 CREATE UNIQUE INDEX merge_request_user_mentions_on_mr_id_index ON merge_request_user_mentions USING btree (merge_request_id) WHERE (note_id IS NULL);
 
-CREATE INDEX merge_requests_state_id_temp_index ON merge_requests USING btree (id) WHERE (state_id = ANY (ARRAY[2, 3]));
-
 CREATE INDEX note_mentions_temp_index ON notes USING btree (id, noteable_type) WHERE (note ~~ '%@%'::text);
 
 CREATE UNIQUE INDEX one_canonical_wiki_page_slug_per_metadata ON wiki_page_slugs USING btree (wiki_page_meta_id) WHERE (canonical = true);
 
+CREATE INDEX p_ci_builds_scheduled_at_idx ON ONLY p_ci_builds USING btree (scheduled_at) WHERE ((scheduled_at IS NOT NULL) AND ((type)::text = 'Ci::Build'::text) AND ((status)::text = 'scheduled'::text));
+
+CREATE UNIQUE INDEX p_ci_builds_token_encrypted_partition_id_idx ON ONLY p_ci_builds USING btree (token_encrypted, partition_id) WHERE (token_encrypted IS NOT NULL);
+
 CREATE INDEX package_name_index ON packages_packages USING btree (name);
 
 CREATE INDEX packages_packages_failed_verification ON packages_package_files USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);
@@ -32305,8 +33455,6 @@ CREATE INDEX partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs ON ci_b
 
 CREATE INDEX partial_index_deployments_for_legacy_successful_deployments ON deployments USING btree (id) WHERE ((finished_at IS NULL) AND (status = 2));
 
-CREATE INDEX partial_index_deployments_for_project_id_and_tag ON deployments USING btree (project_id) WHERE (tag IS TRUE);
-
 CREATE INDEX partial_index_slack_integrations_with_bot_user_id ON slack_integrations USING btree (id) WHERE (bot_user_id IS NOT NULL);
 
 CREATE UNIQUE INDEX partial_index_sop_configs_on_namespace_id ON security_orchestration_policy_configurations USING btree (namespace_id) WHERE (namespace_id IS NOT NULL);
@@ -32315,6 +33463,8 @@ CREATE UNIQUE INDEX partial_index_sop_configs_on_project_id ON security_orchestr
 
 CREATE INDEX partial_index_user_id_app_id_created_at_token_not_revoked ON oauth_access_tokens USING btree (resource_owner_id, application_id, created_at) WHERE (revoked_at IS NULL);
 
+CREATE UNIQUE INDEX pm_checkpoints_path_components ON pm_checkpoints USING btree (purl_type, data_type, version_format);
+
 CREATE INDEX scan_finding_approval_mr_rule_index_id ON approval_merge_request_rules USING btree (id) WHERE (report_type = 4);
 
 CREATE INDEX scan_finding_approval_mr_rule_index_merge_request_id ON approval_merge_request_rules USING btree (merge_request_id) WHERE (report_type = 4);
@@ -32351,7 +33501,9 @@ CREATE INDEX tmp_idx_for_feedback_comment_processing ON vulnerability_feedback U
 
 CREATE INDEX tmp_idx_for_vulnerability_feedback_migration ON vulnerability_feedback USING btree (id) WHERE ((migrated_to_state_transition = false) AND (feedback_type = 0));
 
-CREATE INDEX tmp_idx_package_files_on_non_zero_size ON packages_package_files USING btree (package_id, size) WHERE (size IS NOT NULL);
+CREATE INDEX tmp_idx_packages_on_project_id_when_npm_not_pending_destruction ON packages_packages USING btree (project_id) WHERE ((package_type = 2) AND (status <> 4));
+
+CREATE INDEX tmp_idx_vulnerability_occurrences_on_id_where_report_type_7_99 ON vulnerability_occurrences USING btree (id) WHERE (report_type = ANY (ARRAY[7, 99]));
 
 CREATE INDEX tmp_index_ci_job_artifacts_on_expire_at_where_locked_unknown ON ci_job_artifacts USING btree (expire_at, job_id) WHERE ((locked = 2) AND (expire_at IS NOT NULL));
 
@@ -32363,6 +33515,8 @@ CREATE INDEX tmp_index_container_repos_on_non_migrated ON container_repositories
 
 CREATE INDEX tmp_index_container_repositories_on_id_migration_state ON container_repositories USING btree (id, migration_state);
 
+CREATE INDEX tmp_index_for_backfilling_resource_link_events ON system_note_metadata USING btree (id) WHERE (((action)::text = 'relate_to_parent'::text) OR ((action)::text = 'unrelate_from_parent'::text));
+
 CREATE INDEX tmp_index_for_null_member_namespace_id ON members USING btree (member_namespace_id) WHERE (member_namespace_id IS NULL);
 
 CREATE INDEX tmp_index_for_project_namespace_id_migration_on_routes ON routes USING btree (id) WHERE ((namespace_id IS NULL) AND ((source_type)::text = 'Project'::text));
@@ -32371,14 +33525,18 @@ CREATE INDEX tmp_index_members_on_state ON members USING btree (state) WHERE (st
 
 CREATE INDEX tmp_index_migrated_container_registries ON container_repositories USING btree (project_id) WHERE ((migration_state = 'import_done'::text) OR (created_at >= '2022-01-23 00:00:00'::timestamp without time zone));
 
-CREATE INDEX tmp_index_oauth_access_tokens_on_id_where_expires_in_null ON oauth_access_tokens USING btree (id) WHERE (expires_in IS NULL);
-
 CREATE INDEX tmp_index_on_vulnerabilities_non_dismissed ON vulnerabilities USING btree (id) WHERE (state <> 2);
 
 CREATE INDEX tmp_index_project_statistics_cont_registry_size ON project_statistics USING btree (project_id) WHERE (container_registry_size = 0);
 
+CREATE INDEX tmp_index_vulnerability_dismissal_info ON vulnerabilities USING btree (id) WHERE ((state = 2) AND ((dismissed_at IS NULL) OR (dismissed_by_id IS NULL)));
+
 CREATE INDEX tmp_index_vulnerability_overlong_title_html ON vulnerabilities USING btree (id) WHERE (length(title_html) > 800);
 
+CREATE UNIQUE INDEX u_project_compliance_standards_adherence_for_reporting ON project_compliance_standards_adherence USING btree (project_id, check_name, standard);
+
+CREATE UNIQUE INDEX uniq_idx_packages_packages_on_project_id_name_version_ml_model ON packages_packages USING btree (project_id, name, version) WHERE (package_type = 14);
+
 CREATE UNIQUE INDEX uniq_pkgs_deb_grp_architectures_on_distribution_id_and_name ON packages_debian_group_architectures USING btree (distribution_id, name);
 
 CREATE UNIQUE INDEX uniq_pkgs_deb_grp_components_on_distribution_id_and_name ON packages_debian_group_components USING btree (distribution_id, name);
@@ -32397,16 +33555,32 @@ CREATE UNIQUE INDEX uniq_pkgs_debian_project_distributions_project_id_and_suite
 
 CREATE UNIQUE INDEX unique_ci_builds_token_encrypted_and_partition_id ON ci_builds USING btree (token_encrypted, partition_id) WHERE (token_encrypted IS NOT NULL);
 
+CREATE UNIQUE INDEX unique_google_cloud_logging_configurations_on_namespace_id ON audit_events_google_cloud_logging_configurations USING btree (namespace_id, google_project_id_name, log_id_name);
+
+CREATE UNIQUE INDEX unique_idx_namespaces_storage_limit_exclusions_on_namespace_id ON namespaces_storage_limit_exclusions USING btree (namespace_id);
+
 CREATE UNIQUE INDEX unique_index_ci_build_pending_states_on_partition_id_build_id ON ci_build_pending_states USING btree (partition_id, build_id);
 
 CREATE UNIQUE INDEX unique_index_for_project_pages_unique_domain ON project_settings USING btree (pages_unique_domain) WHERE (pages_unique_domain IS NOT NULL);
 
+CREATE UNIQUE INDEX unique_index_on_system_note_metadata_id ON resource_link_events USING btree (system_note_metadata_id);
+
+CREATE UNIQUE INDEX unique_merge_request_diff_llm_summaries_on_mr_diff_id ON merge_request_diff_llm_summaries USING btree (merge_request_diff_id);
+
 CREATE UNIQUE INDEX unique_merge_request_metrics_by_merge_request_id ON merge_request_metrics USING btree (merge_request_id);
 
+CREATE UNIQUE INDEX unique_organizations_on_path ON organizations USING btree (path);
+
+CREATE UNIQUE INDEX unique_packages_project_id_and_name_and_version_when_debian ON packages_packages USING btree (project_id, name, version) WHERE ((package_type = 9) AND (status <> 4));
+
+CREATE UNIQUE INDEX unique_postgres_async_fk_validations_name_and_table_name ON postgres_async_foreign_key_validations USING btree (name, table_name);
+
 CREATE UNIQUE INDEX unique_projects_on_name_namespace_id ON projects USING btree (name, namespace_id);
 
 CREATE UNIQUE INDEX unique_streaming_event_type_filters_destination_id ON audit_events_streaming_event_type_filters USING btree (external_audit_event_destination_id, audit_event_type);
 
+CREATE UNIQUE INDEX unique_streaming_instance_event_type_filters_destination_id ON audit_events_streaming_instance_event_type_filters USING btree (instance_external_audit_event_destination_id, audit_event_type);
+
 CREATE UNIQUE INDEX unique_vuln_merge_request_link_vuln_id_and_mr_id ON vulnerability_merge_request_links USING btree (vulnerability_id, merge_request_id);
 
 CREATE INDEX user_follow_users_followee_id_idx ON user_follow_users USING btree (followee_id);
@@ -32549,6 +33723,8 @@ ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_pa
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_006f943df6;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_009e6c1133;
+
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_02749b504c;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_0287f5ba09;
@@ -32571,6 +33747,8 @@ ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_0d837a5dda;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_0e98daa03c;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_0f28a65451;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_10588dbff0;
@@ -32587,6 +33765,8 @@ ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION git
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_16627b455e;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_17fa2812c5;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_1a0388713a;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_1a349ed064;
@@ -32603,8 +33783,12 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_20353089e0;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_203dd694bc;
+
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_206349925b;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_2098118748;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_21db459e34;
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_21e262390a;
@@ -32637,6 +33821,8 @@ ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_281840d2d1;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_2945cf4c6d;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_296f64df5c;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_2ad4b4fdbc;
@@ -32669,6 +33855,8 @@ ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH
 
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_372160a706;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_389dd3c9fc;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_38a538234e;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_39625b8a41;
@@ -32677,10 +33865,14 @@ ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_part
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_3a10b315c0;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_3a8848c00b;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_3c2a3a6ac9;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_3e6be332b7;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_4137a6fac3;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_41a1c3a4c6;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_435802dd01;
@@ -32691,10 +33883,14 @@ ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_46b989b294;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_4717e7049b;
+
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_47638677a3;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_4810ac88f5;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_482a09e0ee;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_491b4b749e;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_4a243772d7;
@@ -32721,6 +33917,10 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_4f6fc34e57;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_50272372ba;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5034eae5ff;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_50c09f6e04;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5111e3e7e7;
@@ -32729,16 +33929,24 @@ ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION g
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_541cc045fc;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5445e466ee;
+
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_551676e972;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_56281bfb73;
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_5660b1b38e;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_584c1e6fb0;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5913107510;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_59a8209ab6;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_59ce40fcc4;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_59cfd5bc9a;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5a5f39d824;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5b613b5fcf;
@@ -32747,10 +33955,16 @@ ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION git
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_5bc2f32084;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5bfa62771b;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5c4053b63d;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_5db09170d4;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5e46aea379;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_5e78c2eac1;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5ee060202f;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_5f24f6ead2;
@@ -32773,8 +33987,12 @@ ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_part
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_64eb4cf8bd;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_6578d04baa;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_6580ecb2db;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_66a736da09;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_682eba05f6;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_69bdcf213e;
@@ -32787,6 +34005,10 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_6cfb391b86;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_6e560c1a4d;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_6e64aa1646;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_6e6c2e6a1d;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_6ea423bbd1;
@@ -32797,6 +34019,8 @@ ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_6fa47e1334;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_708d792ae9;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_70c657954b;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_71c2b26944;
@@ -32823,6 +34047,8 @@ ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_part
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_7ecb5b68b4;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_7f543eed8d;
+
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_807671c4be;
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_807fa83fc0;
@@ -32833,6 +34059,8 @@ ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_82c675952c;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_837cc295f1;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_83c5049b3e;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_83edf231b8;
@@ -32849,20 +34077,32 @@ ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION g
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_88b40d6740;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_89c49cf697;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_89c79afe5c;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_8a0fc3de4f;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_8a8eb06b9a;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_8b1b6b03b4;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_8b9f9a19a4;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_8fb48e72ce;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_918bb2ebbb;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_91d5e4e3df;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_9201b952a0;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_92c09e352b;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_9490e0e0b7;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_9555c2ae92;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_95a353f50b;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_971af9481e;
@@ -32871,6 +34111,8 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_9b8e89ae41;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_9d0e953ab3;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_9ee83b068b;
 
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a1a9dc36c1;
@@ -32879,6 +34121,8 @@ ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH
 
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a3feed3097;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_a46b7b7f26;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a6999c65c9;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_a6c68d16b2;
@@ -32887,10 +34131,16 @@ ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION g
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a88f20fc98;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_a8fe03fe34;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a9424aa392;
 
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_a99cee1904;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_a9b1763c36;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_a9ba23c88e;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_a9deff2159;
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_aabc184267;
@@ -32899,6 +34149,8 @@ ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITI
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_abbdf80ab1;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ad55e8b11c;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_adc159c3fe;
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_aed7f7b10c;
@@ -32907,6 +34159,14 @@ ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION git
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_b1dda405af;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_b24e8538c8;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_b3b64068e7;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_b3c4c9a53f;
+
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_b4b2bba753;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_b607012614;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_b7f21460bb;
@@ -32917,10 +34177,18 @@ ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_part
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_bca83177ef;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_bcaa8dcd34;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_be0a028bcc;
+
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_bedd7e160b;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_bee2b94a80;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_bf1809b19e;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_c02f569fba;
+
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_c08e669dfa;
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_c09bb66559;
@@ -32947,46 +34215,70 @@ ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_c6ea8a0e26;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_c7ac8595d3;
+
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_c8c4219c0a;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_c971e6c5ce;
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_c9b14a3d9f;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_cb222425ed;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_cbb61ea269;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_cc0ba6343b;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ccb4f5c5a6;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_cd2b2939a4;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_cda41e106e;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ce87cbaf2d;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_cfa4237c83;
 
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_d01ea0126a;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_d03e9cdfae;
+
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_d0d285c264;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_d17b82ddd9;
+
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_d1c24d8199;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_d27b4c84e7;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_d2fe918e83;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_d35c969634;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_d493a5c171;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_d6047ee813;
 
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_d69c2485f4;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_d70379e22c;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_d8fa9793ad;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_d9384b768d;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_db2753330c;
+
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_dc571ba649;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_de0334da63;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_df62a8c50e;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_e1a4f994d8;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_e38489ea98;
+
 ALTER INDEX index_merge_request_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_e3d1fd5b19;
 
 ALTER INDEX index_issue_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_e3d6234929;
@@ -33005,12 +34297,18 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_ea0c2d3361;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ea1b583157;
+
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_eb558957f0;
 
 ALTER INDEX index_merge_request_stage_events_group_duration ATTACH PARTITION gitlab_partitions_static.index_ec25d494e6;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ece25b5987;
+
 ALTER INDEX index_issue_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_ed094a4f13;
 
+ALTER INDEX index_issue_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_ed6dbac8c0;
+
 ALTER INDEX index_merge_request_stage_events_project_duration ATTACH PARTITION gitlab_partitions_static.index_ee4c549a2d;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_ef6a48bd29;
@@ -33039,10 +34337,14 @@ ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH P
 
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_f86acdc2ff;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_f86f73056d;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_f878aab8e3;
 
 ALTER INDEX index_issue_stage_events_project_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_f902c261ce;
 
+ALTER INDEX index_mr_stage_events_for_consistency_check ATTACH PARTITION gitlab_partitions_static.index_f91599d825;
+
 ALTER INDEX index_merge_request_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_fbccc855cf;
 
 ALTER INDEX index_issue_stage_events_group_in_progress_duration ATTACH PARTITION gitlab_partitions_static.index_fbf2d3310b;
@@ -33697,9 +34999,11 @@ ALTER INDEX product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_p
 
 ALTER INDEX product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_63_pkey;
 
+ALTER INDEX p_ci_builds_status_created_at_project_id_idx ATTACH PARTITION ci_builds_gitlab_monitor_metrics;
+
 ALTER INDEX p_ci_builds_metadata_pkey ATTACH PARTITION ci_builds_metadata_pkey;
 
-ALTER INDEX p_ci_builds_metadata_on_runner_machine_id_idx ATTACH PARTITION index_b6331cde35;
+ALTER INDEX p_ci_builds_pkey ATTACH PARTITION ci_builds_pkey;
 
 ALTER INDEX p_ci_builds_metadata_build_id_idx ATTACH PARTITION index_ci_builds_metadata_on_build_id_and_has_exposed_artifacts;
 
@@ -33707,63 +35011,91 @@ ALTER INDEX p_ci_builds_metadata_build_id_id_idx ATTACH PARTITION index_ci_build
 
 ALTER INDEX p_ci_builds_metadata_build_id_partition_id_idx ATTACH PARTITION index_ci_builds_metadata_on_build_id_partition_id_unique;
 
-ALTER INDEX p_ci_builds_metadata_id_partition_id_idx ATTACH PARTITION index_ci_builds_metadata_on_id_partition_id_unique;
-
 ALTER INDEX p_ci_builds_metadata_project_id_idx ATTACH PARTITION index_ci_builds_metadata_on_project_id;
 
-CREATE TRIGGER chat_names_loose_fk_trigger AFTER DELETE ON chat_names REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_auto_canceled_by_id_idx ATTACH PARTITION index_ci_builds_on_auto_canceled_by_id;
 
-CREATE TRIGGER ci_builds_loose_fk_trigger AFTER DELETE ON ci_builds REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_commit_id_stage_idx_created_at_idx ATTACH PARTITION index_ci_builds_on_commit_id_and_stage_idx_and_created_at;
 
-CREATE TRIGGER ci_pipelines_loose_fk_trigger AFTER DELETE ON ci_pipelines REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_commit_id_status_type_idx ATTACH PARTITION index_ci_builds_on_commit_id_and_status_and_type;
 
-CREATE TRIGGER ci_runners_loose_fk_trigger AFTER DELETE ON ci_runners REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_commit_id_type_name_ref_idx ATTACH PARTITION index_ci_builds_on_commit_id_and_type_and_name_and_ref;
 
-CREATE TRIGGER clusters_loose_fk_trigger AFTER DELETE ON clusters REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_commit_id_type_ref_idx ATTACH PARTITION index_ci_builds_on_commit_id_and_type_and_ref;
 
-CREATE TRIGGER merge_requests_loose_fk_trigger AFTER DELETE ON merge_requests REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_commit_id_artifacts_expire_at_id_idx ATTACH PARTITION index_ci_builds_on_commit_id_artifacts_expired_at_and_id;
 
-CREATE TRIGGER namespaces_loose_fk_trigger AFTER DELETE ON namespaces REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_project_id_id_idx ATTACH PARTITION index_ci_builds_on_project_id_and_id;
 
-CREATE TRIGGER nullify_merge_request_metrics_build_data_on_update BEFORE UPDATE ON merge_request_metrics FOR EACH ROW EXECUTE FUNCTION nullify_merge_request_metrics_build_data();
+ALTER INDEX p_ci_builds_project_id_name_ref_idx ATTACH PARTITION index_ci_builds_on_project_id_and_name_and_ref;
 
-CREATE TRIGGER projects_loose_fk_trigger AFTER DELETE ON projects REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+ALTER INDEX p_ci_builds_resource_group_id_status_commit_id_idx ATTACH PARTITION index_ci_builds_on_resource_group_and_status_and_commit_id;
 
-CREATE TRIGGER trigger_080e73845bfd BEFORE INSERT OR UPDATE ON notes FOR EACH ROW EXECUTE FUNCTION trigger_080e73845bfd();
+ALTER INDEX p_ci_builds_runner_id_id_idx ATTACH PARTITION index_ci_builds_on_runner_id_and_id_desc;
 
-CREATE TRIGGER trigger_0e214b8a14f2 BEFORE INSERT OR UPDATE ON vulnerability_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_0e214b8a14f2();
+ALTER INDEX p_ci_builds_stage_id_idx ATTACH PARTITION index_ci_builds_on_stage_id;
 
-CREATE TRIGGER trigger_17c3a95ee58a BEFORE INSERT OR UPDATE ON commit_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_17c3a95ee58a();
+ALTER INDEX p_ci_builds_status_type_runner_id_idx ATTACH PARTITION index_ci_builds_on_status_and_type_and_runner_id;
 
-CREATE TRIGGER trigger_1a857e8db6cd BEFORE INSERT OR UPDATE ON vulnerability_occurrences FOR EACH ROW EXECUTE FUNCTION trigger_1a857e8db6cd();
+ALTER INDEX p_ci_builds_updated_at_idx ATTACH PARTITION index_ci_builds_on_updated_at;
 
-CREATE TRIGGER trigger_3207b8d0d6f3 BEFORE INSERT OR UPDATE ON ci_build_needs FOR EACH ROW EXECUTE FUNCTION trigger_3207b8d0d6f3();
+ALTER INDEX p_ci_builds_upstream_pipeline_id_idx ATTACH PARTITION index_ci_builds_on_upstream_pipeline_id;
 
-CREATE TRIGGER trigger_3dc62927cae8 BEFORE INSERT OR UPDATE ON design_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_3dc62927cae8();
+ALTER INDEX p_ci_builds_user_id_idx ATTACH PARTITION index_ci_builds_on_user_id;
 
-CREATE TRIGGER trigger_428d92773fe7 BEFORE INSERT OR UPDATE ON timelogs FOR EACH ROW EXECUTE FUNCTION trigger_428d92773fe7();
+ALTER INDEX p_ci_builds_user_id_created_at_idx ATTACH PARTITION index_ci_builds_on_user_id_and_created_at_and_type_eq_ci_build;
 
-CREATE TRIGGER trigger_482bac5ec48a BEFORE INSERT OR UPDATE ON system_note_metadata FOR EACH ROW EXECUTE FUNCTION trigger_482bac5ec48a();
+ALTER INDEX p_ci_builds_project_id_status_idx ATTACH PARTITION index_ci_builds_project_id_and_status_for_live_jobs_partial2;
 
-CREATE TRIGGER trigger_775287b6d67a BEFORE INSERT OR UPDATE ON note_diff_files FOR EACH ROW EXECUTE FUNCTION trigger_775287b6d67a();
+ALTER INDEX p_ci_builds_runner_id_idx ATTACH PARTITION index_ci_builds_runner_id_running;
 
-CREATE TRIGGER trigger_7f4fcd5aa322 BEFORE INSERT OR UPDATE ON sent_notifications FOR EACH ROW EXECUTE FUNCTION trigger_7f4fcd5aa322();
+ALTER INDEX p_ci_builds_user_id_name_idx ATTACH PARTITION index_partial_ci_builds_on_user_id_name_parser_features;
 
-CREATE TRIGGER trigger_bfc6e47be8cc BEFORE INSERT OR UPDATE ON snippet_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_bfc6e47be8cc();
+ALTER INDEX p_ci_builds_user_id_name_created_at_idx ATTACH PARTITION index_secure_ci_builds_on_user_id_name_created_at;
 
-CREATE TRIGGER trigger_bfcbace4260d BEFORE INSERT OR UPDATE ON merge_request_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_bfcbace4260d();
+ALTER INDEX p_ci_builds_name_id_idx ATTACH PARTITION index_security_ci_builds_on_name_and_id_parser_features;
 
-CREATE TRIGGER trigger_c2051020aa8b BEFORE INSERT OR UPDATE ON issue_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_c2051020aa8b();
+ALTER INDEX p_ci_builds_scheduled_at_idx ATTACH PARTITION partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs;
 
-CREATE TRIGGER trigger_c5a5f48f12b0 BEFORE INSERT OR UPDATE ON epic_user_mentions FOR EACH ROW EXECUTE FUNCTION trigger_c5a5f48f12b0();
+ALTER INDEX p_ci_builds_token_encrypted_partition_id_idx ATTACH PARTITION unique_ci_builds_token_encrypted_and_partition_id;
 
-CREATE TRIGGER trigger_c7107f30d69d BEFORE INSERT OR UPDATE ON merge_request_metrics FOR EACH ROW EXECUTE FUNCTION trigger_c7107f30d69d();
+CREATE TRIGGER chat_names_loose_fk_trigger AFTER DELETE ON chat_names REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
 
-CREATE TRIGGER trigger_dca935e3a712 BEFORE INSERT OR UPDATE ON todos FOR EACH ROW EXECUTE FUNCTION trigger_dca935e3a712();
+CREATE TRIGGER ci_builds_loose_fk_trigger AFTER DELETE ON ci_builds REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
 
-CREATE TRIGGER trigger_delete_project_namespace_on_project_delete AFTER DELETE ON projects FOR EACH ROW WHEN ((old.project_namespace_id IS NOT NULL)) EXECUTE FUNCTION delete_associated_project_namespace();
+CREATE TRIGGER ci_pipelines_loose_fk_trigger AFTER DELETE ON ci_pipelines REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER ci_runner_machines_loose_fk_trigger AFTER DELETE ON ci_runner_machines REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER ci_runners_loose_fk_trigger AFTER DELETE ON ci_runners REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER clusters_loose_fk_trigger AFTER DELETE ON clusters REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER merge_requests_loose_fk_trigger AFTER DELETE ON merge_requests REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER namespaces_loose_fk_trigger AFTER DELETE ON namespaces REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER nullify_merge_request_metrics_build_data_on_update BEFORE UPDATE ON merge_request_metrics FOR EACH ROW EXECUTE FUNCTION nullify_merge_request_metrics_build_data();
+
+CREATE TRIGGER p_ci_builds_loose_fk_trigger AFTER DELETE ON p_ci_builds REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER projects_loose_fk_trigger AFTER DELETE ON projects REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
 
-CREATE TRIGGER trigger_ee7956d805e6 BEFORE INSERT OR UPDATE ON suggestions FOR EACH ROW EXECUTE FUNCTION trigger_ee7956d805e6();
+CREATE TRIGGER push_rules_loose_fk_trigger AFTER DELETE ON push_rules REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER tags_loose_fk_trigger AFTER DELETE ON tags REFERENCING OLD TABLE AS old_table FOR EACH STATEMENT EXECUTE FUNCTION insert_into_loose_foreign_keys_deleted_records();
+
+CREATE TRIGGER trigger_023e82d8e257 BEFORE INSERT OR UPDATE ON ci_pipeline_variables FOR EACH ROW EXECUTE FUNCTION trigger_023e82d8e257();
+
+CREATE TRIGGER trigger_080e73845bfd BEFORE INSERT OR UPDATE ON notes FOR EACH ROW EXECUTE FUNCTION trigger_080e73845bfd();
+
+CREATE TRIGGER trigger_1a857e8db6cd BEFORE INSERT OR UPDATE ON vulnerability_occurrences FOR EACH ROW EXECUTE FUNCTION trigger_1a857e8db6cd();
+
+CREATE TRIGGER trigger_b2d852e1e2cb BEFORE INSERT OR UPDATE ON ci_pipelines FOR EACH ROW EXECUTE FUNCTION trigger_b2d852e1e2cb();
+
+CREATE TRIGGER trigger_cd1aeb22b34a BEFORE INSERT OR UPDATE ON events FOR EACH ROW EXECUTE FUNCTION trigger_cd1aeb22b34a();
+
+CREATE TRIGGER trigger_delete_project_namespace_on_project_delete AFTER DELETE ON projects FOR EACH ROW WHEN ((old.project_namespace_id IS NOT NULL)) EXECUTE FUNCTION delete_associated_project_namespace();
 
 CREATE TRIGGER trigger_has_external_issue_tracker_on_delete AFTER DELETE ON integrations FOR EACH ROW WHEN ((((old.category)::text = 'issue_tracker'::text) AND (old.active = true) AND (old.project_id IS NOT NULL))) EXECUTE FUNCTION set_has_external_issue_tracker();
 
@@ -33816,6 +35148,12 @@ ALTER TABLE ONLY epics
 ALTER TABLE ONLY environments
     ADD CONSTRAINT fk_01a033a308 FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY security_orchestration_policy_configurations
+    ADD CONSTRAINT fk_0247484b90 FOREIGN KEY (bot_user_id) REFERENCES users(id) ON DELETE SET NULL;
+
+ALTER TABLE ONLY agent_user_access_project_authorizations
+    ADD CONSTRAINT fk_0250c0ad51 FOREIGN KEY (agent_id) REFERENCES cluster_agents(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY incident_management_escalation_rules
     ADD CONSTRAINT fk_0314ee86eb FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -33825,6 +35163,9 @@ ALTER TABLE ONLY service_desk_settings
 ALTER TABLE ONLY design_management_designs_versions
     ADD CONSTRAINT fk_03c671965c FOREIGN KEY (design_id) REFERENCES design_management_designs(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY projects
+    ADD CONSTRAINT fk_03ec10b0d3 FOREIGN KEY (creator_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY analytics_dashboards_pointers
     ADD CONSTRAINT fk_05d96922bd FOREIGN KEY (target_project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -33837,6 +35178,12 @@ ALTER TABLE ONLY merge_requests
 ALTER TABLE ONLY user_interacted_projects
     ADD CONSTRAINT fk_0894651f08 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY merge_request_assignment_events
+    ADD CONSTRAINT fk_08f7602bfd FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
+
+ALTER TABLE ONLY remote_development_agent_configs
+    ADD CONSTRAINT fk_0a3c0ada56 FOREIGN KEY (cluster_agent_id) REFERENCES cluster_agents(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY dast_sites
     ADD CONSTRAINT fk_0a57f2271b FOREIGN KEY (dast_site_validation_id) REFERENCES dast_site_validations(id) ON DELETE SET NULL;
 
@@ -33873,9 +35220,6 @@ ALTER TABLE ONLY vulnerabilities
 ALTER TABLE ONLY vulnerabilities
     ADD CONSTRAINT fk_131d289c65 FOREIGN KEY (milestone_id) REFERENCES milestones(id) ON DELETE SET NULL;
 
-ALTER TABLE ONLY webauthn_registrations
-    ADD CONSTRAINT fk_13e04d719a FOREIGN KEY (u2f_registration_id) REFERENCES u2f_registrations(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY sbom_occurrences
     ADD CONSTRAINT fk_157506c0e2 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -33894,6 +35238,9 @@ ALTER TABLE ONLY incident_management_timeline_events
 ALTER TABLE ONLY project_features
     ADD CONSTRAINT fk_18513d9b92 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY abuse_report_events
+    ADD CONSTRAINT fk_18c774c06b FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY ci_pipelines
     ADD CONSTRAINT fk_190998ef09 FOREIGN KEY (external_pull_request_id) REFERENCES external_pull_requests(id) ON DELETE SET NULL;
 
@@ -33957,12 +35304,21 @@ ALTER TABLE ONLY geo_event_log
 ALTER TABLE ONLY user_namespace_callouts
     ADD CONSTRAINT fk_27a69fd1bd FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY project_group_links
+    ADD CONSTRAINT fk_28a1244b01 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE NOT VALID;
+
 ALTER TABLE ONLY merge_requests_compliance_violations
     ADD CONSTRAINT fk_290ec1ab02 FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY coverage_fuzzing_corpuses
     ADD CONSTRAINT fk_29f6f15f82 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY resource_link_events
+    ADD CONSTRAINT fk_2a039c40f4 FOREIGN KEY (system_note_metadata_id) REFERENCES system_note_metadata(id) ON DELETE CASCADE;
+
+ALTER TABLE ONLY ml_candidates
+    ADD CONSTRAINT fk_2a0421d824 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY agent_group_authorizations
     ADD CONSTRAINT fk_2c9f941965 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -34029,7 +35385,7 @@ ALTER TABLE ONLY incident_management_timeline_events
 ALTER TABLE ONLY bulk_import_exports
     ADD CONSTRAINT fk_39c726d3b5 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ci_builds
+ALTER TABLE p_ci_builds
     ADD CONSTRAINT fk_3a9eaa254d FOREIGN KEY (stage_id) REFERENCES ci_stages(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY agent_activity_events
@@ -34044,15 +35400,27 @@ ALTER TABLE ONLY zoekt_indexed_namespaces
 ALTER TABLE ONLY epics
     ADD CONSTRAINT fk_3c1fd1cccc FOREIGN KEY (due_date_sourcing_milestone_id) REFERENCES milestones(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY bulk_import_export_uploads
+    ADD CONSTRAINT fk_3cbf0b9a2e FOREIGN KEY (batch_id) REFERENCES bulk_import_export_batches(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY ci_pipelines
     ADD CONSTRAINT fk_3d34ab2e06 FOREIGN KEY (pipeline_schedule_id) REFERENCES ci_pipeline_schedules(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY abuse_reports
+    ADD CONSTRAINT fk_3fe6467b93 FOREIGN KEY (assignee_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY protected_environment_approval_rules
     ADD CONSTRAINT fk_405568b491 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY subscription_add_on_purchases
+    ADD CONSTRAINT fk_410004d68b FOREIGN KEY (subscription_add_on_id) REFERENCES subscription_add_ons(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY ci_pipeline_schedule_variables
     ADD CONSTRAINT fk_41c35fda51 FOREIGN KEY (pipeline_schedule_id) REFERENCES ci_pipeline_schedules(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY merge_request_diff_llm_summaries
+    ADD CONSTRAINT fk_42551b9fea FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY namespace_bans
     ADD CONSTRAINT fk_4275fbb1d7 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -34089,6 +35457,9 @@ ALTER TABLE ONLY user_achievements
 ALTER TABLE ONLY vulnerability_reads
     ADD CONSTRAINT fk_4f593f6c62 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY project_compliance_standards_adherence
+    ADD CONSTRAINT fk_4fd1d9d9b0 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY vulnerability_reads
     ADD CONSTRAINT fk_5001652292 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -34098,8 +35469,8 @@ ALTER TABLE ONLY alert_management_alerts
 ALTER TABLE ONLY path_locks
     ADD CONSTRAINT fk_5265c98f24 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_prometheus
-    ADD CONSTRAINT fk_557e773639 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
+ALTER TABLE ONLY agent_user_access_group_authorizations
+    ADD CONSTRAINT fk_53fd98ccbf FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY terraform_states
     ADD CONSTRAINT fk_558901b030 FOREIGN KEY (locked_by_user_id) REFERENCES users(id) ON DELETE SET NULL;
@@ -34164,12 +35535,9 @@ ALTER TABLE ONLY vulnerability_reads
 ALTER TABLE ONLY merge_requests
     ADD CONSTRAINT fk_641731faff FOREIGN KEY (updated_by_id) REFERENCES users(id) ON DELETE SET NULL;
 
-ALTER TABLE ONLY ci_builds
+ALTER TABLE p_ci_builds
     ADD CONSTRAINT fk_6661f4f0e8 FOREIGN KEY (resource_group_id) REFERENCES ci_resource_groups(id) ON DELETE SET NULL;
 
-ALTER TABLE ONLY project_wiki_repository_states
-    ADD CONSTRAINT fk_6951681c70 FOREIGN KEY (project_wiki_repository_id) REFERENCES project_wiki_repositories(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY merge_requests
     ADD CONSTRAINT fk_6a5165a692 FOREIGN KEY (milestone_id) REFERENCES milestones(id) ON DELETE SET NULL;
 
@@ -34212,12 +35580,18 @@ ALTER TABLE ONLY index_statuses
 ALTER TABLE ONLY cluster_agent_tokens
     ADD CONSTRAINT fk_75008f3553 FOREIGN KEY (created_by_user_id) REFERENCES users(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY environments
+    ADD CONSTRAINT fk_75c2098045 FOREIGN KEY (cluster_agent_id) REFERENCES cluster_agents(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY vulnerabilities
     ADD CONSTRAINT fk_76bc5f5455 FOREIGN KEY (resolved_by_id) REFERENCES users(id) ON DELETE SET NULL;
 
 ALTER TABLE ONLY oauth_openid_requests
     ADD CONSTRAINT fk_77114b3b09 FOREIGN KEY (access_grant_id) REFERENCES oauth_access_grants(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY agent_user_access_project_authorizations
+    ADD CONSTRAINT fk_78034b05d8 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY users
     ADD CONSTRAINT fk_789cd90b35 FOREIGN KEY (accepted_term_id) REFERENCES application_setting_terms(id) ON DELETE CASCADE;
 
@@ -34239,9 +35613,6 @@ ALTER TABLE ONLY vulnerabilities
 ALTER TABLE ONLY issue_customer_relations_contacts
     ADD CONSTRAINT fk_7b92f835bb FOREIGN KEY (contact_id) REFERENCES customer_relations_contacts(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY broadcast_messages
-    ADD CONSTRAINT fk_7bf2ec43da FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY vulnerabilities
     ADD CONSTRAINT fk_7c5bb22a22 FOREIGN KEY (due_date_sourcing_milestone_id) REFERENCES milestones(id) ON DELETE SET NULL;
 
@@ -34276,7 +35647,7 @@ ALTER TABLE ONLY requirements
     ADD CONSTRAINT fk_85044baef0 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_build_pending_states
-    ADD CONSTRAINT fk_861cd17da3_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+    ADD CONSTRAINT fk_861cd17da3_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY geo_event_log
     ADD CONSTRAINT fk_86c84214ec FOREIGN KEY (repository_renamed_event_id) REFERENCES geo_repository_renamed_events(id) ON DELETE CASCADE;
@@ -34284,7 +35655,7 @@ ALTER TABLE ONLY geo_event_log
 ALTER TABLE ONLY packages_package_files
     ADD CONSTRAINT fk_86f0f182f8 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ci_builds
+ALTER TABLE p_ci_builds
     ADD CONSTRAINT fk_87f4cefcda FOREIGN KEY (upstream_pipeline_id) REFERENCES ci_pipelines(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY vulnerabilities
@@ -34300,7 +35671,7 @@ ALTER TABLE ONLY issues
     ADD CONSTRAINT fk_899c8f3231 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_build_trace_chunks
-    ADD CONSTRAINT fk_89e29fa5ee_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+    ADD CONSTRAINT fk_89e29fa5ee_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY sbom_vulnerable_component_versions
     ADD CONSTRAINT fk_8a2a1197f9 FOREIGN KEY (sbom_component_version_id) REFERENCES sbom_component_versions(id) ON DELETE CASCADE;
@@ -34338,6 +35709,9 @@ ALTER TABLE ONLY boards_epic_list_user_preferences
 ALTER TABLE ONLY issues
     ADD CONSTRAINT fk_96b1dd429c FOREIGN KEY (milestone_id) REFERENCES milestones(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY agent_user_access_group_authorizations
+    ADD CONSTRAINT fk_97ce8e8284 FOREIGN KEY (agent_id) REFERENCES cluster_agents(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY vulnerability_occurrences
     ADD CONSTRAINT fk_97ffe77653 FOREIGN KEY (vulnerability_id) REFERENCES vulnerabilities(id) ON DELETE SET NULL;
 
@@ -34347,6 +35721,9 @@ ALTER TABLE ONLY protected_branch_merge_access_levels
 ALTER TABLE ONLY notes
     ADD CONSTRAINT fk_99e097b079 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY import_failures
+    ADD CONSTRAINT fk_9a9b9ba21c FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY geo_event_log
     ADD CONSTRAINT fk_9b9afb1916 FOREIGN KEY (repository_created_event_id) REFERENCES geo_repository_created_events(id) ON DELETE CASCADE;
 
@@ -34363,7 +35740,7 @@ ALTER TABLE ONLY user_group_callouts
     ADD CONSTRAINT fk_9dc8b9d4b2 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_unit_test_failures
-    ADD CONSTRAINT fk_9e0fc58930_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+    ADD CONSTRAINT fk_9e0fc58930_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY protected_environments
     ADD CONSTRAINT fk_9e112565b7 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
@@ -34380,7 +35757,13 @@ ALTER TABLE ONLY deployment_merge_requests
 ALTER TABLE ONLY issues
     ADD CONSTRAINT fk_a194299be1 FOREIGN KEY (moved_to_id) REFERENCES issues(id) ON DELETE SET NULL;
 
-ALTER TABLE ONLY ci_builds
+ALTER TABLE ONLY ml_candidates
+    ADD CONSTRAINT fk_a1d5f1bc45 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE SET NULL;
+
+ALTER TABLE ONLY subscription_add_on_purchases
+    ADD CONSTRAINT fk_a1db288990 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
+
+ALTER TABLE p_ci_builds
     ADD CONSTRAINT fk_a2141b1522 FOREIGN KEY (auto_canceled_by_id) REFERENCES ci_pipelines(id) ON DELETE SET NULL;
 
 ALTER TABLE ONLY bulk_import_entities
@@ -34425,6 +35808,9 @@ ALTER TABLE ONLY merge_requests
 ALTER TABLE ONLY ml_experiments
     ADD CONSTRAINT fk_ad89c59858 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY packages_npm_metadata_caches
+    ADD CONSTRAINT fk_ada23b1d30 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY merge_request_metrics
     ADD CONSTRAINT fk_ae440388cc FOREIGN KEY (latest_closed_by_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -34482,18 +35868,30 @@ ALTER TABLE ONLY customer_relations_contacts
 ALTER TABLE ONLY deployments
     ADD CONSTRAINT fk_b9a3851b82 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY project_compliance_standards_adherence
+    ADD CONSTRAINT fk_baf6f6f878 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY routes
     ADD CONSTRAINT fk_bb2e5b8968 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE p_ci_runner_machine_builds
+    ADD CONSTRAINT fk_bb490f12fe_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+
 ALTER TABLE ONLY namespace_bans
     ADD CONSTRAINT fk_bcc024eef2 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY gitlab_subscriptions
     ADD CONSTRAINT fk_bd0c4019c3 FOREIGN KEY (hosted_plan_id) REFERENCES plans(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY resource_link_events
+    ADD CONSTRAINT fk_bd4ae15ce4 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY metrics_users_starred_dashboards
     ADD CONSTRAINT fk_bd6ae32fac FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY workspaces
+    ADD CONSTRAINT fk_bdb0b31131 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY project_compliance_framework_settings
     ADD CONSTRAINT fk_be413374a9 FOREIGN KEY (framework_id) REFERENCES compliance_management_frameworks(id) ON DELETE CASCADE;
 
@@ -34501,10 +35899,7 @@ ALTER TABLE ONLY snippets
     ADD CONSTRAINT fk_be41fd4bb7 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_sources_pipelines
-    ADD CONSTRAINT fk_be5624bf37 FOREIGN KEY (source_job_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
-ALTER TABLE ONLY ci_sources_pipelines
-    ADD CONSTRAINT fk_be5624bf37_p FOREIGN KEY (source_partition_id, source_job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+    ADD CONSTRAINT fk_be5624bf37_p FOREIGN KEY (source_partition_id, source_job_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY packages_maven_metadata
     ADD CONSTRAINT fk_be88aed360 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
@@ -34518,9 +35913,6 @@ ALTER TABLE ONLY packages_packages
 ALTER TABLE ONLY sbom_occurrences
     ADD CONSTRAINT fk_c2a5562923 FOREIGN KEY (source_id) REFERENCES sbom_sources(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT fk_c3339bdfc9 FOREIGN KEY (stage_event_hash_id) REFERENCES analytics_cycle_analytics_stage_event_hashes(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY user_group_callouts
     ADD CONSTRAINT fk_c366e12ec3 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -34533,6 +35925,9 @@ ALTER TABLE ONLY timelogs
 ALTER TABLE ONLY geo_event_log
     ADD CONSTRAINT fk_c4b1c1f66e FOREIGN KEY (repository_deleted_event_id) REFERENCES geo_repository_deleted_events(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY user_details
+    ADD CONSTRAINT fk_c53c794142 FOREIGN KEY (enterprise_group_id) REFERENCES namespaces(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY issues
     ADD CONSTRAINT fk_c63cbf6c25 FOREIGN KEY (closed_by_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -34572,6 +35967,9 @@ ALTER TABLE ONLY todos
 ALTER TABLE ONLY dast_site_profiles_pipelines
     ADD CONSTRAINT fk_cf05cf8fe1 FOREIGN KEY (dast_site_profile_id) REFERENCES dast_site_profiles(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY issue_assignment_events
+    ADD CONSTRAINT fk_cfd2073177 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY geo_event_log
     ADD CONSTRAINT fk_cff7185ad2 FOREIGN KEY (reset_checksum_event_id) REFERENCES geo_reset_checksum_events(id) ON DELETE CASCADE;
 
@@ -34587,7 +35985,7 @@ ALTER TABLE ONLY project_mirror_data
 ALTER TABLE ONLY environments
     ADD CONSTRAINT fk_d1c8c1da6a FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ci_builds
+ALTER TABLE p_ci_builds
     ADD CONSTRAINT fk_d3130c9a7f FOREIGN KEY (commit_id) REFERENCES ci_pipelines(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_sources_pipelines
@@ -34641,6 +36039,9 @@ ALTER TABLE ONLY web_hooks
 ALTER TABLE ONLY security_scans
     ADD CONSTRAINT fk_dbc89265b9 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY workspaces
+    ADD CONSTRAINT fk_dc7c316be1 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY epics
     ADD CONSTRAINT fk_dccd3f98fc FOREIGN KEY (assignee_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -34650,21 +36051,27 @@ ALTER TABLE ONLY protected_branches
 ALTER TABLE ONLY issues
     ADD CONSTRAINT fk_df75a7c8b8 FOREIGN KEY (promoted_to_epic_id) REFERENCES epics(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY dependency_list_exports
+    ADD CONSTRAINT fk_e133f6725e FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY approval_project_rules
     ADD CONSTRAINT fk_e1372c912e FOREIGN KEY (scan_result_policy_id) REFERENCES scan_result_policies(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_resources
-    ADD CONSTRAINT fk_e169a8e3d5_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE SET NULL;
+    ADD CONSTRAINT fk_e169a8e3d5_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE SET NULL;
 
 ALTER TABLE ONLY ci_sources_pipelines
     ADD CONSTRAINT fk_e1bad85861 FOREIGN KEY (pipeline_id) REFERENCES ci_pipelines(id) ON DELETE CASCADE;
 
 ALTER TABLE p_ci_builds_metadata
-    ADD CONSTRAINT fk_e20479742e FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
+    ADD CONSTRAINT fk_e20479742e_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY gitlab_subscriptions
     ADD CONSTRAINT fk_e2595d00a1 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY abuse_events
+    ADD CONSTRAINT fk_e5ce49c215 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY merge_requests
     ADD CONSTRAINT fk_e719a85f8a FOREIGN KEY (author_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -34686,6 +36093,9 @@ ALTER TABLE ONLY fork_networks
 ALTER TABLE ONLY integrations
     ADD CONSTRAINT fk_e8fe908a34 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY merge_request_diff_llm_summaries
+    ADD CONSTRAINT fk_e98931c3cb FOREIGN KEY (merge_request_diff_id) REFERENCES merge_request_diffs(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY pages_domains
     ADD CONSTRAINT fk_ea2f6dfc6f FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -34719,6 +36129,9 @@ ALTER TABLE ONLY vulnerability_external_issue_links
 ALTER TABLE ONLY epics
     ADD CONSTRAINT fk_f081aa4489 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY abuse_reports
+    ADD CONSTRAINT fk_f10de8b524 FOREIGN KEY (resolved_by_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY boards
     ADD CONSTRAINT fk_f15266b5f9 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -34743,6 +36156,9 @@ ALTER TABLE ONLY user_project_callouts
 ALTER TABLE ONLY approval_merge_request_rules
     ADD CONSTRAINT fk_f726c79756 FOREIGN KEY (scan_result_policy_id) REFERENCES scan_result_policies(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY workspaces
+    ADD CONSTRAINT fk_f78aeddc77 FOREIGN KEY (cluster_agent_id) REFERENCES cluster_agents(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY cluster_agents
     ADD CONSTRAINT fk_f7d43dee13 FOREIGN KEY (created_by_user_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -34761,6 +36177,9 @@ ALTER TABLE ONLY system_note_metadata
 ALTER TABLE ONLY vulnerability_remediations
     ADD CONSTRAINT fk_fc61a535a0 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY abuse_report_events
+    ADD CONSTRAINT fk_fdd4d610e0 FOREIGN KEY (abuse_report_id) REFERENCES abuse_reports(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY project_import_data
     ADD CONSTRAINT fk_ffb9ee3a10 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -34770,6 +36189,12 @@ ALTER TABLE ONLY issues
 ALTER TABLE ONLY geo_event_log
     ADD CONSTRAINT fk_geo_event_log_on_geo_event_id FOREIGN KEY (geo_event_id) REFERENCES geo_events(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY ml_candidate_metrics
+    ADD CONSTRAINT fk_ml_candidate_metrics_on_candidate_id FOREIGN KEY (candidate_id) REFERENCES ml_candidates(id) ON DELETE CASCADE;
+
+ALTER TABLE ONLY ml_candidate_params
+    ADD CONSTRAINT fk_ml_candidate_params_on_candidate_id FOREIGN KEY (candidate_id) REFERENCES ml_candidates(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY path_locks
     ADD CONSTRAINT fk_path_locks_user_id FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -34815,6 +36240,12 @@ ALTER TABLE ONLY ip_restrictions
 ALTER TABLE ONLY terraform_state_versions
     ADD CONSTRAINT fk_rails_04f176e239 FOREIGN KEY (terraform_state_id) REFERENCES terraform_states(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY search_namespace_index_assignments
+    ADD CONSTRAINT fk_rails_06f9b905d3 FOREIGN KEY (namespace_id) REFERENCES namespaces(id);
+
+ALTER TABLE ONLY issue_assignment_events
+    ADD CONSTRAINT fk_rails_07683f8e80 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY work_item_hierarchy_restrictions
     ADD CONSTRAINT fk_rails_08cd7fef58 FOREIGN KEY (child_type_id) REFERENCES work_item_types(id) ON DELETE CASCADE;
 
@@ -34842,6 +36273,12 @@ ALTER TABLE ONLY audit_events_external_audit_event_destinations
 ALTER TABLE ONLY operations_user_lists
     ADD CONSTRAINT fk_rails_0c716e079b FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY resource_link_events
+    ADD CONSTRAINT fk_rails_0cea73eba5 FOREIGN KEY (child_work_item_id) REFERENCES issues(id) ON DELETE CASCADE;
+
+ALTER TABLE ONLY audit_events_google_cloud_logging_configurations
+    ADD CONSTRAINT fk_rails_0eb52fc617 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY geo_node_statuses
     ADD CONSTRAINT fk_rails_0ecc699c2a FOREIGN KEY (geo_node_id) REFERENCES geo_nodes(id) ON DELETE CASCADE;
 
@@ -34884,6 +36321,9 @@ ALTER TABLE ONLY gpg_signatures
 ALTER TABLE ONLY project_authorizations
     ADD CONSTRAINT fk_rails_11e7aa3ed9 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY pm_affected_packages
+    ADD CONSTRAINT fk_rails_1279c1b9a1 FOREIGN KEY (pm_advisory_id) REFERENCES pm_advisories(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY description_versions
     ADD CONSTRAINT fk_rails_12b144011c FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
 
@@ -34902,6 +36342,9 @@ ALTER TABLE ONLY diff_note_positions
 ALTER TABLE ONLY analytics_cycle_analytics_aggregations
     ADD CONSTRAINT fk_rails_13c8374c7a FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY service_desk_custom_email_verifications
+    ADD CONSTRAINT fk_rails_14dcaf4c92 FOREIGN KEY (triggerer_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY namespaces_storage_limit_exclusions
     ADD CONSTRAINT fk_rails_14e8f7b0e0 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -34909,26 +36352,20 @@ ALTER TABLE ONLY users_security_dashboard_projects
     ADD CONSTRAINT fk_rails_150cd5682c FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_build_report_results
-    ADD CONSTRAINT fk_rails_16cb1ff064 FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
+    ADD CONSTRAINT fk_rails_16cb1ff064_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
-ALTER TABLE ONLY ci_build_report_results
-    ADD CONSTRAINT fk_rails_16cb1ff064_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+ALTER TABLE ONLY catalog_resources
+    ADD CONSTRAINT fk_rails_16f09e5c44 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY project_deploy_tokens
     ADD CONSTRAINT fk_rails_170e03cbaf FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT fk_rails_1722574860 FOREIGN KEY (start_event_label_id) REFERENCES labels(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY security_orchestration_policy_rule_schedules
     ADD CONSTRAINT fk_rails_17ade83f17 FOREIGN KEY (security_orchestration_policy_configuration_id) REFERENCES security_orchestration_policy_configurations(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY incident_management_escalation_rules
     ADD CONSTRAINT fk_rails_17dbea07a6 FOREIGN KEY (policy_id) REFERENCES incident_management_escalation_policies(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_jupyter
-    ADD CONSTRAINT fk_rails_17df21c98c FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY cluster_providers_aws
     ADD CONSTRAINT fk_rails_18983d9ea4 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
 
@@ -35004,9 +36441,6 @@ ALTER TABLE ONLY user_statuses
 ALTER TABLE ONLY users_ops_dashboard_projects
     ADD CONSTRAINT fk_rails_220a0562db FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_runners
-    ADD CONSTRAINT fk_rails_22388594e9 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY service_desk_settings
     ADD CONSTRAINT fk_rails_223a296a85 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -35055,6 +36489,9 @@ ALTER TABLE ONLY dast_site_validations
 ALTER TABLE ONLY vulnerability_findings_remediations
     ADD CONSTRAINT fk_rails_28a8d0cf93 FOREIGN KEY (vulnerability_occurrence_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY design_management_repositories
+    ADD CONSTRAINT fk_rails_2938d8dd8d FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY incident_management_issuable_escalation_statuses
     ADD CONSTRAINT fk_rails_29abffe3b9 FOREIGN KEY (policy_id) REFERENCES incident_management_escalation_policies(id) ON DELETE SET NULL;
 
@@ -35097,6 +36534,9 @@ ALTER TABLE ONLY issuable_severities
 ALTER TABLE ONLY saml_providers
     ADD CONSTRAINT fk_rails_306d459be7 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY bulk_import_batch_trackers
+    ADD CONSTRAINT fk_rails_307efb9f32 FOREIGN KEY (tracker_id) REFERENCES bulk_import_trackers(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY pm_package_version_licenses
     ADD CONSTRAINT fk_rails_30ddb7f837 FOREIGN KEY (pm_package_version_id) REFERENCES pm_package_versions(id) ON DELETE CASCADE;
 
@@ -35115,9 +36555,6 @@ ALTER TABLE ONLY zoom_meetings
 ALTER TABLE ONLY container_repositories
     ADD CONSTRAINT fk_rails_32f7bf5aad FOREIGN KEY (project_id) REFERENCES projects(id);
 
-ALTER TABLE ONLY clusters_applications_jupyter
-    ADD CONSTRAINT fk_rails_331f0aff78 FOREIGN KEY (oauth_application_id) REFERENCES oauth_applications(id) ON DELETE SET NULL;
-
 ALTER TABLE ONLY alert_management_alert_metric_images
     ADD CONSTRAINT fk_rails_338e55b408 FOREIGN KEY (alert_id) REFERENCES alert_management_alerts(id) ON DELETE CASCADE;
 
@@ -35148,9 +36585,6 @@ ALTER TABLE ONLY merge_request_reviewers
 ALTER TABLE ONLY group_merge_request_approval_settings
     ADD CONSTRAINT fk_rails_37b6b4cdba FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT fk_rails_3829e49b66 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY packages_debian_project_distribution_keys
     ADD CONSTRAINT fk_rails_3834a11264 FOREIGN KEY (distribution_id) REFERENCES packages_debian_project_distributions(id) ON DELETE CASCADE;
 
@@ -35176,10 +36610,7 @@ ALTER TABLE ONLY chat_teams
     ADD CONSTRAINT fk_rails_3b543909cb FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_build_needs
-    ADD CONSTRAINT fk_rails_3cf221d4ed FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
-ALTER TABLE ONLY ci_build_needs
-    ADD CONSTRAINT fk_rails_3cf221d4ed_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+    ADD CONSTRAINT fk_rails_3cf221d4ed_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY cluster_groups
     ADD CONSTRAINT fk_rails_3d28377556 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
@@ -35190,15 +36621,9 @@ ALTER TABLE ONLY note_diff_files
 ALTER TABLE ONLY snippet_user_mentions
     ADD CONSTRAINT fk_rails_3e00189191 FOREIGN KEY (snippet_id) REFERENCES snippets(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_helm
-    ADD CONSTRAINT fk_rails_3e2b1c06bc FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY epic_user_mentions
     ADD CONSTRAINT fk_rails_3eaf4d88cc FOREIGN KEY (epic_id) REFERENCES epics(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT fk_rails_3ec9fd7912 FOREIGN KEY (end_event_label_id) REFERENCES labels(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY issuable_resource_links
     ADD CONSTRAINT fk_rails_3f0ec6b1cf FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
 
@@ -35229,6 +36654,9 @@ ALTER TABLE ONLY batched_background_migration_jobs
 ALTER TABLE ONLY operations_strategies_user_lists
     ADD CONSTRAINT fk_rails_43241e8d29 FOREIGN KEY (strategy_id) REFERENCES operations_strategies(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY merge_request_assignment_events
+    ADD CONSTRAINT fk_rails_4378a2e8d7 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
+
 ALTER TABLE ONLY lfs_file_locks
     ADD CONSTRAINT fk_rails_43df7a0412 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -35244,6 +36672,9 @@ ALTER TABLE ONLY packages_dependency_links
 ALTER TABLE ONLY project_auto_devops
     ADD CONSTRAINT fk_rails_45436b12b2 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY dora_performance_scores
+    ADD CONSTRAINT fk_rails_455f9acc65 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY merge_requests_closing_issues
     ADD CONSTRAINT fk_rails_458eda8667 FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
 
@@ -35340,8 +36771,8 @@ ALTER TABLE ONLY analytics_cycle_analytics_group_value_streams
 ALTER TABLE ONLY geo_node_namespace_links
     ADD CONSTRAINT fk_rails_546bf08d3e FOREIGN KEY (geo_node_id) REFERENCES geo_nodes(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_knative
-    ADD CONSTRAINT fk_rails_54fc91e0a0 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
+ALTER TABLE ONLY abuse_events
+    ADD CONSTRAINT fk_rails_55101e588c FOREIGN KEY (abuse_report_id) REFERENCES abuse_reports(id);
 
 ALTER TABLE ONLY issuable_metric_images
     ADD CONSTRAINT fk_rails_56417a5a7f FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
@@ -35361,9 +36792,6 @@ ALTER TABLE ONLY incident_management_timeline_event_tag_links
 ALTER TABLE ONLY packages_debian_project_architectures
     ADD CONSTRAINT fk_rails_5808663adf FOREIGN KEY (distribution_id) REFERENCES packages_debian_project_distributions(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_cilium
-    ADD CONSTRAINT fk_rails_59dc12eea6 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY analytics_cycle_analytics_group_stages
     ADD CONSTRAINT fk_rails_5a22f40223 FOREIGN KEY (start_event_label_id) REFERENCES labels(id) ON DELETE CASCADE;
 
@@ -35436,6 +36864,9 @@ ALTER TABLE ONLY sbom_component_versions
 ALTER TABLE ONLY status_page_published_incidents
     ADD CONSTRAINT fk_rails_61e5493940 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY container_repository_states
+    ADD CONSTRAINT fk_rails_63436c99ce FOREIGN KEY (container_repository_id) REFERENCES container_repositories(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY deployment_clusters
     ADD CONSTRAINT fk_rails_6359a164df FOREIGN KEY (deployment_id) REFERENCES deployments(id) ON DELETE CASCADE;
 
@@ -35487,9 +36918,6 @@ ALTER TABLE ONLY namespace_admin_notes
 ALTER TABLE ONLY ci_runner_machines
     ADD CONSTRAINT fk_rails_666b61f04f FOREIGN KEY (runner_id) REFERENCES ci_runners(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_value_streams
-    ADD CONSTRAINT fk_rails_669f4ba293 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY jira_imports
     ADD CONSTRAINT fk_rails_675d38c03b FOREIGN KEY (label_id) REFERENCES labels(id) ON DELETE SET NULL;
 
@@ -35505,6 +36933,9 @@ ALTER TABLE ONLY geo_hashed_storage_migrated_events
 ALTER TABLE ONLY plan_limits
     ADD CONSTRAINT fk_rails_69f8b6184f FOREIGN KEY (plan_id) REFERENCES plans(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY ci_cost_settings
+    ADD CONSTRAINT fk_rails_6a70651f75 FOREIGN KEY (runner_id) REFERENCES ci_runners(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY operations_feature_flags_issues
     ADD CONSTRAINT fk_rails_6a8856ca4f FOREIGN KEY (feature_flag_id) REFERENCES operations_feature_flags(id) ON DELETE CASCADE;
 
@@ -35533,7 +36964,7 @@ ALTER TABLE ONLY analytics_dashboards_pointers
     ADD CONSTRAINT fk_rails_7027b7eaa9 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_builds_runner_session
-    ADD CONSTRAINT fk_rails_70707857d3_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+    ADD CONSTRAINT fk_rails_70707857d3_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY list_user_preferences
     ADD CONSTRAINT fk_rails_70b2ef5ce2 FOREIGN KEY (list_id) REFERENCES lists(id) ON DELETE CASCADE;
@@ -35542,10 +36973,7 @@ ALTER TABLE ONLY project_custom_attributes
     ADD CONSTRAINT fk_rails_719c3dccc5 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_pending_builds
-    ADD CONSTRAINT fk_rails_725a2644a3 FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
-ALTER TABLE ONLY ci_pending_builds
-    ADD CONSTRAINT fk_rails_725a2644a3_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
+    ADD CONSTRAINT fk_rails_725a2644a3_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE security_findings
     ADD CONSTRAINT fk_rails_729b763a54 FOREIGN KEY (scanner_id) REFERENCES vulnerability_scanners(id) ON DELETE CASCADE;
@@ -35574,9 +37002,6 @@ ALTER TABLE ONLY group_crm_settings
 ALTER TABLE ONLY pm_package_version_licenses
     ADD CONSTRAINT fk_rails_7520ea026d FOREIGN KEY (pm_license_id) REFERENCES pm_licenses(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_ingress
-    ADD CONSTRAINT fk_rails_753a7b41c1 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY incident_management_timeline_event_tag_links
     ADD CONSTRAINT fk_rails_753b8b6ee3 FOREIGN KEY (timeline_event_tag_id) REFERENCES incident_management_timeline_event_tags(id) ON DELETE CASCADE;
 
@@ -35610,9 +37035,6 @@ ALTER TABLE ONLY packages_debian_group_distribution_keys
 ALTER TABLE ONLY terraform_states
     ADD CONSTRAINT fk_rails_78f54ca485 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY analytics_cycle_analytics_project_stages
-    ADD CONSTRAINT fk_rails_796a7dbc9c FOREIGN KEY (project_value_stream_id) REFERENCES analytics_cycle_analytics_project_value_streams(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY software_license_policies
     ADD CONSTRAINT fk_rails_7a7a2a92de FOREIGN KEY (software_license_id) REFERENCES software_licenses(id) ON DELETE CASCADE;
 
@@ -35643,6 +37065,9 @@ ALTER TABLE ONLY approval_merge_request_rules_users
 ALTER TABLE ONLY required_code_owners_sections
     ADD CONSTRAINT fk_rails_817708cf2d FOREIGN KEY (protected_branch_id) REFERENCES protected_branches(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY namespace_ldap_settings
+    ADD CONSTRAINT fk_rails_82cd0ad4bb FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY cluster_enabled_grants
     ADD CONSTRAINT fk_rails_8336ce35af FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -35658,6 +37083,9 @@ ALTER TABLE ONLY zentao_tracker_data
 ALTER TABLE ONLY boards_epic_user_preferences
     ADD CONSTRAINT fk_rails_851fe1510a FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY value_stream_dashboard_aggregations
+    ADD CONSTRAINT fk_rails_859b4f86f3 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY deployment_merge_requests
     ADD CONSTRAINT fk_rails_86a6d8bf12 FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
 
@@ -35667,9 +37095,6 @@ ALTER TABLE ONLY analytics_language_trend_repository_languages
 ALTER TABLE ONLY merge_request_diff_details
     ADD CONSTRAINT fk_rails_86f4d24ecd FOREIGN KEY (merge_request_diff_id) REFERENCES merge_request_diffs(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_crossplane
-    ADD CONSTRAINT fk_rails_87186702df FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY packages_package_file_build_infos
     ADD CONSTRAINT fk_rails_871ca3ae21 FOREIGN KEY (package_file_id) REFERENCES packages_package_files(id) ON DELETE CASCADE;
 
@@ -35679,6 +37104,9 @@ ALTER TABLE ONLY boards_epic_boards
 ALTER TABLE ONLY ci_runner_namespaces
     ADD CONSTRAINT fk_rails_8767676b7a FOREIGN KEY (runner_id) REFERENCES ci_runners(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY service_desk_custom_email_credentials
+    ADD CONSTRAINT fk_rails_878b562d12 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY software_license_policies
     ADD CONSTRAINT fk_rails_87b2247ce5 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -35775,9 +37203,6 @@ ALTER TABLE ONLY packages_debian_project_distributions
 ALTER TABLE ONLY packages_rubygems_metadata
     ADD CONSTRAINT fk_rails_95a3f5ce78 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY project_wiki_repository_states
-    ADD CONSTRAINT fk_rails_9647227ce1 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY packages_pypi_metadata
     ADD CONSTRAINT fk_rails_9698717cdd FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
 
@@ -35835,9 +37260,6 @@ ALTER TABLE ONLY badges
 ALTER TABLE ONLY vulnerability_finding_signatures
     ADD CONSTRAINT fk_rails_9e0baf9dcd FOREIGN KEY (finding_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY clusters_applications_cert_managers
-    ADD CONSTRAINT fk_rails_9e4f2cb4b2 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY timelog_categories
     ADD CONSTRAINT fk_rails_9f27b821a8 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -35859,6 +37281,9 @@ ALTER TABLE ONLY project_aliases
 ALTER TABLE ONLY vulnerability_user_mentions
     ADD CONSTRAINT fk_rails_a18600f210 FOREIGN KEY (note_id) REFERENCES notes(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY dependency_proxy_packages_settings
+    ADD CONSTRAINT fk_rails_a248d0c26f FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY todos
     ADD CONSTRAINT fk_rails_a27c483435 FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -35895,6 +37320,9 @@ ALTER TABLE ONLY user_preferences
 ALTER TABLE ONLY sentry_issues
     ADD CONSTRAINT fk_rails_a6a9612965 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY project_states
+    ADD CONSTRAINT fk_rails_a6e5821877 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY user_permission_export_uploads
     ADD CONSTRAINT fk_rails_a7130085e3 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -35947,10 +37375,7 @@ ALTER TABLE ONLY metrics_dashboard_annotations
     ADD CONSTRAINT fk_rails_aeb11a7643 FOREIGN KEY (environment_id) REFERENCES environments(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_build_trace_metadata
-    ADD CONSTRAINT fk_rails_aebc78111f FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
-ALTER TABLE ONLY ci_build_trace_metadata
-    ADD CONSTRAINT fk_rails_aebc78111f_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+    ADD CONSTRAINT fk_rails_aebc78111f_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY bulk_import_trackers
     ADD CONSTRAINT fk_rails_aed566d3f3 FOREIGN KEY (bulk_import_entity_id) REFERENCES bulk_import_entities(id) ON DELETE CASCADE;
@@ -35997,6 +37422,9 @@ ALTER TABLE ONLY packages_debian_project_component_files
 ALTER TABLE ONLY namespace_aggregation_schedules
     ADD CONSTRAINT fk_rails_b565c8d16c FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY container_registry_data_repair_details
+    ADD CONSTRAINT fk_rails_b70d8111d9 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE batched_background_migration_job_transition_logs
     ADD CONSTRAINT fk_rails_b7523a175b FOREIGN KEY (batched_background_migration_job_id) REFERENCES batched_background_migration_jobs(id) ON DELETE CASCADE;
 
@@ -36006,6 +37434,9 @@ ALTER TABLE ONLY approval_project_rules_protected_branches
 ALTER TABLE ONLY packages_composer_cache_files
     ADD CONSTRAINT fk_rails_b82cea43a0 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY abuse_trust_scores
+    ADD CONSTRAINT fk_rails_b903079eb4 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY dora_configurations
     ADD CONSTRAINT fk_rails_b9b8d90ddb FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36039,6 +37470,9 @@ ALTER TABLE ONLY elasticsearch_indexed_namespaces
 ALTER TABLE ONLY vulnerability_occurrence_identifiers
     ADD CONSTRAINT fk_rails_be2e49e1d0 FOREIGN KEY (identifier_id) REFERENCES vulnerability_identifiers(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY bulk_import_export_batches
+    ADD CONSTRAINT fk_rails_be479792f6 FOREIGN KEY (export_id) REFERENCES bulk_import_exports(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY alert_management_http_integrations
     ADD CONSTRAINT fk_rails_bec49f52cc FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36057,9 +37491,6 @@ ALTER TABLE ONLY design_management_designs
 ALTER TABLE ONLY atlassian_identities
     ADD CONSTRAINT fk_rails_c02928bc18 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY serverless_domain_cluster
-    ADD CONSTRAINT fk_rails_c09009dee1 FOREIGN KEY (pages_domain_id) REFERENCES pages_domains(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY slack_integrations_scopes
     ADD CONSTRAINT fk_rails_c0e018a6fe FOREIGN KEY (slack_api_scope_id) REFERENCES slack_api_scopes(id) ON DELETE CASCADE;
 
@@ -36100,13 +37531,7 @@ ALTER TABLE ONLY boards_epic_board_recent_visits
     ADD CONSTRAINT fk_rails_c4dcba4a3e FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY ci_job_artifacts
-    ADD CONSTRAINT fk_rails_c5137cb2c1 FOREIGN KEY (job_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
-ALTER TABLE ONLY ci_job_artifacts
-    ADD CONSTRAINT fk_rails_c5137cb2c1_p FOREIGN KEY (partition_id, job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
-
-ALTER TABLE ONLY packages_events
-    ADD CONSTRAINT fk_rails_c6c20d0094 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE SET NULL;
+    ADD CONSTRAINT fk_rails_c5137cb2c1_p FOREIGN KEY (partition_id, job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY project_settings
     ADD CONSTRAINT fk_rails_c6df6e6328 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
@@ -36138,9 +37563,6 @@ ALTER TABLE ONLY gpg_signatures
 ALTER TABLE ONLY board_group_recent_visits
     ADD CONSTRAINT fk_rails_ca04c38720 FOREIGN KEY (board_id) REFERENCES boards(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY airflow_dags
-    ADD CONSTRAINT fk_rails_ca3ac0d68c FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY boards_epic_board_positions
     ADD CONSTRAINT fk_rails_cb4563dd6e FOREIGN KEY (epic_board_id) REFERENCES boards_epic_boards(id) ON DELETE CASCADE;
 
@@ -36189,6 +37611,9 @@ ALTER TABLE ONLY requirements_management_test_reports
 ALTER TABLE ONLY pool_repositories
     ADD CONSTRAINT fk_rails_d2711daad4 FOREIGN KEY (source_project_id) REFERENCES projects(id) ON DELETE SET NULL;
 
+ALTER TABLE ONLY design_management_repository_states
+    ADD CONSTRAINT fk_rails_d2a258cc5a FOREIGN KEY (design_management_repository_id) REFERENCES design_management_repositories(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY web_hooks
     ADD CONSTRAINT fk_rails_d35697648e FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE;
 
@@ -36204,8 +37629,8 @@ ALTER TABLE ONLY alert_management_alert_assignees
 ALTER TABLE ONLY geo_hashed_storage_attachments_events
     ADD CONSTRAINT fk_rails_d496b088e9 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ml_candidate_params
-    ADD CONSTRAINT fk_rails_d4a51d1185 FOREIGN KEY (candidate_id) REFERENCES ml_candidates(id);
+ALTER TABLE p_ci_job_annotations
+    ADD CONSTRAINT fk_rails_d4d0c0fa0f FOREIGN KEY (partition_id, job_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY packages_rpm_repository_files
     ADD CONSTRAINT fk_rails_d545cfaed2 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
@@ -36213,15 +37638,18 @@ ALTER TABLE ONLY packages_rpm_repository_files
 ALTER TABLE ONLY packages_rpm_metadata
     ADD CONSTRAINT fk_rails_d79f02264b FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY note_metadata
+    ADD CONSTRAINT fk_rails_d853224d37 FOREIGN KEY (note_id) REFERENCES notes(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY merge_request_reviewers
     ADD CONSTRAINT fk_rails_d9fec24b9d FOREIGN KEY (merge_request_id) REFERENCES merge_requests(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ci_running_builds
-    ADD CONSTRAINT fk_rails_da45cfa165 FOREIGN KEY (build_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY ci_running_builds
     ADD CONSTRAINT fk_rails_da45cfa165_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
+ALTER TABLE ONLY resource_link_events
+    ADD CONSTRAINT fk_rails_da5dd8a56f FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY jira_imports
     ADD CONSTRAINT fk_rails_da617096ce FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE SET NULL;
 
@@ -36237,6 +37665,9 @@ ALTER TABLE ONLY board_user_preferences
 ALTER TABLE ONLY vulnerability_occurrence_pipelines
     ADD CONSTRAINT fk_rails_dc3ae04693 FOREIGN KEY (occurrence_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY instance_audit_events_streaming_headers
+    ADD CONSTRAINT fk_rails_dc933c1f3c FOREIGN KEY (instance_external_audit_event_destination_id) REFERENCES audit_events_instance_external_audit_event_destinations(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY deployment_merge_requests
     ADD CONSTRAINT fk_rails_dcbce9f4df FOREIGN KEY (deployment_id) REFERENCES deployments(id) ON DELETE CASCADE;
 
@@ -36246,6 +37677,9 @@ ALTER TABLE ONLY packages_debian_group_component_files
 ALTER TABLE ONLY incident_management_timeline_event_tags
     ADD CONSTRAINT fk_rails_dd5c91484e FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY schema_inconsistencies
+    ADD CONSTRAINT fk_rails_dd7d763602 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY user_callouts
     ADD CONSTRAINT fk_rails_ddfdd80f3d FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
@@ -36258,6 +37692,9 @@ ALTER TABLE ONLY dast_scanner_profiles_tags
 ALTER TABLE ONLY vulnerability_feedback
     ADD CONSTRAINT fk_rails_debd54e456 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY service_desk_custom_email_verifications
+    ADD CONSTRAINT fk_rails_debe4c4acc FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY packages_debian_project_distributions
     ADD CONSTRAINT fk_rails_df44271a30 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE RESTRICT;
 
@@ -36297,9 +37734,6 @@ ALTER TABLE ONLY vulnerability_occurrence_identifiers
 ALTER TABLE ONLY vulnerability_flags
     ADD CONSTRAINT fk_rails_e59393b48b FOREIGN KEY (vulnerability_occurrence_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY serverless_domain_cluster
-    ADD CONSTRAINT fk_rails_e59e868733 FOREIGN KEY (clusters_applications_knative_id) REFERENCES clusters_applications_knative(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY incident_management_escalation_policies
     ADD CONSTRAINT fk_rails_e5b513daa7 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36327,6 +37761,9 @@ ALTER TABLE ONLY namespace_package_settings
 ALTER TABLE ONLY boards_epic_board_recent_visits
     ADD CONSTRAINT fk_rails_e77911cf03 FOREIGN KEY (epic_board_id) REFERENCES boards_epic_boards(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY audit_events_streaming_instance_event_type_filters
+    ADD CONSTRAINT fk_rails_e7bb18c0e1 FOREIGN KEY (instance_external_audit_event_destination_id) REFERENCES audit_events_instance_external_audit_event_destinations(id) ON DELETE CASCADE;
+
 ALTER TABLE ONLY dast_site_tokens
     ADD CONSTRAINT fk_rails_e84f721a8e FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36381,9 +37818,6 @@ ALTER TABLE ONLY project_relation_exports
 ALTER TABLE ONLY label_priorities
     ADD CONSTRAINT fk_rails_ef916d14fa FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY ml_candidate_metrics
-    ADD CONSTRAINT fk_rails_efb613a25a FOREIGN KEY (candidate_id) REFERENCES ml_candidates(id);
-
 ALTER TABLE ONLY fork_network_members
     ADD CONSTRAINT fk_rails_efccadc4ec FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36456,23 +37890,14 @@ ALTER TABLE ONLY merge_requests_closing_issues
 ALTER TABLE ONLY banned_users
     ADD CONSTRAINT fk_rails_fa5bb598e5 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
-ALTER TABLE p_ci_builds_metadata
-    ADD CONSTRAINT fk_rails_fae01b2700 FOREIGN KEY (runner_machine_id) REFERENCES ci_runner_machines(id) ON DELETE SET NULL;
-
 ALTER TABLE ONLY operations_feature_flags_issues
     ADD CONSTRAINT fk_rails_fb4d2a7cb1 FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE;
 
 ALTER TABLE ONLY board_project_recent_visits
     ADD CONSTRAINT fk_rails_fb6fc419cb FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
 
-ALTER TABLE ONLY serverless_domain_cluster
-    ADD CONSTRAINT fk_rails_fbdba67eb1 FOREIGN KEY (creator_id) REFERENCES users(id) ON DELETE SET NULL;
-
-ALTER TABLE ONLY ci_job_variables
-    ADD CONSTRAINT fk_rails_fbf3b34792 FOREIGN KEY (job_id) REFERENCES ci_builds(id) ON DELETE CASCADE;
-
 ALTER TABLE ONLY ci_job_variables
-    ADD CONSTRAINT fk_rails_fbf3b34792_p FOREIGN KEY (partition_id, job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+    ADD CONSTRAINT fk_rails_fbf3b34792_p FOREIGN KEY (partition_id, job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE;
 
 ALTER TABLE ONLY packages_nuget_metadata
     ADD CONSTRAINT fk_rails_fc0c19f5b4 FOREIGN KEY (package_id) REFERENCES packages_packages(id) ON DELETE CASCADE;
@@ -36492,6 +37917,9 @@ ALTER TABLE ONLY resource_label_events
 ALTER TABLE ONLY pages_deployment_states
     ADD CONSTRAINT fk_rails_ff6ca551a4 FOREIGN KEY (pages_deployment_id) REFERENCES pages_deployments(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY search_namespace_index_assignments
+    ADD CONSTRAINT fk_search_index_id_and_type FOREIGN KEY (search_index_id, index_type) REFERENCES search_indices(id, type) ON DELETE CASCADE;
+
 ALTER TABLE ONLY security_orchestration_policy_configurations
     ADD CONSTRAINT fk_security_policy_configurations_management_project_id FOREIGN KEY (security_policy_management_project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
@@ -36522,6 +37950,18 @@ ALTER TABLE issue_search_data
 ALTER TABLE product_analytics_events_experimental
     ADD CONSTRAINT product_analytics_events_experimental_project_id_fkey FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE;
 
+ALTER TABLE ONLY ci_builds_metadata
+    ADD CONSTRAINT temp_fk_e20479742e_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+
+ALTER TABLE ONLY ci_job_artifacts
+    ADD CONSTRAINT temp_fk_rails_c5137cb2c1_p FOREIGN KEY (partition_id, job_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+
+ALTER TABLE ONLY ci_running_builds
+    ADD CONSTRAINT temp_fk_rails_da45cfa165_p FOREIGN KEY (partition_id, build_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+
+ALTER TABLE ONLY ci_job_variables
+    ADD CONSTRAINT temp_fk_rails_fbf3b34792_p FOREIGN KEY (partition_id, job_id) REFERENCES p_ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
+
 ALTER TABLE ONLY user_follow_users
     ADD CONSTRAINT user_follow_users_followee_id_fkey FOREIGN KEY (followee_id) REFERENCES users(id) ON DELETE CASCADE;
 
diff --git a/db/migrate/20221225010101_create_workspaces_table.rb b/db/migrate/20221225010101_create_workspaces_table.rb
deleted file mode 100644
index 4c8bc26bcf651..0000000000000
--- a/db/migrate/20221225010101_create_workspaces_table.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# frozen_string_literal: true
-
-class CreateWorkspacesTable < Gitlab::Database::Migration[2.1]
-  def up
-    create_table :workspaces do |t|
-      t.timestamps_with_timezone null: false
-      # NOTE: All workspace foreign key references are currently `on_delete: :cascade`, because we have no support or
-      #       testing around null values. However, in the future we may want to switch these to nullify, especially
-      #       once we start introducing logging, metrics, billing, etc. around workspaces.
-      t.bigint :user_id, null: false, index: true
-      t.bigint :project_id, null: false, index: true
-      t.bigint :cluster_agent_id, null: false, index: true
-      t.datetime_with_timezone :desired_state_updated_at, null: false
-      t.datetime_with_timezone :responded_to_agent_at
-      t.integer :max_hours_before_termination, limit: 2, null: false
-      t.text :name, limit: 64, null: false, index: { unique: true }
-      t.text :namespace, limit: 64, null: false
-      t.text :desired_state, limit: 32, null: false
-      t.text :actual_state, limit: 32, null: false
-      t.text :editor, limit: 256, null: false
-      t.text :devfile_ref, limit: 256, null: false
-      t.text :devfile_path, limit: 2048, null: false
-      # NOTE: The limit on the devfile fields are arbitrary, and only added to avoid a rubocop
-      #       Migration/AddLimitToTextColumns error. We expect the average devfile side to be small, perhaps ~0.5k for a
-      #       devfile and ~2k for a processed_devfile, but to account for unexpected usage resulting in larger files,
-      #       we have specified 65535, which allows for a YAML file with over 800 lines of an average 80-character
-      #       length.
-      t.text :devfile, limit: 65535
-      t.text :processed_devfile, limit: 65535
-      t.text :url, limit: 1024, null: false
-      # NOTE: The resource version is currently backed by etcd's mod_revision.
-      #       However, it's important to note that the application should not rely on the implementation details of
-      #       the versioning system maintained by Kubernetes. We may change the implementation of resource version
-      #       in the future, such as to change it to a timestamp or per-object counter.
-      #       https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
-      #       The limit of 64 is arbitrary.
-      t.text :deployment_resource_version, limit: 64
-    end
-  end
-
-  def down
-    drop_table :workspaces
-  end
-end
diff --git a/db/migrate/20221225010102_create_workspaces_user_foreign_key.rb b/db/migrate/20221225010102_create_workspaces_user_foreign_key.rb
deleted file mode 100644
index f6c38f289d62f..0000000000000
--- a/db/migrate/20221225010102_create_workspaces_user_foreign_key.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateWorkspacesUserForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    # NOTE: All workspace foreign key references are currently `on_delete: :cascade`, because we have no support or
-    #       testing around null values. However, in the future we may want to switch these to nullify, especially
-    #       once we start introducing logging, metrics, billing, etc. around workspaces.
-    add_concurrent_foreign_key :workspaces, :users, column: :user_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :workspaces, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20221225010103_create_workspaces_project_foreign_key.rb b/db/migrate/20221225010103_create_workspaces_project_foreign_key.rb
deleted file mode 100644
index fe2b6eec2e01e..0000000000000
--- a/db/migrate/20221225010103_create_workspaces_project_foreign_key.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateWorkspacesProjectForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    # NOTE: All workspace foreign key references are currently `on_delete: :cascade`, because we have no support or
-    #       testing around null values. However, in the future we may want to switch these to nullify, especially
-    #       once we start introducing logging, metrics, billing, etc. around workspaces.
-    add_concurrent_foreign_key :workspaces, :projects, column: :project_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :workspaces, column: :project_id
-    end
-  end
-end
diff --git a/db/migrate/20221225010104_create_workspaces_cluster_agent_foreign_key.rb b/db/migrate/20221225010104_create_workspaces_cluster_agent_foreign_key.rb
deleted file mode 100644
index c7874349e861d..0000000000000
--- a/db/migrate/20221225010104_create_workspaces_cluster_agent_foreign_key.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateWorkspacesClusterAgentForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    # NOTE: All workspace foreign key references are currently `on_delete: :cascade`, because we have no support or
-    #       testing around null values. However, in the future we may want to switch these to nullify, especially
-    #       once we start introducing logging, metrics, billing, etc. around workspaces.
-    add_concurrent_foreign_key :workspaces, :cluster_agents, column: :cluster_agent_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :workspaces, column: :cluster_agent_id
-    end
-  end
-end
diff --git a/db/migrate/20221225010105_create_remote_development_agent_configs_table.rb b/db/migrate/20221225010105_create_remote_development_agent_configs_table.rb
deleted file mode 100644
index f375f78b61609..0000000000000
--- a/db/migrate/20221225010105_create_remote_development_agent_configs_table.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateRemoteDevelopmentAgentConfigsTable < Gitlab::Database::Migration[2.1]
-  def up
-    create_table :remote_development_agent_configs do |t|
-      t.timestamps_with_timezone null: false
-      t.bigint :cluster_agent_id, null: false, index: true
-      t.boolean :enabled, null: false
-      t.text :dns_zone, null: false, limit: 256
-    end
-  end
-
-  def down
-    drop_table :remote_development_agent_configs
-  end
-end
diff --git a/db/migrate/20221225010106_create_remote_development_agent_config_agent_foreign_key.rb b/db/migrate/20221225010106_create_remote_development_agent_config_agent_foreign_key.rb
deleted file mode 100644
index b861f41716847..0000000000000
--- a/db/migrate/20221225010106_create_remote_development_agent_config_agent_foreign_key.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateRemoteDevelopmentAgentConfigAgentForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :remote_development_agent_configs,
-      :cluster_agents, column: :cluster_agent_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :remote_development_agent_configs, column: :cluster_agent_id
-    end
-  end
-end
diff --git a/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb b/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb
deleted file mode 100644
index 0e403dac24f15..0000000000000
--- a/db/migrate/20221229172604_add_runner_registration_enabled_to_project_settings.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddRunnerRegistrationEnabledToProjectSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :project_settings, :runner_registration_enabled, :boolean, default: true
-  end
-end
diff --git a/db/migrate/20230113164245_create_namespace_ldap_settings.rb b/db/migrate/20230113164245_create_namespace_ldap_settings.rb
deleted file mode 100644
index 5ad72c00b4764..0000000000000
--- a/db/migrate/20230113164245_create_namespace_ldap_settings.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateNamespaceLdapSettings < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :namespace_ldap_settings, if_not_exists: true, id: false do |t|
-      t.references :namespace, primary_key: true, default: nil,
-        type: :bigint, index: false, foreign_key: { on_delete: :cascade }
-      t.timestamps_with_timezone null: false
-      t.column :sync_last_start_at, :datetime_with_timezone
-      t.column :sync_last_update_at, :datetime_with_timezone
-      t.column :sync_last_successful_at, :datetime_with_timezone
-      t.integer :sync_status, null: false, default: 0, limit: 2
-      t.text :sync_error, limit: 255
-    end
-  end
-end
diff --git a/db/migrate/20230118135145_add_service_desk_custom_email_verifications.rb b/db/migrate/20230118135145_add_service_desk_custom_email_verifications.rb
deleted file mode 100644
index 32f7f3392e684..0000000000000
--- a/db/migrate/20230118135145_add_service_desk_custom_email_verifications.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class AddServiceDeskCustomEmailVerifications < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    create_table(:service_desk_custom_email_verifications, id: false, primary_key: :project_id) do |t|
-      t.references :project, index: false, foreign_key: { on_delete: :cascade }, null: false
-      t.references :triggerer, index: true, foreign_key: { to_table: :users, on_delete: :nullify }
-      t.timestamps_with_timezone
-      t.datetime_with_timezone :triggered_at
-      t.integer :state, limit: 2, null: false, default: 0
-      t.integer :error, limit: 2
-      t.binary :encrypted_token
-      t.binary :encrypted_token_iv
-    end
-
-    execute "ALTER TABLE service_desk_custom_email_verifications ADD PRIMARY KEY (project_id);"
-  end
-
-  def down
-    drop_table :service_desk_custom_email_verifications
-  end
-end
diff --git a/db/migrate/20230127024835_add_database_apdex_settings_to_application_settings.rb b/db/migrate/20230127024835_add_database_apdex_settings_to_application_settings.rb
deleted file mode 100644
index 70c4962d02d0c..0000000000000
--- a/db/migrate/20230127024835_add_database_apdex_settings_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddDatabaseApdexSettingsToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :database_apdex_settings, :jsonb
-  end
-end
diff --git a/db/migrate/20230127030015_add_deny_all_outgoing_requests_to_application_settings.rb b/db/migrate/20230127030015_add_deny_all_outgoing_requests_to_application_settings.rb
deleted file mode 100644
index b12176a5541ee..0000000000000
--- a/db/migrate/20230127030015_add_deny_all_outgoing_requests_to_application_settings.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddDenyAllOutgoingRequestsToApplicationSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :application_settings, :deny_all_requests_except_allowed, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230201165656_create_container_repository_states.rb b/db/migrate/20230201165656_create_container_repository_states.rb
deleted file mode 100644
index 0e84faf11ee34..0000000000000
--- a/db/migrate/20230201165656_create_container_repository_states.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# frozen_string_literal: true
-
-class CreateContainerRepositoryStates < Gitlab::Database::Migration[2.1]
-  VERIFICATION_STATE_INDEX_NAME = "index_container_repository_states_on_verification_state"
-  PENDING_VERIFICATION_INDEX_NAME = "index_container_repository_states_pending_verification"
-  FAILED_VERIFICATION_INDEX_NAME = "index_container_repository_states_failed_verification"
-  NEEDS_VERIFICATION_INDEX_NAME = "index_container_repository_states_needs_verification"
-
-  disable_ddl_transaction!
-
-  def up
-    create_table :container_repository_states, id: false do |t|
-      t.datetime_with_timezone :verification_started_at
-      t.datetime_with_timezone :verification_retry_at
-      t.datetime_with_timezone :verified_at
-      t.references :container_repository,
-        primary_key: true,
-        default: nil,
-        index: false,
-        foreign_key: { on_delete: :cascade }
-      t.integer :verification_state, default: 0, limit: 2, null: false
-      t.integer :verification_retry_count, default: 0, limit: 2, null: false
-      t.binary :verification_checksum, using: 'verification_checksum::bytea'
-      t.text :verification_failure, limit: 255
-
-      t.index :verification_state, name: VERIFICATION_STATE_INDEX_NAME
-      t.index :verified_at,
-        where: "(verification_state = 0)",
-        order: { verified_at: 'ASC NULLS FIRST' },
-        name: PENDING_VERIFICATION_INDEX_NAME
-      t.index :verification_retry_at,
-        where: "(verification_state = 3)",
-        order: { verification_retry_at: 'ASC NULLS FIRST' },
-        name: FAILED_VERIFICATION_INDEX_NAME
-      t.index :verification_state,
-        where: "(verification_state = 0 OR verification_state = 3)",
-        name: NEEDS_VERIFICATION_INDEX_NAME
-    end
-  end
-
-  def down
-    drop_table :container_repository_states
-  end
-end
diff --git a/db/migrate/20230202094723_add_default_syntax_highlighting_theme_to_application_settings.rb b/db/migrate/20230202094723_add_default_syntax_highlighting_theme_to_application_settings.rb
deleted file mode 100644
index 048afb51f26ff..0000000000000
--- a/db/migrate/20230202094723_add_default_syntax_highlighting_theme_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddDefaultSyntaxHighlightingThemeToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :default_syntax_highlighting_theme, :integer, default: 1, null: false
-  end
-end
diff --git a/db/migrate/20230207002330_add_project_group_link_on_delete_cascade_fk.rb b/db/migrate/20230207002330_add_project_group_link_on_delete_cascade_fk.rb
deleted file mode 100644
index 5d6f4961baf47..0000000000000
--- a/db/migrate/20230207002330_add_project_group_link_on_delete_cascade_fk.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectGroupLinkOnDeleteCascadeFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key(
-      :project_group_links,
-      :namespaces,
-      column: :group_id,
-      on_delete: :cascade,
-      validate: false
-    )
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :project_group_links, column: :group_id
-    end
-  end
-end
diff --git a/db/migrate/20230210152109_add_bulk_import_export_batches.rb b/db/migrate/20230210152109_add_bulk_import_export_batches.rb
deleted file mode 100644
index 380f8a43aaebf..0000000000000
--- a/db/migrate/20230210152109_add_bulk_import_export_batches.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddBulkImportExportBatches < Gitlab::Database::Migration[2.1]
-  def up
-    create_table :bulk_import_export_batches do |t|
-      t.references :export, index: true, null: false, foreign_key: {
-        to_table: :bulk_import_exports, on_delete: :cascade
-      }
-      t.timestamps_with_timezone null: false
-      t.integer :status, limit: 2, null: false, default: 0
-      t.integer :batch_number, null: false, default: 0
-      t.integer :objects_count, null: false, default: 0
-      t.text :error, limit: 255
-      t.index [:export_id, :batch_number], unique: true, name: 'i_bulk_import_export_batches_id_batch_number'
-    end
-  end
-
-  def down
-    drop_table :bulk_import_export_batches
-  end
-end
diff --git a/db/migrate/20230210153420_add_batched_column_to_bulk_import_exports.rb b/db/migrate/20230210153420_add_batched_column_to_bulk_import_exports.rb
deleted file mode 100644
index cfe4a2059bb8a..0000000000000
--- a/db/migrate/20230210153420_add_batched_column_to_bulk_import_exports.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddBatchedColumnToBulkImportExports < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :bulk_import_exports, :batched, :boolean, null: false, default: false
-    add_column :bulk_import_exports, :batches_count, :integer, null: false, default: 0
-    add_column :bulk_import_exports, :total_objects_count, :integer, null: false, default: 0
-  end
-end
diff --git a/db/migrate/20230210155715_add_batch_id_to_bulk_import_export_uploads.rb b/db/migrate/20230210155715_add_batch_id_to_bulk_import_export_uploads.rb
deleted file mode 100644
index 986d31a583977..0000000000000
--- a/db/migrate/20230210155715_add_batch_id_to_bulk_import_export_uploads.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddBatchIdToBulkImportExportUploads < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :bulk_import_export_uploads, :batch_id, :bigint
-  end
-end
diff --git a/db/migrate/20230210160037_add_batch_foreign_key_to_bulk_import_export_uploads.rb b/db/migrate/20230210160037_add_batch_foreign_key_to_bulk_import_export_uploads.rb
deleted file mode 100644
index de0286f27edde..0000000000000
--- a/db/migrate/20230210160037_add_batch_foreign_key_to_bulk_import_export_uploads.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddBatchForeignKeyToBulkImportExportUploads < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :bulk_import_export_uploads, :bulk_import_export_batches, column: :batch_id
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :bulk_import_export_uploads, column: :batch_id
-    end
-  end
-end
diff --git a/db/migrate/20230210160351_add_bulk_import_batch_trackers.rb b/db/migrate/20230210160351_add_bulk_import_batch_trackers.rb
deleted file mode 100644
index 40f6341680fd1..0000000000000
--- a/db/migrate/20230210160351_add_bulk_import_batch_trackers.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class AddBulkImportBatchTrackers < Gitlab::Database::Migration[2.1]
-  def up
-    create_table :bulk_import_batch_trackers do |t|
-      t.references :tracker, index: true, null: false, foreign_key: {
-        to_table: :bulk_import_trackers, on_delete: :cascade
-      }
-      t.timestamps_with_timezone null: false
-      t.integer :status, limit: 2, null: false, default: 0
-      t.integer :batch_number, null: false, default: 0
-      t.integer :fetched_objects_count, null: false, default: 0
-      t.integer :imported_objects_count, null: false, default: 0
-      t.text :error, limit: 255
-      t.index [:tracker_id, :batch_number], unique: true, name: 'i_bulk_import_trackers_id_batch_number'
-    end
-  end
-
-  def down
-    drop_table :bulk_import_batch_trackers
-  end
-end
diff --git a/db/migrate/20230210161002_add_batched_column_to_bulk_import_trackers.rb b/db/migrate/20230210161002_add_batched_column_to_bulk_import_trackers.rb
deleted file mode 100644
index 5640164a1170b..0000000000000
--- a/db/migrate/20230210161002_add_batched_column_to_bulk_import_trackers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddBatchedColumnToBulkImportTrackers < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :bulk_import_trackers, :batched, :boolean, default: false
-  end
-end
diff --git a/db/migrate/20230210171012_add_batch_id_index_to_bulk_import_export_uploads.rb b/db/migrate/20230210171012_add_batch_id_index_to_bulk_import_export_uploads.rb
deleted file mode 100644
index c2fd41987625a..0000000000000
--- a/db/migrate/20230210171012_add_batch_id_index_to_bulk_import_export_uploads.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddBatchIdIndexToBulkImportExportUploads < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'bulk_import_export_uploads_batch_id'
-
-  def up
-    add_concurrent_index :bulk_import_export_uploads, :batch_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index :bulk_import_export_uploads, :batch_id, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230213213559_add_index_on_project_id_and_scanner_id_and_vulnerability_id_on_vulnerability_reads.rb b/db/migrate/20230213213559_add_index_on_project_id_and_scanner_id_and_vulnerability_id_on_vulnerability_reads.rb
deleted file mode 100644
index ee9e15d2484b0..0000000000000
--- a/db/migrate/20230213213559_add_index_on_project_id_and_scanner_id_and_vulnerability_id_on_vulnerability_reads.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnProjectIdAndScannerIdAndVulnerabilityIdOnVulnerabilityReads < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = "idx_vulnerability_reads_project_id_scanner_id_vulnerability_id"
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :vulnerability_reads, [:project_id, :scanner_id, :vulnerability_id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_reads, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230215074223_add_ci_runner_machine_builds_partitioned_table.rb b/db/migrate/20230215074223_add_ci_runner_machine_builds_partitioned_table.rb
deleted file mode 100644
index 4e47d35d804cc..0000000000000
--- a/db/migrate/20230215074223_add_ci_runner_machine_builds_partitioned_table.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiRunnerMachineBuildsPartitionedTable < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers::TableManagementHelpers
-
-  enable_lock_retries!
-
-  TABLE_NAME = :ci_runner_machine_builds
-  PARENT_TABLE_NAME = :p_ci_runner_machine_builds
-  FIRST_PARTITION = 100
-
-  def up
-    execute(<<~SQL)
-      CREATE TABLE #{PARENT_TABLE_NAME} (
-        partition_id bigint NOT NULL,
-        build_id bigint NOT NULL,
-        runner_machine_id bigint NOT NULL,
-        PRIMARY KEY (partition_id, build_id),
-        CONSTRAINT fk_bb490f12fe_p FOREIGN KEY (partition_id, build_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE
-      )
-      PARTITION BY LIST (partition_id);
-
-      CREATE INDEX index_ci_runner_machine_builds_on_runner_machine_id ON #{PARENT_TABLE_NAME} USING btree (runner_machine_id);
-    SQL
-  end
-
-  def down
-    drop_table PARENT_TABLE_NAME
-  end
-end
diff --git a/db/migrate/20230215124011_add_provisioned_by_group_at_to_user_details.rb b/db/migrate/20230215124011_add_provisioned_by_group_at_to_user_details.rb
deleted file mode 100644
index 3ff1cf6c6d462..0000000000000
--- a/db/migrate/20230215124011_add_provisioned_by_group_at_to_user_details.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddProvisionedByGroupAtToUserDetails < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_details, :provisioned_by_group_at, :datetime_with_timezone
-  end
-end
diff --git a/db/migrate/20230215131026_add_has_failures_column_to_bulk_imports.rb b/db/migrate/20230215131026_add_has_failures_column_to_bulk_imports.rb
deleted file mode 100644
index 52517244f3e77..0000000000000
--- a/db/migrate/20230215131026_add_has_failures_column_to_bulk_imports.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddHasFailuresColumnToBulkImports < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :bulk_imports, :has_failures, :boolean, default: false
-  end
-end
diff --git a/db/migrate/20230215180605_index_sbom_occurrences_on_project_id_and_id.rb b/db/migrate/20230215180605_index_sbom_occurrences_on_project_id_and_id.rb
deleted file mode 100644
index 34538a1a7ffb9..0000000000000
--- a/db/migrate/20230215180605_index_sbom_occurrences_on_project_id_and_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class IndexSbomOccurrencesOnProjectIdAndId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_sbom_occurrences_on_project_id_and_id'
-
-  def up
-    add_concurrent_index :sbom_occurrences, [:project_id, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :sbom_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230216040505_add_status_and_resolved_at_to_abuse_reports.rb b/db/migrate/20230216040505_add_status_and_resolved_at_to_abuse_reports.rb
deleted file mode 100644
index 3cfd082b4659f..0000000000000
--- a/db/migrate/20230216040505_add_status_and_resolved_at_to_abuse_reports.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusAndResolvedAtToAbuseReports < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :abuse_reports, :status, :integer, limit: 2, default: 1, null: false
-    add_timestamps_with_timezone(:abuse_reports, columns: [:resolved_at], null: true)
-  end
-end
diff --git a/db/migrate/20230216071312_add_status_category_and_id_index_to_abuse_reports.rb b/db/migrate/20230216071312_add_status_category_and_id_index_to_abuse_reports.rb
deleted file mode 100644
index 0c529f15b1bc6..0000000000000
--- a/db/migrate/20230216071312_add_status_category_and_id_index_to_abuse_reports.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusCategoryAndIdIndexToAbuseReports < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_abuse_reports_on_status_category_and_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :abuse_reports, [:status, :category, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :abuse_reports, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230216142836_update_vulnerability_reads_trigger_to_set_has_issue.rb b/db/migrate/20230216142836_update_vulnerability_reads_trigger_to_set_has_issue.rb
deleted file mode 100644
index 73afa176b977e..0000000000000
--- a/db/migrate/20230216142836_update_vulnerability_reads_trigger_to_set_has_issue.rb
+++ /dev/null
@@ -1,185 +0,0 @@
-# frozen_string_literal: true
-
-class UpdateVulnerabilityReadsTriggerToSetHasIssue < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    execute(<<~SQL)
-    CREATE OR REPLACE FUNCTION insert_or_update_vulnerability_reads()
-      RETURNS trigger
-      LANGUAGE plpgsql
-    AS $$
-    DECLARE
-      severity smallint;
-      state smallint;
-      report_type smallint;
-      resolved_on_default_branch boolean;
-      present_on_default_branch boolean;
-      namespace_id bigint;
-      has_issues boolean;
-    BEGIN
-      IF (NEW.vulnerability_id IS NULL AND (TG_OP = 'INSERT' OR TG_OP = 'UPDATE')) THEN
-        RETURN NULL;
-      END IF;
-
-      IF (TG_OP = 'UPDATE' AND OLD.vulnerability_id IS NOT NULL AND NEW.vulnerability_id IS NOT NULL) THEN
-        RETURN NULL;
-      END IF;
-
-      SELECT
-        vulnerabilities.severity, vulnerabilities.state, vulnerabilities.report_type, vulnerabilities.resolved_on_default_branch, vulnerabilities.present_on_default_branch
-      INTO
-        severity, state, report_type, resolved_on_default_branch, present_on_default_branch
-      FROM
-        vulnerabilities
-      WHERE
-        vulnerabilities.id = NEW.vulnerability_id;
-
-      IF present_on_default_branch IS NOT true THEN
-        RETURN NULL;
-      END IF;
-
-      SELECT
-        projects.namespace_id
-      INTO
-        namespace_id
-      FROM
-        projects
-      WHERE
-        projects.id = NEW.project_id;
-
-      SELECT
-        EXISTS (SELECT 1 FROM vulnerability_issue_links WHERE vulnerability_issue_links.vulnerability_id = NEW.vulnerability_id)
-      INTO
-        has_issues;
-
-      INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
-        VALUES (NEW.vulnerability_id, namespace_id, NEW.project_id, NEW.scanner_id, report_type, severity, state, resolved_on_default_branch, NEW.uuid::uuid, NEW.location->>'image', NEW.location->'kubernetes_resource'->>'agent_id', CAST(NEW.location->'kubernetes_resource'->>'agent_id' AS bigint), has_issues)
-        ON CONFLICT(vulnerability_id) DO NOTHING;
-      RETURN NULL;
-    END
-    $$
-    SQL
-
-    execute(<<~SQL)
-    CREATE OR REPLACE FUNCTION insert_vulnerability_reads_from_vulnerability()
-      RETURNS trigger
-      LANGUAGE plpgsql
-    AS $$
-    DECLARE
-      scanner_id bigint;
-      uuid uuid;
-      location_image text;
-      cluster_agent_id text;
-      casted_cluster_agent_id bigint;
-      namespace_id bigint;
-      has_issues boolean;
-    BEGIN
-      SELECT
-        v_o.scanner_id, v_o.uuid, v_o.location->>'image', v_o.location->'kubernetes_resource'->>'agent_id', CAST(v_o.location->'kubernetes_resource'->>'agent_id' AS bigint), projects.namespace_id
-      INTO
-        scanner_id, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, namespace_id
-      FROM
-        vulnerability_occurrences v_o
-      INNER JOIN projects ON projects.id = v_o.project_id
-      WHERE
-        v_o.vulnerability_id = NEW.id
-      LIMIT 1;
-
-      SELECT
-        EXISTS (SELECT 1 FROM vulnerability_issue_links WHERE vulnerability_issue_links.vulnerability_id = NEW.id)
-      INTO
-        has_issues;
-
-      INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
-        VALUES (NEW.id, namespace_id, NEW.project_id, scanner_id, NEW.report_type, NEW.severity, NEW.state, NEW.resolved_on_default_branch, uuid::uuid, location_image, cluster_agent_id, casted_cluster_agent_id, has_issues)
-        ON CONFLICT(vulnerability_id) DO NOTHING;
-      RETURN NULL;
-    END
-    $$
-    SQL
-  end
-
-  def down
-    execute(<<~SQL)
-      CREATE OR REPLACE FUNCTION insert_or_update_vulnerability_reads() RETURNS trigger
-          LANGUAGE plpgsql
-          AS $$
-      DECLARE
-        severity smallint;
-        state smallint;
-        report_type smallint;
-        resolved_on_default_branch boolean;
-        present_on_default_branch boolean;
-        namespace_id bigint;
-      BEGIN
-        IF (NEW.vulnerability_id IS NULL AND (TG_OP = 'INSERT' OR TG_OP = 'UPDATE')) THEN
-          RETURN NULL;
-        END IF;
-
-        IF (TG_OP = 'UPDATE' AND OLD.vulnerability_id IS NOT NULL AND NEW.vulnerability_id IS NOT NULL) THEN
-          RETURN NULL;
-        END IF;
-
-        SELECT
-          vulnerabilities.severity, vulnerabilities.state, vulnerabilities.report_type, vulnerabilities.resolved_on_default_branch, vulnerabilities.present_on_default_branch
-        INTO
-          severity, state, report_type, resolved_on_default_branch, present_on_default_branch
-        FROM
-           vulnerabilities
-        WHERE
-          vulnerabilities.id = NEW.vulnerability_id;
-
-        IF present_on_default_branch IS NOT true THEN
-          RETURN NULL;
-        END IF;
-
-        SELECT
-          projects.namespace_id
-        INTO
-          namespace_id
-        FROM
-          projects
-        WHERE
-          projects.id = NEW.project_id;
-
-        INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
-          VALUES (NEW.vulnerability_id, namespace_id, NEW.project_id, NEW.scanner_id, report_type, severity, state, resolved_on_default_branch, NEW.uuid::uuid, NEW.location->>'image', NEW.location->'kubernetes_resource'->>'agent_id', CAST(NEW.location->'kubernetes_resource'->>'agent_id' AS bigint))
-          ON CONFLICT(vulnerability_id) DO NOTHING;
-        RETURN NULL;
-      END
-      $$;
-    SQL
-
-    execute(<<~SQL)
-      CREATE OR REPLACE FUNCTION insert_vulnerability_reads_from_vulnerability() RETURNS trigger
-          LANGUAGE plpgsql
-          AS $$
-      DECLARE
-        scanner_id bigint;
-        uuid uuid;
-        location_image text;
-        cluster_agent_id text;
-        casted_cluster_agent_id bigint;
-        namespace_id bigint;
-      BEGIN
-        SELECT
-          v_o.scanner_id, v_o.uuid, v_o.location->>'image', v_o.location->'kubernetes_resource'->>'agent_id', CAST(v_o.location->'kubernetes_resource'->>'agent_id' AS bigint), projects.namespace_id
-        INTO
-          scanner_id, uuid, location_image, cluster_agent_id, casted_cluster_agent_id, namespace_id
-        FROM
-          vulnerability_occurrences v_o
-        INNER JOIN projects ON projects.id = v_o.project_id
-        WHERE
-          v_o.vulnerability_id = NEW.id
-        LIMIT 1;
-
-        INSERT INTO vulnerability_reads (vulnerability_id, namespace_id, project_id, scanner_id, report_type, severity, state, resolved_on_default_branch, uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
-          VALUES (NEW.id, namespace_id, NEW.project_id, scanner_id, NEW.report_type, NEW.severity, NEW.state, NEW.resolved_on_default_branch, uuid::uuid, location_image, cluster_agent_id, casted_cluster_agent_id)
-          ON CONFLICT(vulnerability_id) DO NOTHING;
-        RETURN NULL;
-      END
-      $$;
-    SQL
-  end
-end
diff --git a/db/migrate/20230216144719_drop_table_airflow_dags.rb b/db/migrate/20230216144719_drop_table_airflow_dags.rb
deleted file mode 100644
index ed80ca16703dd..0000000000000
--- a/db/migrate/20230216144719_drop_table_airflow_dags.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class DropTableAirflowDags < Gitlab::Database::Migration[2.1]
-  def up
-    # the table is not in use
-    drop_table :airflow_dags, if_exists: true # rubocop: disable Migration/DropTable
-  end
-
-  def down
-    create_table :airflow_dags do |t|
-      t.references :project, index: true, foreign_key: { on_delete: :cascade }, null: false
-      t.timestamps_with_timezone null: false
-      t.datetime_with_timezone :next_run
-      t.boolean :has_import_errors
-      t.boolean :is_active
-      t.boolean :is_paused
-      t.text :dag_name, null: false, limit: 255
-      t.text :schedule, limit: 255
-      t.text :fileloc, limit: 255
-    end
-  end
-end
diff --git a/db/migrate/20230216152912_add_has_failures_column_to_bulk_import_entities.rb b/db/migrate/20230216152912_add_has_failures_column_to_bulk_import_entities.rb
deleted file mode 100644
index 4c48acd9dce61..0000000000000
--- a/db/migrate/20230216152912_add_has_failures_column_to_bulk_import_entities.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddHasFailuresColumnToBulkImportEntities < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :bulk_import_entities, :has_failures, :boolean, default: false
-  end
-end
diff --git a/db/migrate/20230216171309_create_ci_runner_cost_settings.rb b/db/migrate/20230216171309_create_ci_runner_cost_settings.rb
deleted file mode 100644
index 5bc624c635aa5..0000000000000
--- a/db/migrate/20230216171309_create_ci_runner_cost_settings.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateCiRunnerCostSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :ci_cost_settings, id: false do |t|
-      t.timestamps_with_timezone null: false
-      t.references :runner, null: false, primary_key: true, index: false,
-        foreign_key: { to_table: :ci_runners, on_delete: :cascade },
-        type: :bigint, default: nil
-      t.float :standard_factor, null: false, default: 1.00
-      t.float :os_contribution_factor, null: false, default: 0.008
-      t.float :os_plan_factor, null: false, default: 0.5
-    end
-  end
-end
diff --git a/db/migrate/20230217065736_add_projects_api_rate_limit_unauthenticated_to_application_settings.rb b/db/migrate/20230217065736_add_projects_api_rate_limit_unauthenticated_to_application_settings.rb
deleted file mode 100644
index f11560c33e9dd..0000000000000
--- a/db/migrate/20230217065736_add_projects_api_rate_limit_unauthenticated_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectsApiRateLimitUnauthenticatedToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :projects_api_rate_limit_unauthenticated, :integer, default: 400, null: false
-  end
-end
diff --git a/db/migrate/20230217144421_add_check_type_to_pre_scan_step.rb b/db/migrate/20230217144421_add_check_type_to_pre_scan_step.rb
deleted file mode 100644
index e4b59c28d738f..0000000000000
--- a/db/migrate/20230217144421_add_check_type_to_pre_scan_step.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddCheckTypeToPreScanStep < Gitlab::Database::Migration[2.1]
-  def up
-    add_column :dast_pre_scan_verification_steps, :check_type, :integer, limit: 2, default: 0, null: false
-  end
-
-  def down
-    remove_column :dast_pre_scan_verification_steps, :check_type
-  end
-end
diff --git a/db/migrate/20230217232554_add_state_changed_in_to_vulnerability_state_transitions.rb b/db/migrate/20230217232554_add_state_changed_in_to_vulnerability_state_transitions.rb
deleted file mode 100644
index 6a8b3b87e2181..0000000000000
--- a/db/migrate/20230217232554_add_state_changed_in_to_vulnerability_state_transitions.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddStateChangedInToVulnerabilityStateTransitions < Gitlab::Database::Migration[2.1]
-  def up
-    add_column :vulnerability_state_transitions, :state_changed_at_pipeline_id, :bigint
-  end
-
-  def down
-    remove_column :vulnerability_state_transitions, :state_changed_at_pipeline_id
-  end
-end
diff --git a/db/migrate/20230220035034_add_status_and_id_index_to_abuse_reports.rb b/db/migrate/20230220035034_add_status_and_id_index_to_abuse_reports.rb
deleted file mode 100644
index cea01572e37ee..0000000000000
--- a/db/migrate/20230220035034_add_status_and_id_index_to_abuse_reports.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusAndIdIndexToAbuseReports < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_abuse_reports_on_status_and_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :abuse_reports, [:status, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :abuse_reports, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230220163141_create_catalog_resources_table.rb b/db/migrate/20230220163141_create_catalog_resources_table.rb
deleted file mode 100644
index 9a60a68415ab8..0000000000000
--- a/db/migrate/20230220163141_create_catalog_resources_table.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class CreateCatalogResourcesTable < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :catalog_resources do |t|
-      t.references :project, index: true, null: false, foreign_key: { on_delete: :cascade }
-
-      t.datetime_with_timezone :created_at, null: false
-    end
-  end
-end
diff --git a/db/migrate/20230221110256_create_initial_partition_for_ci_runner_machine_builds.rb b/db/migrate/20230221110256_create_initial_partition_for_ci_runner_machine_builds.rb
deleted file mode 100644
index 9aa7049dde167..0000000000000
--- a/db/migrate/20230221110256_create_initial_partition_for_ci_runner_machine_builds.rb
+++ /dev/null
@@ -1,49 +0,0 @@
-# frozen_string_literal: true
-
-class CreateInitialPartitionForCiRunnerMachineBuilds < Gitlab::Database::Migration[2.1]
-  PARTITION_NAME = 'gitlab_partitions_dynamic.ci_runner_machine_builds_100'
-  TABLE_NAME = 'p_ci_runner_machine_builds'
-  FIRST_PARTITION = 100
-  BUILDS_TABLE = 'ci_builds'
-
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries(**lock_args) do
-      connection.execute(<<~SQL)
-        LOCK TABLE #{BUILDS_TABLE} IN SHARE UPDATE EXCLUSIVE MODE;
-        LOCK TABLE ONLY #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE;
-      SQL
-
-      connection.execute(<<~SQL)
-        CREATE TABLE IF NOT EXISTS #{PARTITION_NAME}
-          PARTITION OF #{TABLE_NAME}
-          FOR VALUES IN (#{FIRST_PARTITION});
-      SQL
-    end
-  end
-
-  def down
-    # no-op
-    #
-    # The migration should not remove the partition table since it might
-    # have been created by 20230215074223_add_ci_runner_machine_builds_partitioned_table.rb.
-    # In that case, the rollback would result in a different state.
-  end
-
-  private
-
-  def lock_args
-    {
-      raise_on_exhaustion: true,
-      timing_configuration: lock_timing_configuration
-    }
-  end
-
-  def lock_timing_configuration
-    iterations = Gitlab::Database::WithLockRetries::DEFAULT_TIMING_CONFIGURATION
-    aggressive_iterations = Array.new(5) { [10.seconds, 1.minute] }
-
-    iterations + aggressive_iterations
-  end
-end
diff --git a/db/migrate/20230222131512_add_wiki_asciidoc_allow_uri_includes.rb b/db/migrate/20230222131512_add_wiki_asciidoc_allow_uri_includes.rb
deleted file mode 100644
index 7000171f5207e..0000000000000
--- a/db/migrate/20230222131512_add_wiki_asciidoc_allow_uri_includes.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddWikiAsciidocAllowUriIncludes < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-  def change
-    add_column :application_settings, :wiki_asciidoc_allow_uri_includes, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230222153048_add_registry_size_estimated_to_namespace_root_storage_statistics.rb b/db/migrate/20230222153048_add_registry_size_estimated_to_namespace_root_storage_statistics.rb
deleted file mode 100644
index 50fcf6fd113e7..0000000000000
--- a/db/migrate/20230222153048_add_registry_size_estimated_to_namespace_root_storage_statistics.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddRegistrySizeEstimatedToNamespaceRootStorageStatistics < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_ns_root_stor_stats_on_registry_size_estimated'
-
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      add_column :namespace_root_storage_statistics, :registry_size_estimated, :boolean, default: false, null: false
-    end
-
-    add_concurrent_index :namespace_root_storage_statistics, :registry_size_estimated, name: INDEX_NAME
-  end
-
-  def down
-    with_lock_retries do
-      remove_column :namespace_root_storage_statistics, :registry_size_estimated
-    end
-  end
-end
diff --git a/db/migrate/20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb b/db/migrate/20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb
deleted file mode 100644
index c9668c311a311..0000000000000
--- a/db/migrate/20230222161226_add_custom_jira_regex_to_jira_tracker_data.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class AddCustomJiraRegexToJiraTrackerData < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230222161954_add_text_limit_to_custom_jira_regex_fields.rb
-  enable_lock_retries!
-  def change
-    add_column :jira_tracker_data, :jira_issue_prefix, :text
-    add_column :jira_tracker_data, :jira_issue_regex, :text
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230222161954_add_text_limit_to_custom_jira_regex_fields.rb b/db/migrate/20230222161954_add_text_limit_to_custom_jira_regex_fields.rb
deleted file mode 100644
index 20991e4dffd78..0000000000000
--- a/db/migrate/20230222161954_add_text_limit_to_custom_jira_regex_fields.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToCustomJiraRegexFields < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :jira_tracker_data, :jira_issue_prefix, 255
-    add_text_limit :jira_tracker_data, :jira_issue_regex, 255
-  end
-
-  def down
-    remove_text_limit :jira_tracker_data, :jira_issue_regex
-    remove_text_limit :jira_tracker_data, :jira_issue_prefix
-  end
-end
diff --git a/db/migrate/20230222193845_change_public_projects_minutes_cost_factor_default_to_1.rb b/db/migrate/20230222193845_change_public_projects_minutes_cost_factor_default_to_1.rb
deleted file mode 100644
index c86c16f692ad6..0000000000000
--- a/db/migrate/20230222193845_change_public_projects_minutes_cost_factor_default_to_1.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class ChangePublicProjectsMinutesCostFactorDefaultTo1 < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      change_column_default :ci_runners, :public_projects_minutes_cost_factor, from: 0.0, to: 1.0
-    end
-  end
-
-  def down
-    with_lock_retries do
-      change_column_default :ci_runners, :public_projects_minutes_cost_factor, from: 1.0, to: 0.0
-    end
-  end
-end
diff --git a/db/migrate/20230224130315_add_constraint_type_to_postgres_async_constraint_validation.rb b/db/migrate/20230224130315_add_constraint_type_to_postgres_async_constraint_validation.rb
deleted file mode 100644
index dee5810d0d14e..0000000000000
--- a/db/migrate/20230224130315_add_constraint_type_to_postgres_async_constraint_validation.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddConstraintTypeToPostgresAsyncConstraintValidation < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :postgres_async_foreign_key_validations, :constraint_type, :integer, null: false, default: 0, limit: 2
-  end
-end
diff --git a/db/migrate/20230224161346_add_saml_group_lock_to_application_settings.rb b/db/migrate/20230224161346_add_saml_group_lock_to_application_settings.rb
deleted file mode 100644
index 003dd5c5b6107..0000000000000
--- a/db/migrate/20230224161346_add_saml_group_lock_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddSamlGroupLockToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :lock_memberships_to_saml, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230228092612_add_index_next_over_limit_check_at_asc_order_synchronously.rb b/db/migrate/20230228092612_add_index_next_over_limit_check_at_asc_order_synchronously.rb
deleted file mode 100644
index a811b67bb4394..0000000000000
--- a/db/migrate/20230228092612_add_index_next_over_limit_check_at_asc_order_synchronously.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexNextOverLimitCheckAtAscOrderSynchronously < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'namespace_details'
-  INDEX_NAME = 'index_next_over_limit_check_at_asc_order'
-  COLUMN = 'next_over_limit_check_at'
-
-  def up
-    add_concurrent_index TABLE_NAME, COLUMN, name: INDEX_NAME, order: { next_over_limit_check_at: 'ASC NULLS FIRST' }
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230228133011_add_design_description.rb b/db/migrate/20230228133011_add_design_description.rb
deleted file mode 100644
index bff9a25f2ac02..0000000000000
--- a/db/migrate/20230228133011_add_design_description.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddDesignDescription < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # text limit is added in a separate migration
-  def up
-    add_column :design_management_designs, :cached_markdown_version, :integer
-    add_column :design_management_designs, :description, :text
-    add_column :design_management_designs, :description_html, :text
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-
-  def down
-    remove_column :design_management_designs, :cached_markdown_version
-    remove_column :design_management_designs, :description
-    remove_column :design_management_designs, :description_html
-  end
-end
diff --git a/db/migrate/20230228135034_add_design_description_limit.rb b/db/migrate/20230228135034_add_design_description_limit.rb
deleted file mode 100644
index 47c5f8c6ab17c..0000000000000
--- a/db/migrate/20230228135034_add_design_description_limit.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddDesignDescriptionLimit < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :design_management_designs, :description, 1_000_000
-  end
-
-  def down
-    remove_text_limit :design_management_designs, :description
-  end
-end
diff --git a/db/migrate/20230228142350_add_notifications_work_item_widget.rb b/db/migrate/20230228142350_add_notifications_work_item_widget.rb
deleted file mode 100644
index 1bc89a6875c93..0000000000000
--- a/db/migrate/20230228142350_add_notifications_work_item_widget.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-class AddNotificationsWorkItemWidget < Gitlab::Database::Migration[2.1]
-  class WorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  class WidgetDefinition < MigrationRecord
-    self.table_name = 'work_item_widget_definitions'
-  end
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  WIDGET_NAME = 'Notifications'
-  WIDGET_ENUM_VALUE = 14
-  WORK_ITEM_TYPES = [
-    'Issue',
-    'Incident',
-    'Test Case',
-    'Requirement',
-    'Task',
-    'Objective',
-    'Key Result'
-  ].freeze
-
-  def up
-    widgets = []
-
-    WORK_ITEM_TYPES.each do |type_name|
-      type = WorkItemType.find_by_name_and_namespace_id(type_name, nil)
-
-      unless type
-        Gitlab::AppLogger.warn("type #{type_name} is missing, not adding widget")
-
-        next
-      end
-
-      widgets << {
-        work_item_type_id: type.id,
-        name: WIDGET_NAME,
-        widget_type: WIDGET_ENUM_VALUE
-      }
-    end
-
-    return if widgets.empty?
-
-    WidgetDefinition.upsert_all(
-      widgets,
-      unique_by: :index_work_item_widget_definitions_on_default_witype_and_name
-    )
-  end
-
-  def down
-    WidgetDefinition.where(name: WIDGET_NAME).delete_all
-  end
-end
diff --git a/db/migrate/20230228183644_add_partitioning_info_to_postgres_foreign_keys.rb b/db/migrate/20230228183644_add_partitioning_info_to_postgres_foreign_keys.rb
deleted file mode 100644
index 5fe2a49707727..0000000000000
--- a/db/migrate/20230228183644_add_partitioning_info_to_postgres_foreign_keys.rb
+++ /dev/null
@@ -1,90 +0,0 @@
-# frozen_string_literal: true
-
-class AddPartitioningInfoToPostgresForeignKeys < Gitlab::Database::Migration[2.1]
-  def up
-    execute <<~SQL
-      DROP VIEW IF EXISTS postgres_foreign_keys;
-      CREATE VIEW postgres_foreign_keys AS
-      SELECT pg_constraint.oid                                                                   AS oid,
-         pg_constraint.conname                                                               AS name,
-         constrained_namespace.nspname::text || '.'::text ||
-         constrained_table.relname::text                                                     AS constrained_table_identifier,
-         referenced_namespace.nspname::text || '.'::text ||
-         referenced_table.relname::text                                                      AS referenced_table_identifier,
-         constrained_table.relname::text                                                     AS constrained_table_name,
-         referenced_table.relname::text                                                      AS referenced_table_name,
-         constrained_cols.constrained_columns,
-         referenced_cols.referenced_columns,
-         pg_constraint.confdeltype                                                           AS on_delete_action,
-         pg_constraint.confupdtype                                                           as on_update_action,
-         pg_constraint.coninhcount > 0                                                       as is_inherited,
-         pg_constraint.convalidated                                                          as is_valid,
-         partitioned_parent_oids.parent_oid as parent_oid
-      FROM pg_constraint
-               INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid
-               INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid
-               INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid
-               INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid
-               CROSS JOIN LATERAL (
-                  SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array
-                  FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)
-                           INNER JOIN pg_attribute
-                                      ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid
-                  ) constrained_cols(constrained_columns)
-              CROSS JOIN LATERAL (
-                  SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)
-                  FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)
-                           INNER JOIN pg_attribute
-                                      ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid
-              ) referenced_cols(referenced_columns)
-              LEFT JOIN LATERAL (
-                  SELECT refobjid as parent_oid
-                  FROM pg_depend
-                  WHERE objid = pg_constraint.oid
-                  AND pg_depend.deptype = 'P'
-                  AND refobjid IN (SELECT oid FROM pg_constraint WHERE contype = 'f')
-                  LIMIT 1
-              ) partitioned_parent_oids(parent_oid) ON true
-      WHERE contype = 'f';
-    SQL
-
-    Gitlab::Database::PostgresForeignKey.reset_column_information
-  end
-
-  def down
-    execute <<~SQL
-      DROP VIEW IF EXISTS postgres_foreign_keys;
-      CREATE VIEW postgres_foreign_keys AS
-      SELECT
-          pg_constraint.oid AS oid,
-          pg_constraint.conname AS name,
-          constrained_namespace.nspname::text || '.'::text || constrained_table.relname::text AS constrained_table_identifier,
-          referenced_namespace.nspname::text || '.'::text || referenced_table.relname::text AS referenced_table_identifier,
-          constrained_table.relname::text AS constrained_table_name,
-          referenced_table.relname::text AS referenced_table_name,
-          constrained_cols.constrained_columns,
-          referenced_cols.referenced_columns,
-          pg_constraint.confdeltype AS on_delete_action,
-          pg_constraint.confupdtype as on_update_action,
-          pg_constraint.coninhcount > 0 as is_inherited
-      FROM pg_constraint
-               INNER JOIN pg_class constrained_table ON constrained_table.oid = pg_constraint.conrelid
-               INNER JOIN pg_class referenced_table ON referenced_table.oid = pg_constraint.confrelid
-               INNER JOIN pg_namespace constrained_namespace ON constrained_table.relnamespace = constrained_namespace.oid
-               INNER JOIN pg_namespace referenced_namespace ON referenced_table.relnamespace = referenced_namespace.oid
-               CROSS JOIN LATERAL (
-                  SELECT array_agg(pg_attribute.attname ORDER BY conkey.idx) -- must order here so that attributes are in correct order in array
-                  FROM unnest(pg_constraint.conkey) WITH ORDINALITY conkey(attnum, idx)
-                  INNER JOIN pg_attribute ON pg_attribute.attnum = conkey.attnum AND pg_attribute.attrelid = constrained_table.oid
-               ) constrained_cols(constrained_columns)
-              CROSS JOIN LATERAL (
-                  SELECT array_agg(pg_attribute.attname ORDER BY confkey.idx)
-                  FROM unnest(pg_constraint.confkey) WITH ORDINALITY confkey(attnum, idx)
-                  INNER JOIN pg_attribute ON pg_attribute.attnum = confkey.attnum AND pg_attribute.attrelid = referenced_table.oid
-              ) referenced_cols(referenced_columns)
-      WHERE contype = 'f';
-    SQL
-
-    Gitlab::Database::PostgresForeignKey.reset_column_information
-  end
-end
diff --git a/db/migrate/20230228212427_add_index_user_details_on_user_id_for_enterprise_users_without_date.rb b/db/migrate/20230228212427_add_index_user_details_on_user_id_for_enterprise_users_without_date.rb
deleted file mode 100644
index 198aee2201cec..0000000000000
--- a/db/migrate/20230228212427_add_index_user_details_on_user_id_for_enterprise_users_without_date.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexUserDetailsOnUserIdForEnterpriseUsersWithoutDate < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_user_details_on_user_id_for_enterprise_users_without_date'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index(
-      :user_details, :user_id,
-      where: 'provisioned_by_group_id IS NOT NULL AND provisioned_by_group_at IS NULL',
-      name: INDEX_NAME
-    )
-  end
-
-  def down
-    remove_concurrent_index_by_name :user_details, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230228212905_add_index_user_details_on_user_id_for_enterprise_users_with_date.rb b/db/migrate/20230228212905_add_index_user_details_on_user_id_for_enterprise_users_with_date.rb
deleted file mode 100644
index e57d4fc426174..0000000000000
--- a/db/migrate/20230228212905_add_index_user_details_on_user_id_for_enterprise_users_with_date.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexUserDetailsOnUserIdForEnterpriseUsersWithDate < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_user_details_on_user_id_for_enterprise_users_with_date'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index(
-      :user_details, :user_id,
-      where: 'provisioned_by_group_id IS NOT NULL AND provisioned_by_group_at IS NOT NULL',
-      name: INDEX_NAME
-    )
-  end
-
-  def down
-    remove_concurrent_index_by_name :user_details, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230303144424_unique_index_on_catalog_resources_project.rb b/db/migrate/20230303144424_unique_index_on_catalog_resources_project.rb
deleted file mode 100644
index 6ac2e72616a87..0000000000000
--- a/db/migrate/20230303144424_unique_index_on_catalog_resources_project.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class UniqueIndexOnCatalogResourcesProject < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_catalog_resources_on_project_id'
-
-  def up
-    remove_concurrent_index :catalog_resources, :project_id, name: INDEX_NAME
-    add_concurrent_index :catalog_resources, :project_id, unique: true, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index :catalog_resources, :project_id, name: INDEX_NAME
-    add_concurrent_index :catalog_resources, :project_id, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230303232426_add_role_approvers_to_scan_result_policies.rb b/db/migrate/20230303232426_add_role_approvers_to_scan_result_policies.rb
deleted file mode 100644
index 7d3f44918188a..0000000000000
--- a/db/migrate/20230303232426_add_role_approvers_to_scan_result_policies.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddRoleApproversToScanResultPolicies < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :scan_result_policies, :role_approvers, :integer, array: true, default: []
-  end
-end
diff --git a/db/migrate/20230306145230_add_product_analytics_data_collector_host_to_application_settings.rb b/db/migrate/20230306145230_add_product_analytics_data_collector_host_to_application_settings.rb
deleted file mode 100644
index 4ae2479b1e6c5..0000000000000
--- a/db/migrate/20230306145230_add_product_analytics_data_collector_host_to_application_settings.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddProductAnalyticsDataCollectorHostToApplicationSettings < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  def change
-    add_column :application_settings, :product_analytics_data_collector_host, :text
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230307000000_create_design_management_repository.rb b/db/migrate/20230307000000_create_design_management_repository.rb
deleted file mode 100644
index da4dee9f32043..0000000000000
--- a/db/migrate/20230307000000_create_design_management_repository.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDesignManagementRepository < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :design_management_repositories do |t|
-      t.references :project, index: { unique: true }, null: false, foreign_key: { on_delete: :cascade }
-
-      t.timestamps_with_timezone null: false
-    end
-  end
-end
diff --git a/db/migrate/20230307091216_add_status_reporter_id_and_id_index_to_abuse_reports.rb b/db/migrate/20230307091216_add_status_reporter_id_and_id_index_to_abuse_reports.rb
deleted file mode 100644
index cfd077368c81f..0000000000000
--- a/db/migrate/20230307091216_add_status_reporter_id_and_id_index_to_abuse_reports.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusReporterIdAndIdIndexToAbuseReports < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_abuse_reports_on_status_reporter_id_and_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :abuse_reports, [:status, :reporter_id, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :abuse_reports, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230307122838_add_text_limit_to_application_settings_product_analytics_data_collector_host.rb b/db/migrate/20230307122838_add_text_limit_to_application_settings_product_analytics_data_collector_host.rb
deleted file mode 100644
index 4f87cc9aee0b6..0000000000000
--- a/db/migrate/20230307122838_add_text_limit_to_application_settings_product_analytics_data_collector_host.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToApplicationSettingsProductAnalyticsDataCollectorHost < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :application_settings, :product_analytics_data_collector_host, 255
-  end
-
-  def down
-    remove_text_limit :application_settings, :product_analytics_data_collector_host
-  end
-end
diff --git a/db/migrate/20230307132729_create_schema_inconsistencies.rb b/db/migrate/20230307132729_create_schema_inconsistencies.rb
deleted file mode 100644
index 4891cc6ab7bdd..0000000000000
--- a/db/migrate/20230307132729_create_schema_inconsistencies.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class CreateSchemaInconsistencies < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :schema_inconsistencies do |t|
-      t.references :issue, index: true, null: false, foreign_key: { on_delete: :cascade }
-      t.timestamps_with_timezone null: false
-      t.text :object_name, null: false, limit: 63
-      t.text :table_name, null: false, limit: 63
-      t.text :valitador_name, null: false, limit: 63
-    end
-  end
-end
diff --git a/db/migrate/20230307212637_remove_create_learn_gitlab_worker_job_instances.rb b/db/migrate/20230307212637_remove_create_learn_gitlab_worker_job_instances.rb
deleted file mode 100644
index b2e4cc8ceb2be..0000000000000
--- a/db/migrate/20230307212637_remove_create_learn_gitlab_worker_job_instances.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveCreateLearnGitlabWorkerJobInstances < Gitlab::Database::Migration[2.1]
-  def up
-    # No-op to fix https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8612
-  end
-
-  def down
-    # No-op to fix https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8612
-  end
-end
diff --git a/db/migrate/20230307233631_add_public_runner_release_version_fetch_setting.rb b/db/migrate/20230307233631_add_public_runner_release_version_fetch_setting.rb
deleted file mode 100644
index 584774d58adc6..0000000000000
--- a/db/migrate/20230307233631_add_public_runner_release_version_fetch_setting.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class AddPublicRunnerReleaseVersionFetchSetting < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_column :application_settings, :update_runner_versions_enabled, :boolean,
-      default: true, null: false, if_not_exists: true
-  end
-
-  def down
-    remove_column :application_settings, :update_runner_versions_enabled, if_exists: true
-  end
-end
diff --git a/db/migrate/20230308154243_add_package_id_to_ml_candidates.rb b/db/migrate/20230308154243_add_package_id_to_ml_candidates.rb
deleted file mode 100644
index ed13ddc894c03..0000000000000
--- a/db/migrate/20230308154243_add_package_id_to_ml_candidates.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddPackageIdToMlCandidates < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :ml_candidates, :package_id, :bigint, null: true
-  end
-end
diff --git a/db/migrate/20230308154244_add_package_id_foreign_key_to_ml_candidates.rb b/db/migrate/20230308154244_add_package_id_foreign_key_to_ml_candidates.rb
deleted file mode 100644
index 7f12673e41078..0000000000000
--- a/db/migrate/20230308154244_add_package_id_foreign_key_to_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddPackageIdForeignKeyToMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ml_candidates, :packages_packages, column: :package_id, on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :ml_candidates, column: :package_id
-    end
-  end
-end
diff --git a/db/migrate/20230308154245_add_index_on_package_id_for_ml_candidates.rb b/db/migrate/20230308154245_add_index_on_package_id_for_ml_candidates.rb
deleted file mode 100644
index cb3c9cd5a3369..0000000000000
--- a/db/migrate/20230308154245_add_index_on_package_id_for_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnPackageIdForMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_ml_candidates_on_package_id'
-
-  def up
-    add_concurrent_index :ml_candidates, :package_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :ml_candidates, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230308163018_create_container_registry_data_repair_details.rb b/db/migrate/20230308163018_create_container_registry_data_repair_details.rb
deleted file mode 100644
index b682eb6ee7ee3..0000000000000
--- a/db/migrate/20230308163018_create_container_registry_data_repair_details.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateContainerRegistryDataRepairDetails < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :container_registry_data_repair_details, id: false do |t|
-      t.integer :missing_count, default: 0
-      t.references :project,
-        primary_key: true,
-        default: nil,
-        index: false,
-        foreign_key: { to_table: :projects, on_delete: :cascade }
-      t.timestamps_with_timezone null: false
-    end
-  end
-end
diff --git a/db/migrate/20230309000957_add_external_identifiers_to_import_failures.rb b/db/migrate/20230309000957_add_external_identifiers_to_import_failures.rb
deleted file mode 100644
index f95cf0035d4e4..0000000000000
--- a/db/migrate/20230309000957_add_external_identifiers_to_import_failures.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddExternalIdentifiersToImportFailures < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :import_failures, :external_identifiers, :jsonb, default: {}, null: false
-  end
-end
diff --git a/db/migrate/20230313012226_create_search_indices.rb b/db/migrate/20230313012226_create_search_indices.rb
deleted file mode 100644
index e1ef29be5af27..0000000000000
--- a/db/migrate/20230313012226_create_search_indices.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateSearchIndices < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :search_indices do |t|
-      t.timestamps_with_timezone null: false
-      t.integer :bucket_number # We allow null bucket numbers to support custom index assignments
-      t.text :path, null: false, limit: 255
-      t.text :type, null: false, limit: 255
-    end
-
-    add_index :search_indices, [:id, :type], unique: true
-    add_index :search_indices, [:type, :path], unique: true
-    add_index :search_indices, [:type, :bucket_number], unique: true
-  end
-end
diff --git a/db/migrate/20230313012609_create_search_namespace_index_assignments.rb b/db/migrate/20230313012609_create_search_namespace_index_assignments.rb
deleted file mode 100644
index ea3760ead7483..0000000000000
--- a/db/migrate/20230313012609_create_search_namespace_index_assignments.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class CreateSearchNamespaceIndexAssignments < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :search_namespace_index_assignments do |t|
-      t.references :namespace, foreign_key: true, null: true, on_delete: :nullify
-      t.bigint :search_index_id, index: true, null: false
-      t.bigint :namespace_id_non_nullable, null: false
-      t.timestamps_with_timezone null: false
-      t.integer :namespace_id_hashed, null: false
-      t.text :index_type, null: false, limit: 255
-    end
-
-    add_index :search_namespace_index_assignments,
-      [:namespace_id, :index_type],
-      unique: true,
-      name: 'index_search_namespace_index_assignments_uniqueness_index_type'
-
-    add_index :search_namespace_index_assignments,
-      [:namespace_id, :search_index_id],
-      unique: true,
-      name: 'index_search_namespace_index_assignments_uniqueness_on_index_id'
-  end
-end
diff --git a/db/migrate/20230313014038_add_search_index_foreign_key_to_search_namespace_index_assignments.rb b/db/migrate/20230313014038_add_search_index_foreign_key_to_search_namespace_index_assignments.rb
deleted file mode 100644
index c49833b01e13d..0000000000000
--- a/db/migrate/20230313014038_add_search_index_foreign_key_to_search_namespace_index_assignments.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddSearchIndexForeignKeyToSearchNamespaceIndexAssignments < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  FK_NAME = 'fk_search_index_id_and_type'
-
-  def up
-    add_concurrent_foreign_key :search_namespace_index_assignments, :search_indices,
-      name: FK_NAME, column: [:search_index_id, :index_type], target_column: [:id, :type], on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :search_namespace_index_assignments, name: FK_NAME
-    end
-  end
-end
diff --git a/db/migrate/20230313031351_create_resource_link_events.rb b/db/migrate/20230313031351_create_resource_link_events.rb
deleted file mode 100644
index 03f00c9416b08..0000000000000
--- a/db/migrate/20230313031351_create_resource_link_events.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class CreateResourceLinkEvents < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :resource_link_events do |t|
-      t.integer :action, limit: 2, null: false
-      t.bigint :user_id, null: false
-      t.references :issue, index: true, null: false, foreign_key: { on_delete: :cascade }
-      t.references :child_work_item, index: true, null: false, foreign_key: { to_table: :issues, on_delete: :cascade }
-      t.datetime_with_timezone :created_at, null: false
-
-      t.index :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230313054226_add_status_created_at_and_updated_at_indexes_to_abuse_reports.rb b/db/migrate/20230313054226_add_status_created_at_and_updated_at_indexes_to_abuse_reports.rb
deleted file mode 100644
index b619d6b873211..0000000000000
--- a/db/migrate/20230313054226_add_status_created_at_and_updated_at_indexes_to_abuse_reports.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusCreatedAtAndUpdatedAtIndexesToAbuseReports < Gitlab::Database::Migration[2.1]
-  STATUS_AND_CREATED_AT_INDEX = 'index_abuse_reports_on_status_and_created_at'
-  STATUS_AND_UPDATED_AT_INDEX = 'index_abuse_reports_on_status_and_updated_at'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :abuse_reports, [:status, :created_at], name: STATUS_AND_CREATED_AT_INDEX
-    add_concurrent_index :abuse_reports, [:status, :updated_at], name: STATUS_AND_UPDATED_AT_INDEX
-  end
-
-  def down
-    remove_concurrent_index_by_name :abuse_reports, STATUS_AND_CREATED_AT_INDEX
-    remove_concurrent_index_by_name :abuse_reports, STATUS_AND_UPDATED_AT_INDEX
-  end
-end
diff --git a/db/migrate/20230313092109_add_start_end_and_current_values_to_wi_progressess.rb b/db/migrate/20230313092109_add_start_end_and_current_values_to_wi_progressess.rb
deleted file mode 100644
index 308bf4a0cf405..0000000000000
--- a/db/migrate/20230313092109_add_start_end_and_current_values_to_wi_progressess.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddStartEndAndCurrentValuesToWiProgressess < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :work_item_progresses, :start_value, :float, default: 0, null: false
-    add_column :work_item_progresses, :end_value, :float, default: 100, null: false
-    add_column :work_item_progresses, :current_value, :float, default: 0, null: false
-  end
-end
diff --git a/db/migrate/20230313100920_add_gitlab_dedicated_instance_to_application_settings.rb b/db/migrate/20230313100920_add_gitlab_dedicated_instance_to_application_settings.rb
deleted file mode 100644
index ce83c0226610b..0000000000000
--- a/db/migrate/20230313100920_add_gitlab_dedicated_instance_to_application_settings.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddGitlabDedicatedInstanceToApplicationSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :application_settings, :gitlab_dedicated_instance, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230313181536_create_packages_npm_metadata_caches.rb b/db/migrate/20230313181536_create_packages_npm_metadata_caches.rb
deleted file mode 100644
index fde33342f041f..0000000000000
--- a/db/migrate/20230313181536_create_packages_npm_metadata_caches.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class CreatePackagesNpmMetadataCaches < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  INDEX_NAME = 'index_npm_metadata_caches_on_package_name_project_id_unique'
-
-  def up
-    create_table :packages_npm_metadata_caches do |t|
-      t.timestamps_with_timezone
-
-      t.datetime_with_timezone :last_downloaded_at
-      t.bigint :project_id, index: true
-      t.integer :file_store, default: 1
-      t.integer :size, null: false
-      t.text :file, null: false, limit: 255
-      t.text :package_name, null: false # rubocop:disable Migration/AddLimitToTextColumns
-
-      t.index %i[package_name project_id], name: INDEX_NAME, unique: true, where: 'project_id IS NOT NULL'
-    end
-  end
-
-  def down
-    drop_table :packages_npm_metadata_caches
-  end
-end
diff --git a/db/migrate/20230314094210_drop_index_from_webauthn_registrations_on_u2f_registration_id.rb b/db/migrate/20230314094210_drop_index_from_webauthn_registrations_on_u2f_registration_id.rb
deleted file mode 100644
index 52c661a5f1da0..0000000000000
--- a/db/migrate/20230314094210_drop_index_from_webauthn_registrations_on_u2f_registration_id.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DropIndexFromWebauthnRegistrationsOnU2fRegistrationId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists :webauthn_registrations, column: :u2f_registration_id
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      :webauthn_registrations, :u2f_registrations, column: :u2f_registration_id, on_delete: :cascade)
-  end
-end
diff --git a/db/migrate/20230315053635_add_screenshot_to_abuse_reports.rb b/db/migrate/20230315053635_add_screenshot_to_abuse_reports.rb
deleted file mode 100644
index 421878967c430..0000000000000
--- a/db/migrate/20230315053635_add_screenshot_to_abuse_reports.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-class AddScreenshotToAbuseReports < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230327074932_add_text_limit_to_abuse_reports_screenshot
-  def change
-    add_column :abuse_reports, :screenshot, :text
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230316093433_insert_daily_invites_trial_plan_limits.rb b/db/migrate/20230316093433_insert_daily_invites_trial_plan_limits.rb
deleted file mode 100644
index f6254cad192c3..0000000000000
--- a/db/migrate/20230316093433_insert_daily_invites_trial_plan_limits.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class InsertDailyInvitesTrialPlanLimits < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    return unless Gitlab.com?
-
-    create_or_update_plan_limit('daily_invites', 'premium_trial', 50)
-    create_or_update_plan_limit('daily_invites', 'ultimate_trial', 50)
-  end
-
-  def down
-    return unless Gitlab.com?
-
-    create_or_update_plan_limit('daily_invites', 'premium_trial', 0)
-    create_or_update_plan_limit('daily_invites', 'ultimate_trial', 0)
-  end
-end
diff --git a/db/migrate/20230316095948_create_service_desk_custom_email_credentials.rb b/db/migrate/20230316095948_create_service_desk_custom_email_credentials.rb
deleted file mode 100644
index c0537a1985d63..0000000000000
--- a/db/migrate/20230316095948_create_service_desk_custom_email_credentials.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class CreateServiceDeskCustomEmailCredentials < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table(:service_desk_custom_email_credentials, id: false) do |t|
-      t.references :project,
-        primary_key: true,
-        default: nil,
-        index: false,
-        foreign_key: { to_table: :projects, on_delete: :cascade }
-      t.timestamps_with_timezone
-      t.integer :smtp_port
-      t.text :smtp_address, limit: 255
-      t.binary :encrypted_smtp_username
-      t.binary :encrypted_smtp_username_iv
-      t.binary :encrypted_smtp_password
-      t.binary :encrypted_smtp_password_iv
-    end
-  end
-end
diff --git a/db/migrate/20230317162059_add_current_user_todos_work_item_widget.rb b/db/migrate/20230317162059_add_current_user_todos_work_item_widget.rb
deleted file mode 100644
index 4ed1fd6869cde..0000000000000
--- a/db/migrate/20230317162059_add_current_user_todos_work_item_widget.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-class AddCurrentUserTodosWorkItemWidget < Gitlab::Database::Migration[2.1]
-  class WorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  class WidgetDefinition < MigrationRecord
-    self.table_name = 'work_item_widget_definitions'
-  end
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  WIDGET_NAME = 'Current user todos'
-  WIDGET_ENUM_VALUE = 15
-  WORK_ITEM_TYPES = [
-    'Issue',
-    'Incident',
-    'Test Case',
-    'Requirement',
-    'Task',
-    'Objective',
-    'Key Result'
-  ].freeze
-
-  def up
-    widgets = []
-
-    WORK_ITEM_TYPES.each do |type_name|
-      type = WorkItemType.find_by_name_and_namespace_id(type_name, nil)
-
-      unless type
-        Gitlab::AppLogger.warn("type #{type_name} is missing, not adding widget")
-
-        next
-      end
-
-      widgets << {
-        work_item_type_id: type.id,
-        name: WIDGET_NAME,
-        widget_type: WIDGET_ENUM_VALUE
-      }
-    end
-
-    return if widgets.empty?
-
-    WidgetDefinition.upsert_all(
-      widgets,
-      unique_by: :index_work_item_widget_definitions_on_default_witype_and_name
-    )
-  end
-
-  def down
-    WidgetDefinition.where(name: WIDGET_NAME).delete_all
-  end
-end
diff --git a/db/migrate/20230321085011_add_column_to_users_statistisc.rb b/db/migrate/20230321085011_add_column_to_users_statistisc.rb
deleted file mode 100644
index 8eef2ff576590..0000000000000
--- a/db/migrate/20230321085011_add_column_to_users_statistisc.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddColumnToUsersStatistisc < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :users_statistics, :with_highest_role_guest_with_custom_role, :integer, default: 0, null: false
-  end
-end
diff --git a/db/migrate/20230321113956_add_indexes_to_merge_request_compliance_violations.rb b/db/migrate/20230321113956_add_indexes_to_merge_request_compliance_violations.rb
deleted file mode 100644
index 66a24dc73c420..0000000000000
--- a/db/migrate/20230321113956_add_indexes_to_merge_request_compliance_violations.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexesToMergeRequestComplianceViolations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_SEVERITY_LEVEL_DESC = 'i_compliance_violations_on_project_id_severity_and_id'
-  INDEX_REASON_ASC = 'i_compliance_violations_on_project_id_reason_and_id'
-  INDEX_TITLE_ASC = 'i_compliance_violations_on_project_id_title_and_id'
-  INDEX_MERGED_AT_ASC = 'i_compliance_violations_on_project_id_merged_at_and_id'
-
-  def up
-    add_concurrent_index :merge_requests_compliance_violations, [:target_project_id, :severity_level, :id],
-      order: { severity_level: :desc, id: :desc }, using: :btree, name: INDEX_SEVERITY_LEVEL_DESC
-    add_concurrent_index :merge_requests_compliance_violations, [:target_project_id, :reason, :id],
-      order: { reason: :asc, id: :asc }, using: :btree, name: INDEX_REASON_ASC
-    add_concurrent_index :merge_requests_compliance_violations, [:target_project_id, :title, :id],
-      order: { title: :asc, id: :asc }, using: :btree, name: INDEX_TITLE_ASC
-    add_concurrent_index :merge_requests_compliance_violations, [:target_project_id, :merged_at, :id],
-      order: { merged_at: :asc, id: :asc }, using: :btree, name: INDEX_MERGED_AT_ASC
-  end
-
-  def down
-    remove_concurrent_index_by_name :merge_requests_compliance_violations, INDEX_TITLE_ASC
-    remove_concurrent_index_by_name :merge_requests_compliance_violations, INDEX_TITLE_ASC
-    remove_concurrent_index_by_name :merge_requests_compliance_violations, INDEX_SEVERITY_LEVEL_DESC
-    remove_concurrent_index_by_name :merge_requests_compliance_violations, INDEX_REASON_ASC
-    remove_concurrent_index_by_name :merge_requests_compliance_violations, INDEX_MERGED_AT_ASC
-  end
-end
diff --git a/db/migrate/20230321153304_rename_ml_candidates_iid_to_eid.rb b/db/migrate/20230321153304_rename_ml_candidates_iid_to_eid.rb
deleted file mode 100644
index 2e884e92aa7b7..0000000000000
--- a/db/migrate/20230321153304_rename_ml_candidates_iid_to_eid.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RenameMlCandidatesIidToEid < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    rename_column_concurrently :ml_candidates, :iid, :eid
-  end
-
-  def down
-    undo_rename_column_concurrently :ml_candidates, :iid, :eid
-  end
-end
diff --git a/db/migrate/20230321161218_add_project_access_token_limit_to_plan_limits.rb b/db/migrate/20230321161218_add_project_access_token_limit_to_plan_limits.rb
deleted file mode 100644
index 5f9400b94982a..0000000000000
--- a/db/migrate/20230321161218_add_project_access_token_limit_to_plan_limits.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectAccessTokenLimitToPlanLimits < Gitlab::Database::Migration[2.1]
-  def change
-    add_column(:plan_limits, :project_access_token_limit, :integer, default: 0, null: false)
-  end
-end
diff --git a/db/migrate/20230321161441_insert_project_access_token_limit.rb b/db/migrate/20230321161441_insert_project_access_token_limit.rb
deleted file mode 100644
index a449e6f8e7ca0..0000000000000
--- a/db/migrate/20230321161441_insert_project_access_token_limit.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class InsertProjectAccessTokenLimit < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    create_or_update_plan_limit('project_access_token_limit', 'premium_trial', 1)
-    create_or_update_plan_limit('project_access_token_limit', 'ultimate_trial', 1)
-  end
-
-  def down
-    create_or_update_plan_limit('project_access_token_limit', 'premium_trial', 0)
-    create_or_update_plan_limit('project_access_token_limit', 'ultimate_trial', 0)
-  end
-end
diff --git a/db/migrate/20230321162810_add_project_id_to_ml_candidates.rb b/db/migrate/20230321162810_add_project_id_to_ml_candidates.rb
deleted file mode 100644
index a8121f197d940..0000000000000
--- a/db/migrate/20230321162810_add_project_id_to_ml_candidates.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectIdToMlCandidates < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :ml_candidates, :project_id, :bigint, null: true
-  end
-end
diff --git a/db/migrate/20230321162902_add_index_on_project_id_on_ml_candidates.rb b/db/migrate/20230321162902_add_index_on_project_id_on_ml_candidates.rb
deleted file mode 100644
index e6c08468c0ccd..0000000000000
--- a/db/migrate/20230321162902_add_index_on_project_id_on_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnProjectIdOnMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_ml_candidates_on_project_id'
-
-  def up
-    add_concurrent_index :ml_candidates, :project_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :ml_candidates, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230321163051_add_project_id_foreign_key_to_ml_candidates.rb b/db/migrate/20230321163051_add_project_id_foreign_key_to_ml_candidates.rb
deleted file mode 100644
index 3e43a16030613..0000000000000
--- a/db/migrate/20230321163051_add_project_id_foreign_key_to_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectIdForeignKeyToMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ml_candidates, :projects, column: :project_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :ml_candidates, column: :project_id
-    end
-  end
-end
diff --git a/db/migrate/20230321170734_add_internal_id_to_ml_candidates.rb b/db/migrate/20230321170734_add_internal_id_to_ml_candidates.rb
deleted file mode 100644
index f6ced91c0a869..0000000000000
--- a/db/migrate/20230321170734_add_internal_id_to_ml_candidates.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddInternalIdToMlCandidates < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :ml_candidates, :internal_id, :bigint, null: true
-  end
-end
diff --git a/db/migrate/20230321170803_add_index_on_project_id_on_internal_id_to_ml_candidates.rb b/db/migrate/20230321170803_add_index_on_project_id_on_internal_id_to_ml_candidates.rb
deleted file mode 100644
index 4c295972106ae..0000000000000
--- a/db/migrate/20230321170803_add_index_on_project_id_on_internal_id_to_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnProjectIdOnInternalIdToMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_ml_candidates_on_project_id_on_internal_id'
-
-  def up
-    add_concurrent_index :ml_candidates, [:project_id, :internal_id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :ml_candidates, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches.rb b/db/migrate/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches.rb
deleted file mode 100644
index 7c542279bd049..0000000000000
--- a/db/migrate/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectIdForeignKeyToPackagesNpmMetadataCaches < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE = :packages_npm_metadata_caches
-  TARGET_TABLE = :projects
-  COLUMN = :project_id
-
-  def up
-    add_concurrent_foreign_key SOURCE_TABLE, TARGET_TABLE, column: COLUMN, on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key SOURCE_TABLE, column: COLUMN
-    end
-  end
-end
diff --git a/db/migrate/20230322151605_rerun_remove_invalid_deploy_access_level.rb b/db/migrate/20230322151605_rerun_remove_invalid_deploy_access_level.rb
deleted file mode 100644
index e140ecc58c7bc..0000000000000
--- a/db/migrate/20230322151605_rerun_remove_invalid_deploy_access_level.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class RerunRemoveInvalidDeployAccessLevel < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  # clean up any rows with invalid access_level entries
-  def up
-    update_column_in_batches(:protected_environment_deploy_access_levels, :access_level, nil) do |table, query|
-      query.where(
-        table.grouping(table[:user_id].not_eq(nil).or(table[:group_id].not_eq(nil)))
-             .and(table[:access_level].not_eq(nil)))
-    end
-
-    update_column_in_batches(:protected_environment_deploy_access_levels, :group_id, nil) do |table, query|
-      query.where(table[:user_id].not_eq(nil).and(table[:group_id].not_eq(nil)))
-    end
-  end
-
-  def down
-    # no-op
-
-    # we are setting access_level to NULL if group_id or user_id are present
-  end
-end
diff --git a/db/migrate/20230322162512_add_valid_deploy_access_level_constraint.rb b/db/migrate/20230322162512_add_valid_deploy_access_level_constraint.rb
deleted file mode 100644
index 4cf8237556352..0000000000000
--- a/db/migrate/20230322162512_add_valid_deploy_access_level_constraint.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddValidDeployAccessLevelConstraint < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  CONSTRAINT_NAME = 'check_deploy_access_levels_user_group_access_level_any_not_null'
-  CONSTRAINT = '(num_nonnulls(user_id, group_id, access_level) = 1)'
-
-  def up
-    add_check_constraint :protected_environment_deploy_access_levels, CONSTRAINT, CONSTRAINT_NAME
-  end
-
-  def down
-    remove_check_constraint :protected_environment_deploy_access_levels, CONSTRAINT_NAME
-  end
-end
diff --git a/db/migrate/20230322164031_create_design_management_repository_states.rb b/db/migrate/20230322164031_create_design_management_repository_states.rb
deleted file mode 100644
index 0c906a45ae81c..0000000000000
--- a/db/migrate/20230322164031_create_design_management_repository_states.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDesignManagementRepositoryStates < Gitlab::Database::Migration[2.1]
-  VERIFICATION_STATE_INDEX_NAME = "index_design_management_repository_states_on_verification_state"
-  PENDING_VERIFICATION_INDEX_NAME = "index_design_management_repository_states_pending_verification"
-  FAILED_VERIFICATION_INDEX_NAME = "index_design_management_repository_states_failed_verification"
-  NEEDS_VERIFICATION_INDEX_NAME = "index_design_management_repository_states_needs_verification"
-
-  enable_lock_retries!
-
-  def up
-    create_table :design_management_repository_states, id: false do |t|
-      t.datetime_with_timezone :verification_started_at
-      t.datetime_with_timezone :verification_retry_at
-      t.datetime_with_timezone :verified_at
-      t.references :design_management_repository, primary_key: true, default: nil, index: false,
-        foreign_key: { on_delete: :cascade }
-      t.integer :verification_state, default: 0, limit: 2, null: false
-      t.integer :verification_retry_count, default: 0, limit: 2, null: false
-      t.binary :verification_checksum, using: 'verification_checksum::bytea'
-      t.text :verification_failure, limit: 255
-
-      t.index :verification_state, name: VERIFICATION_STATE_INDEX_NAME
-      t.index :verified_at,
-        where: "(verification_state = 0)",
-        order: { verified_at: 'ASC NULLS FIRST' },
-        name: PENDING_VERIFICATION_INDEX_NAME
-      t.index :verification_retry_at,
-        where: "(verification_state = 3)",
-        order: { verification_retry_at: 'ASC NULLS FIRST' },
-        name: FAILED_VERIFICATION_INDEX_NAME
-      t.index :verification_state,
-        where: "(verification_state = 0 OR verification_state = 3)",
-        name: NEEDS_VERIFICATION_INDEX_NAME
-    end
-  end
-
-  def down
-    drop_table :design_management_repository_states
-  end
-end
diff --git a/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb b/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb
deleted file mode 100644
index e3592e0bd139a..0000000000000
--- a/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddSilentModeEnabledToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :silent_mode_enabled, :boolean, default: false, null: false, if_not_exists: true
-  end
-end
diff --git a/db/migrate/20230323101138_add_award_emoji_work_item_widget.rb b/db/migrate/20230323101138_add_award_emoji_work_item_widget.rb
deleted file mode 100644
index 6a6b50c81a5dc..0000000000000
--- a/db/migrate/20230323101138_add_award_emoji_work_item_widget.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-class AddAwardEmojiWorkItemWidget < Gitlab::Database::Migration[2.1]
-  class WorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  class WidgetDefinition < MigrationRecord
-    self.table_name = 'work_item_widget_definitions'
-  end
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  WIDGET_NAME = 'Award emoji'
-  WIDGET_ENUM_VALUE = 16
-  WORK_ITEM_TYPES = [
-    'Issue',
-    'Incident',
-    'Test Case',
-    'Requirement',
-    'Task',
-    'Objective',
-    'Key Result'
-  ].freeze
-
-  def up
-    widgets = []
-
-    WORK_ITEM_TYPES.each do |type_name|
-      type = WorkItemType.find_by_name_and_namespace_id(type_name, nil)
-
-      unless type
-        Gitlab::AppLogger.warn("type #{type_name} is missing, not adding widget")
-
-        next
-      end
-
-      widgets << {
-        work_item_type_id: type.id,
-        name: WIDGET_NAME,
-        widget_type: WIDGET_ENUM_VALUE
-      }
-    end
-
-    return if widgets.empty?
-
-    WidgetDefinition.upsert_all(
-      widgets,
-      unique_by: :index_work_item_widget_definitions_on_default_witype_and_name
-    )
-  end
-
-  def down
-    WidgetDefinition.where(name: WIDGET_NAME).delete_all
-  end
-end
diff --git a/db/migrate/20230323120601_create_dora_performance_scores.rb b/db/migrate/20230323120601_create_dora_performance_scores.rb
deleted file mode 100644
index 2c4304fedb66a..0000000000000
--- a/db/migrate/20230323120601_create_dora_performance_scores.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDoraPerformanceScores < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :dora_performance_scores do |t|
-      t.references :project, null: false, foreign_key: { on_delete: :cascade }, index: false
-      t.date :date, null: false
-      t.integer :deployment_frequency, limit: 2
-      t.integer :lead_time_for_changes, limit: 2
-      t.integer :time_to_restore_service, limit: 2
-      t.integer :change_failure_rate, limit: 2
-
-      t.index [:project_id, :date], unique: true
-    end
-  end
-end
diff --git a/db/migrate/20230323140745_add_root_directory_to_pages_deployment.rb b/db/migrate/20230323140745_add_root_directory_to_pages_deployment.rb
deleted file mode 100644
index 781ba3e89d4df..0000000000000
--- a/db/migrate/20230323140745_add_root_directory_to_pages_deployment.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-class AddRootDirectoryToPagesDeployment < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230323140746_add_text_limit_to_pages_deployment_root_directory
-  def change
-    add_column :pages_deployments, :root_directory, :text, default: "public"
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb b/db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb
deleted file mode 100644
index 12209422fbb08..0000000000000
--- a/db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToPagesDeploymentRootDirectory < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :pages_deployments, :root_directory, 255
-  end
-
-  def down
-    remove_text_limit :pages_deployments, :root_directory
-  end
-end
diff --git a/db/migrate/20230323153042_track_push_rules_deletions.rb b/db/migrate/20230323153042_track_push_rules_deletions.rb
deleted file mode 100644
index 2aa7fad8de119..0000000000000
--- a/db/migrate/20230323153042_track_push_rules_deletions.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class TrackPushRulesDeletions < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
-
-  enable_lock_retries!
-
-  def up
-    track_record_deletions(:push_rules)
-  end
-
-  def down
-    untrack_record_deletions(:push_rules)
-  end
-end
diff --git a/db/migrate/20230323153328_track_tags_deletions.rb b/db/migrate/20230323153328_track_tags_deletions.rb
deleted file mode 100644
index 085d14a56fa30..0000000000000
--- a/db/migrate/20230323153328_track_tags_deletions.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class TrackTagsDeletions < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
-
-  enable_lock_retries!
-
-  def up
-    track_record_deletions(:tags)
-  end
-
-  def down
-    untrack_record_deletions(:tags)
-  end
-end
diff --git a/db/migrate/20230323191750_add_shard_settings_to_search_indices.rb b/db/migrate/20230323191750_add_shard_settings_to_search_indices.rb
deleted file mode 100644
index b032e3b8a61f7..0000000000000
--- a/db/migrate/20230323191750_add_shard_settings_to_search_indices.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddShardSettingsToSearchIndices < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :search_indices, :number_of_shards, :integer, default: 2, null: false
-    add_column :search_indices, :number_of_replicas, :integer, default: 1, null: false
-  end
-end
diff --git a/db/migrate/20230327074932_add_text_limit_to_abuse_reports_screenshot.rb b/db/migrate/20230327074932_add_text_limit_to_abuse_reports_screenshot.rb
deleted file mode 100644
index 3bb9722188f72..0000000000000
--- a/db/migrate/20230327074932_add_text_limit_to_abuse_reports_screenshot.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToAbuseReportsScreenshot < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :abuse_reports, :screenshot, 255
-  end
-
-  def down
-    remove_text_limit :abuse_reports, :screenshot
-  end
-end
diff --git a/db/migrate/20230327123333_backfill_product_analytics_data_collector_host.rb b/db/migrate/20230327123333_backfill_product_analytics_data_collector_host.rb
deleted file mode 100644
index 04041d78c3e2e..0000000000000
--- a/db/migrate/20230327123333_backfill_product_analytics_data_collector_host.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillProductAnalyticsDataCollectorHost < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    # fills product_analytics_data_collector_host by replacing jitsu_host subdomain with collector
-    regex = "'://(.+?\\.)'"
-    replace_with = "'://collector.'"
-    execute <<~SQL
-      UPDATE application_settings
-      SET product_analytics_data_collector_host = regexp_replace(jitsu_host, #{regex}, #{replace_with}, 'g')
-      WHERE jitsu_host IS NOT NULL AND product_analytics_data_collector_host IS NULL
-    SQL
-  end
-
-  def down
-    #   noop
-  end
-end
diff --git a/db/migrate/20230328020316_delete_unused_index_on_merge_requests_on_state_id_and_merge_status.rb b/db/migrate/20230328020316_delete_unused_index_on_merge_requests_on_state_id_and_merge_status.rb
deleted file mode 100644
index eac1d4e30c147..0000000000000
--- a/db/migrate/20230328020316_delete_unused_index_on_merge_requests_on_state_id_and_merge_status.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteUnusedIndexOnMergeRequestsOnStateIdAndMergeStatus < Gitlab::Database::Migration[2.1]
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/402491
-
-  def up
-    prepare_async_index_removal :merge_requests, [:state_id, :merge_status],
-      where: "((state_id = 1) AND ((merge_status)::text = 'can_be_merged'::text))",
-      name: 'idx_merge_requests_on_state_id_and_merge_status'
-  end
-
-  def down
-    unprepare_async_index :merge_requests, [:state_id, :merge_status],
-      where: "((state_id = 1) AND ((merge_status)::text = 'can_be_merged'::text))",
-      name: 'idx_merge_requests_on_state_id_and_merge_status'
-  end
-end
diff --git a/db/migrate/20230328023535_initialize_conversion_of_award_emoji_awardable_id_to_bigint.rb b/db/migrate/20230328023535_initialize_conversion_of_award_emoji_awardable_id_to_bigint.rb
deleted file mode 100644
index 00bccb5cde2df..0000000000000
--- a/db/migrate/20230328023535_initialize_conversion_of_award_emoji_awardable_id_to_bigint.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class InitializeConversionOfAwardEmojiAwardableIdToBigint < Gitlab::Database::Migration[2.1]
-  TABLE = :award_emoji
-  COLUMNS = %i[awardable_id]
-
-  enable_lock_retries!
-
-  def up
-    initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/migrate/20230328031720_initialize_conversion_of_events_target_id_to_bigint.rb b/db/migrate/20230328031720_initialize_conversion_of_events_target_id_to_bigint.rb
deleted file mode 100644
index b30b681f42dc2..0000000000000
--- a/db/migrate/20230328031720_initialize_conversion_of_events_target_id_to_bigint.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class InitializeConversionOfEventsTargetIdToBigint < Gitlab::Database::Migration[2.1]
-  TABLE = :events
-  COLUMNS = %i[target_id]
-
-  enable_lock_retries!
-
-  def up
-    initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/migrate/20230328150343_add_retried_at_to_status_check_responses.rb b/db/migrate/20230328150343_add_retried_at_to_status_check_responses.rb
deleted file mode 100644
index 53cc1f0432b00..0000000000000
--- a/db/migrate/20230328150343_add_retried_at_to_status_check_responses.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddRetriedAtToStatusCheckResponses < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :status_check_responses, :retried_at, :datetime_with_timezone
-  end
-end
diff --git a/db/migrate/20230328165313_add_disabled_following_to_user_preferences.rb b/db/migrate/20230328165313_add_disabled_following_to_user_preferences.rb
deleted file mode 100644
index 0841829c9577e..0000000000000
--- a/db/migrate/20230328165313_add_disabled_following_to_user_preferences.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddDisabledFollowingToUserPreferences < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :enabled_following, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb b/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb
deleted file mode 100644
index 78f0122c609d9..0000000000000
--- a/db/migrate/20230329032129_add_lock_version_to_terraform_state.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddLockVersionToTerraformState < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :terraform_states, :activerecord_lock_version, :integer, null: false, default: 0
-  end
-end
diff --git a/db/migrate/20230329085754_add_foreign_key_to_resource_link_events_on_user.rb b/db/migrate/20230329085754_add_foreign_key_to_resource_link_events_on_user.rb
deleted file mode 100644
index 6a167f232aea0..0000000000000
--- a/db/migrate/20230329085754_add_foreign_key_to_resource_link_events_on_user.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyToResourceLinkEventsOnUser < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :resource_link_events, :users, column: :user_id, on_delete: :nullify, validate: true
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :resource_link_events, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230329152410_add_achievements_enabled_to_user_preferences.rb b/db/migrate/20230329152410_add_achievements_enabled_to_user_preferences.rb
deleted file mode 100644
index bd11a4a612859..0000000000000
--- a/db/migrate/20230329152410_add_achievements_enabled_to_user_preferences.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddAchievementsEnabledToUserPreferences < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :achievements_enabled, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230329194244_add_index_packages_debian_file_metadata_when_unknown.rb b/db/migrate/20230329194244_add_index_packages_debian_file_metadata_when_unknown.rb
deleted file mode 100644
index 9b87f1319f35c..0000000000000
--- a/db/migrate/20230329194244_add_index_packages_debian_file_metadata_when_unknown.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexPackagesDebianFileMetadataWhenUnknown < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'i_pkgs_deb_file_meta_on_updated_at_package_file_id_when_unknown'
-  UNKNOWN = 1
-
-  def up
-    add_concurrent_index :packages_debian_file_metadata, [:updated_at, :package_file_id],
-      where: "file_type = #{UNKNOWN}", name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :packages_debian_file_metadata, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230329235300_add_diagramsnet_to_application_settings.rb b/db/migrate/20230329235300_add_diagramsnet_to_application_settings.rb
deleted file mode 100644
index 9e351f190f4fb..0000000000000
--- a/db/migrate/20230329235300_add_diagramsnet_to_application_settings.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class AddDiagramsnetToApplicationSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230406115900_add_diagramsnet_text_limit.rb
-  def change
-    add_column :application_settings, :diagramsnet_enabled, :boolean, default: true, null: false
-    add_column :application_settings, :diagramsnet_url, :text, default: 'https://embed.diagrams.net'
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230330101438_create_fk_ml_candidate_params_on_candidate_id.rb b/db/migrate/20230330101438_create_fk_ml_candidate_params_on_candidate_id.rb
deleted file mode 100644
index 8273ffc27e24c..0000000000000
--- a/db/migrate/20230330101438_create_fk_ml_candidate_params_on_candidate_id.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class CreateFkMlCandidateParamsOnCandidateId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  NEW_CONSTRAINT_NAME = 'fk_ml_candidate_params_on_candidate_id'
-
-  def up
-    add_concurrent_foreign_key(
-      :ml_candidate_params,
-      :ml_candidates,
-      column: :candidate_id,
-      on_delete: :cascade,
-      validate: false,
-      name: NEW_CONSTRAINT_NAME
-    )
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        :ml_candidate_params,
-        column: :candidate_id,
-        on_delete: :cascade,
-        name: NEW_CONSTRAINT_NAME
-      )
-    end
-  end
-end
diff --git a/db/migrate/20230330101439_validate_fk_ml_candidate_params_on_candidate_id.rb b/db/migrate/20230330101439_validate_fk_ml_candidate_params_on_candidate_id.rb
deleted file mode 100644
index 912380ac3b736..0000000000000
--- a/db/migrate/20230330101439_validate_fk_ml_candidate_params_on_candidate_id.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkMlCandidateParamsOnCandidateId < Gitlab::Database::Migration[2.1]
-  NEW_CONSTRAINT_NAME = 'fk_ml_candidate_params_on_candidate_id'
-
-  def up
-    validate_foreign_key(:ml_candidate_params, :candidate_id, name: NEW_CONSTRAINT_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230330101440_remove_old_fk_ml_candidate_params_on_candidate_id.rb b/db/migrate/20230330101440_remove_old_fk_ml_candidate_params_on_candidate_id.rb
deleted file mode 100644
index 8e143cd3ed2c5..0000000000000
--- a/db/migrate/20230330101440_remove_old_fk_ml_candidate_params_on_candidate_id.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveOldFkMlCandidateParamsOnCandidateId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  OLD_CONSTRAINT_NAME = 'fk_rails_d4a51d1185'
-
-  def up
-    remove_foreign_key_if_exists(:ml_candidate_params, column: :candidate_id, name: OLD_CONSTRAINT_NAME)
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      :ml_candidate_params,
-      :ml_candidates,
-      column: :candidate_id,
-      validate: false,
-      name: OLD_CONSTRAINT_NAME
-    )
-  end
-end
diff --git a/db/migrate/20230330101441_create_fk_ml_candidate_metrics_on_candidate_id.rb b/db/migrate/20230330101441_create_fk_ml_candidate_metrics_on_candidate_id.rb
deleted file mode 100644
index 0ef0075127d23..0000000000000
--- a/db/migrate/20230330101441_create_fk_ml_candidate_metrics_on_candidate_id.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class CreateFkMlCandidateMetricsOnCandidateId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  NEW_CONSTRAINT_NAME = 'fk_ml_candidate_metrics_on_candidate_id'
-
-  def up
-    add_concurrent_foreign_key(
-      :ml_candidate_metrics,
-      :ml_candidates,
-      column: :candidate_id,
-      on_delete: :cascade,
-      validate: false,
-      name: NEW_CONSTRAINT_NAME
-    )
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        :ml_candidate_metrics,
-        column: :candidate_id,
-        on_delete: :cascade,
-        name: NEW_CONSTRAINT_NAME
-      )
-    end
-  end
-end
diff --git a/db/migrate/20230330101442_validate_fk_ml_candidate_metrics_on_candidate_id.rb b/db/migrate/20230330101442_validate_fk_ml_candidate_metrics_on_candidate_id.rb
deleted file mode 100644
index 5180c6582cf7b..0000000000000
--- a/db/migrate/20230330101442_validate_fk_ml_candidate_metrics_on_candidate_id.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkMlCandidateMetricsOnCandidateId < Gitlab::Database::Migration[2.1]
-  NEW_CONSTRAINT_NAME = 'fk_ml_candidate_metrics_on_candidate_id'
-
-  def up
-    validate_foreign_key(:ml_candidate_metrics, :candidate_id, name: NEW_CONSTRAINT_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230330101443_remove_old_fk_ml_candidate_metrics_on_candidate_id.rb b/db/migrate/20230330101443_remove_old_fk_ml_candidate_metrics_on_candidate_id.rb
deleted file mode 100644
index 2e9153cb9d9b6..0000000000000
--- a/db/migrate/20230330101443_remove_old_fk_ml_candidate_metrics_on_candidate_id.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveOldFkMlCandidateMetricsOnCandidateId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  OLD_CONSTRAINT_NAME = 'fk_rails_efb613a25a'
-
-  def up
-    remove_foreign_key_if_exists(:ml_candidate_metrics, column: :candidate_id, name: OLD_CONSTRAINT_NAME)
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      :ml_candidate_metrics,
-      :ml_candidates,
-      column: :candidate_id,
-      validate: false,
-      name: OLD_CONSTRAINT_NAME
-    )
-  end
-end
diff --git a/db/migrate/20230330215636_remove_unused_project_jira_indexes.rb b/db/migrate/20230330215636_remove_unused_project_jira_indexes.rb
deleted file mode 100644
index ce10b70f81c44..0000000000000
--- a/db/migrate/20230330215636_remove_unused_project_jira_indexes.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveUnusedProjectJiraIndexes < Gitlab::Database::Migration[2.1]
-  TITLE_INDEX = {
-    name: 'index_merge_requests_on_target_project_id_and_iid_jira_title',
-    where: "((title)::text ~ '[A-Z][A-Z_0-9]+-\d+'::text)"
-  }.freeze
-
-  DESCRIPTION_INDEX = {
-    name: 'index_merge_requests_on_target_project_id_iid_jira_description',
-    where: "(description ~ '[A-Z][A-Z_0-9]+-\d+'::text)"
-  }.freeze
-
-  # TODO: Indexes to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/403327
-  def up
-    prepare_async_index_removal :merge_requests, [:target_project_id, :iid],
-      where: TITLE_INDEX[:where],
-      name: TITLE_INDEX[:name]
-
-    prepare_async_index_removal :merge_requests, [:target_project_id, :iid],
-      where: DESCRIPTION_INDEX[:where],
-      name: DESCRIPTION_INDEX[:name]
-  end
-
-  def down
-    unprepare_async_index :merge_requests, [:target_project_id, :iid],
-      where: TITLE_INDEX[:where],
-      name: TITLE_INDEX[:name]
-
-    unprepare_async_index :merge_requests, [:target_project_id, :iid],
-      where: DESCRIPTION_INDEX[:where],
-      name: DESCRIPTION_INDEX[:name]
-  end
-end
diff --git a/db/migrate/20230331142006_add_open_ai_api_key_application_setting.rb b/db/migrate/20230331142006_add_open_ai_api_key_application_setting.rb
deleted file mode 100644
index 735cb414c997f..0000000000000
--- a/db/migrate/20230331142006_add_open_ai_api_key_application_setting.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddOpenAiApiKeyApplicationSetting < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :encrypted_openai_api_key, :binary
-    add_column :application_settings, :encrypted_openai_api_key_iv, :binary
-  end
-end
diff --git a/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb b/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
deleted file mode 100644
index 136855403f918..0000000000000
--- a/db/migrate/20230403023440_add_database_max_running_batched_background_migrations_to_application_settings.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddDatabaseMaxRunningBatchedBackgroundMigrationsToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :database_max_running_batched_background_migrations,
-      :integer, null: false, default: 2
-  end
-end
diff --git a/db/migrate/20230403023441_set_max_running_batched_background_migrations_for_gitlab_com.rb b/db/migrate/20230403023441_set_max_running_batched_background_migrations_for_gitlab_com.rb
deleted file mode 100644
index 6e8d423e679c8..0000000000000
--- a/db/migrate/20230403023441_set_max_running_batched_background_migrations_for_gitlab_com.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class SetMaxRunningBatchedBackgroundMigrationsForGitlabCom < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    return unless Gitlab.com? && !Gitlab.jh?
-
-    execute 'UPDATE application_settings SET database_max_running_batched_background_migrations = 4'
-  end
-
-  def down
-    return unless Gitlab.com? && !Gitlab.jh?
-
-    execute 'UPDATE application_settings SET database_max_running_batched_background_migrations = 2'
-  end
-end
diff --git a/db/migrate/20230403093349_ensure_packages_npm_metadata_caches_is_empty.rb b/db/migrate/20230403093349_ensure_packages_npm_metadata_caches_is_empty.rb
deleted file mode 100644
index baeb368fda181..0000000000000
--- a/db/migrate/20230403093349_ensure_packages_npm_metadata_caches_is_empty.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class EnsurePackagesNpmMetadataCachesIsEmpty < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    truncate_tables!('packages_npm_metadata_caches')
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230403113620_add_pinned_nav_items_to_user_preference.rb b/db/migrate/20230403113620_add_pinned_nav_items_to_user_preference.rb
deleted file mode 100644
index 8f7509db3185e..0000000000000
--- a/db/migrate/20230403113620_add_pinned_nav_items_to_user_preference.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddPinnedNavItemsToUserPreference < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :pinned_nav_items, :jsonb, null: false, default: {}
-  end
-end
diff --git a/db/migrate/20230403145705_add_purl_sync_to_settings.rb b/db/migrate/20230403145705_add_purl_sync_to_settings.rb
deleted file mode 100644
index 3bc9ce0723548..0000000000000
--- a/db/migrate/20230403145705_add_purl_sync_to_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddPurlSyncToSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :package_metadata_purl_types, :smallint, array: true, default: []
-  end
-end
diff --git a/db/migrate/20230403164454_add_fork_storage_size_columns_to_root_storage_statistics.rb b/db/migrate/20230403164454_add_fork_storage_size_columns_to_root_storage_statistics.rb
deleted file mode 100644
index 3428fba669f25..0000000000000
--- a/db/migrate/20230403164454_add_fork_storage_size_columns_to_root_storage_statistics.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddForkStorageSizeColumnsToRootStorageStatistics < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :namespace_root_storage_statistics, :public_forks_storage_size, :bigint, default: 0, null: false
-    add_column :namespace_root_storage_statistics, :internal_forks_storage_size, :bigint, default: 0, null: false
-    add_column :namespace_root_storage_statistics, :private_forks_storage_size, :bigint, default: 0, null: false
-  end
-end
diff --git a/db/migrate/20230404111427_add_first_contribution_to_merge_request_metrics.rb b/db/migrate/20230404111427_add_first_contribution_to_merge_request_metrics.rb
deleted file mode 100644
index d0366907191c1..0000000000000
--- a/db/migrate/20230404111427_add_first_contribution_to_merge_request_metrics.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddFirstContributionToMergeRequestMetrics < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :merge_request_metrics, :first_contribution, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230404160131_add_status_to_data_repair_details.rb b/db/migrate/20230404160131_add_status_to_data_repair_details.rb
deleted file mode 100644
index 564b0450752e4..0000000000000
--- a/db/migrate/20230404160131_add_status_to_data_repair_details.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class AddStatusToDataRepairDetails < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_container_registry_data_repair_details_on_status'
-
-  def up
-    unless column_exists?(:container_registry_data_repair_details, :status)
-      add_column(:container_registry_data_repair_details, :status, :integer, default: 0, null: false, limit: 2)
-    end
-
-    add_concurrent_index :container_registry_data_repair_details, :status, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :container_registry_data_repair_details, name: INDEX_NAME
-    remove_column :container_registry_data_repair_details, :status
-  end
-end
diff --git a/db/migrate/20230405071033_add_object_storage_key_to_packages_npm_metadata_caches.rb b/db/migrate/20230405071033_add_object_storage_key_to_packages_npm_metadata_caches.rb
deleted file mode 100644
index a4c0f01ab2a95..0000000000000
--- a/db/migrate/20230405071033_add_object_storage_key_to_packages_npm_metadata_caches.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class AddObjectStorageKeyToPackagesNpmMetadataCaches < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_packages_npm_metadata_caches_on_object_storage_key'
-
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230503191056_add_text_limit_to_packages_npm_metadata_caches_object_storage_key
-  def up
-    unless column_exists?(:packages_npm_metadata_caches, :object_storage_key)
-      # The existing table is empty.
-      # rubocop:disable Rails/NotNullColumn
-      add_column :packages_npm_metadata_caches, :object_storage_key, :text, null: false
-      # rubocop:enable Rails/NotNullColumn
-    end
-
-    add_concurrent_index :packages_npm_metadata_caches, :object_storage_key, unique: true, name: INDEX_NAME
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-
-  def down
-    remove_column :packages_npm_metadata_caches, :object_storage_key
-  end
-end
diff --git a/db/migrate/20230405102815_add_unique_namespace_index_to_storage_limit_exclusions.rb b/db/migrate/20230405102815_add_unique_namespace_index_to_storage_limit_exclusions.rb
deleted file mode 100644
index d732fb35ce92c..0000000000000
--- a/db/migrate/20230405102815_add_unique_namespace_index_to_storage_limit_exclusions.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueNamespaceIndexToStorageLimitExclusions < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = 'namespaces_storage_limit_exclusions'
-  OLD_INDEX_NAME = 'index_namespaces_storage_limit_exclusions_on_namespace_id'
-  NEW_INDEX_NAME = 'unique_idx_namespaces_storage_limit_exclusions_on_namespace_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index TABLE_NAME, :namespace_id,
-      unique: true,
-      name: NEW_INDEX_NAME
-
-    remove_concurrent_index_by_name TABLE_NAME, OLD_INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index TABLE_NAME, :namespace_id,
-      unique: false,
-      name: OLD_INDEX_NAME
-
-    remove_concurrent_index_by_name TABLE_NAME, NEW_INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230406040908_add_system_note_metadata_id__to_resource_link_events.rb b/db/migrate/20230406040908_add_system_note_metadata_id__to_resource_link_events.rb
deleted file mode 100644
index 042e588a5f5c2..0000000000000
--- a/db/migrate/20230406040908_add_system_note_metadata_id__to_resource_link_events.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddSystemNoteMetadataIdToResourceLinkEvents < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :resource_link_events, :system_note_metadata_id, :bigint
-  end
-end
diff --git a/db/migrate/20230406042906_add_unique_index_to_resource_link_events_on_system_note_metadata_id.rb b/db/migrate/20230406042906_add_unique_index_to_resource_link_events_on_system_note_metadata_id.rb
deleted file mode 100644
index 97d2e89c80ba2..0000000000000
--- a/db/migrate/20230406042906_add_unique_index_to_resource_link_events_on_system_note_metadata_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexToResourceLinkEventsOnSystemNoteMetadataId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'unique_index_on_system_note_metadata_id'
-
-  def up
-    add_concurrent_index :resource_link_events, :system_note_metadata_id, unique: true, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :resource_link_events, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230406043900_add_system_note_metadata_foreign_key_to_resource_link_events.rb b/db/migrate/20230406043900_add_system_note_metadata_foreign_key_to_resource_link_events.rb
deleted file mode 100644
index 431e7ac0e7e3e..0000000000000
--- a/db/migrate/20230406043900_add_system_note_metadata_foreign_key_to_resource_link_events.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddSystemNoteMetadataForeignKeyToResourceLinkEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :resource_link_events, :system_note_metadata,
-      column: :system_note_metadata_id, on_delete: :cascade, validate: false
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :resource_link_events, column: :system_note_metadata_id
-    end
-  end
-end
diff --git a/db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb b/db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb
deleted file mode 100644
index 4347d13ceb489..0000000000000
--- a/db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class CreateInstanceExternalAuditEventDestinations < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :audit_events_instance_external_audit_event_destinations do |t|
-      t.timestamps_with_timezone null: false
-      t.text :destination_url, null: false, limit: 255 # rubocop:disable Migration/AddLimitToTextColumns
-      t.binary :encrypted_verification_token, null: false
-      t.binary :encrypted_verification_token_iv, null: false
-    end
-  end
-end
diff --git a/db/migrate/20230406073847_validate_foreign_key_for_resource_link_events_on_system_note_metadata_id.rb b/db/migrate/20230406073847_validate_foreign_key_for_resource_link_events_on_system_note_metadata_id.rb
deleted file mode 100644
index f06657ccabc8b..0000000000000
--- a/db/migrate/20230406073847_validate_foreign_key_for_resource_link_events_on_system_note_metadata_id.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateForeignKeyForResourceLinkEventsOnSystemNoteMetadataId < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :resource_link_events, :system_note_metadata_id
-  end
-
-  def down
-    # No-op
-  end
-end
diff --git a/db/migrate/20230406095544_add_pa_configurator_base_to_app_settings.rb b/db/migrate/20230406095544_add_pa_configurator_base_to_app_settings.rb
deleted file mode 100644
index b6b33cdf17bd7..0000000000000
--- a/db/migrate/20230406095544_add_pa_configurator_base_to_app_settings.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddPaConfiguratorBaseToAppSettings < Gitlab::Database::Migration[2.1]
-  def up
-    add_column :application_settings, :encrypted_product_analytics_configurator_connection_string, :binary
-    add_column :application_settings, :encrypted_product_analytics_configurator_connection_string_iv, :binary
-  end
-
-  def down
-    remove_column :application_settings, :encrypted_product_analytics_configurator_connection_string
-    remove_column :application_settings, :encrypted_product_analytics_configurator_connection_string_iv
-  end
-end
diff --git a/db/migrate/20230406115900_add_diagramsnet_text_limit.rb b/db/migrate/20230406115900_add_diagramsnet_text_limit.rb
deleted file mode 100644
index 27155c70c56b6..0000000000000
--- a/db/migrate/20230406115900_add_diagramsnet_text_limit.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddDiagramsnetTextLimit < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :application_settings, :diagramsnet_url, 2048
-  end
-
-  def down
-    remove_text_limit :application_settings, :diagramsnet_url
-  end
-end
diff --git a/db/migrate/20230406134436_add_identity_toggle_to_user_preferences.rb b/db/migrate/20230406134436_add_identity_toggle_to_user_preferences.rb
deleted file mode 100644
index 0b7fcceb3ee21..0000000000000
--- a/db/migrate/20230406134436_add_identity_toggle_to_user_preferences.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddIdentityToggleToUserPreferences < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :pass_user_identities_to_ci_jwt, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230406150254_create_agent_user_access_project_authorizations_table.rb b/db/migrate/20230406150254_create_agent_user_access_project_authorizations_table.rb
deleted file mode 100644
index 1adc3bb001a7d..0000000000000
--- a/db/migrate/20230406150254_create_agent_user_access_project_authorizations_table.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAgentUserAccessProjectAuthorizationsTable < Gitlab::Database::Migration[2.1]
-  INDEX_NAME_1 = 'index_agent_user_access_on_project_id'
-  INDEX_NAME_2 = 'index_agent_user_access_on_agent_id_and_project_id'
-
-  def change
-    create_table :agent_user_access_project_authorizations do |t|
-      t.bigint :project_id, null: false
-      t.bigint :agent_id, null: false
-      t.jsonb :config, null: false
-
-      t.index [:project_id], name: INDEX_NAME_1
-      t.index [:agent_id, :project_id], unique: true, name: INDEX_NAME_2
-    end
-  end
-end
diff --git a/db/migrate/20230406150354_create_agent_user_access_group_authorizations_table.rb b/db/migrate/20230406150354_create_agent_user_access_group_authorizations_table.rb
deleted file mode 100644
index 1d4df7d733053..0000000000000
--- a/db/migrate/20230406150354_create_agent_user_access_group_authorizations_table.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAgentUserAccessGroupAuthorizationsTable < Gitlab::Database::Migration[2.1]
-  INDEX_NAME_1 = 'index_agent_user_access_on_group_id'
-  INDEX_NAME_2 = 'index_agent_user_access_on_agent_id_and_group_id'
-
-  def change
-    create_table :agent_user_access_group_authorizations do |t|
-      t.bigint :group_id, null: false
-      t.bigint :agent_id, null: false
-      t.jsonb :config, null: false
-
-      t.index [:group_id], name: INDEX_NAME_1
-      t.index [:agent_id, :group_id], unique: true, name: INDEX_NAME_2
-    end
-  end
-end
diff --git a/db/migrate/20230406150454_add_fks_to_agent_user_access_authorizations.rb b/db/migrate/20230406150454_add_fks_to_agent_user_access_authorizations.rb
deleted file mode 100644
index 62f0062010816..0000000000000
--- a/db/migrate/20230406150454_add_fks_to_agent_user_access_authorizations.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class AddFksToAgentUserAccessAuthorizations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :agent_user_access_project_authorizations, :projects,
-      column: :project_id, on_delete: :cascade
-    add_concurrent_foreign_key :agent_user_access_project_authorizations, :cluster_agents,
-      column: :agent_id, on_delete: :cascade
-    add_concurrent_foreign_key :agent_user_access_group_authorizations, :namespaces,
-      column: :group_id, on_delete: :cascade
-    add_concurrent_foreign_key :agent_user_access_group_authorizations, :cluster_agents,
-      column: :agent_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :agent_user_access_project_authorizations, column: :project_id
-    end
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :agent_user_access_project_authorizations, column: :agent_id
-    end
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :agent_user_access_group_authorizations, column: :group_id
-    end
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :agent_user_access_group_authorizations, column: :agent_id
-    end
-  end
-end
diff --git a/db/migrate/20230407164616_add_code_suggestions_to_namespace_settings.rb b/db/migrate/20230407164616_add_code_suggestions_to_namespace_settings.rb
deleted file mode 100644
index ce500fec2f002..0000000000000
--- a/db/migrate/20230407164616_add_code_suggestions_to_namespace_settings.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddCodeSuggestionsToNamespaceSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :namespace_settings, :code_suggestions, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230410092450_add_product_analytics_instrumentation_key_to_project_settings.rb b/db/migrate/20230410092450_add_product_analytics_instrumentation_key_to_project_settings.rb
deleted file mode 100644
index eaaddef083c7c..0000000000000
--- a/db/migrate/20230410092450_add_product_analytics_instrumentation_key_to_project_settings.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddProductAnalyticsInstrumentationKeyToProjectSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in 20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb
-  def up
-    with_lock_retries do
-      add_column :project_settings, :product_analytics_instrumentation_key, :text unless
-        column_exists?(:project_settings, :product_analytics_instrumentation_key)
-    end
-  end
-
-  def down
-    with_lock_retries do
-      remove_column :project_settings, :product_analytics_instrumentation_key
-    end
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230411171001_create_abuse_trust_scores.rb b/db/migrate/20230411171001_create_abuse_trust_scores.rb
deleted file mode 100644
index 2c95a2ab01e86..0000000000000
--- a/db/migrate/20230411171001_create_abuse_trust_scores.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAbuseTrustScores < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :abuse_trust_scores do |t|
-      t.belongs_to :user, foreign_key: { to_table: :users, on_delete: :cascade }, index: false
-
-      t.float :score, null: false
-      t.timestamps_with_timezone null: false
-      t.integer :source, limit: 2, null: false
-      t.text :correlation_id_value, limit: 32
-
-      t.index [:user_id, :source, :created_at]
-    end
-  end
-end
diff --git a/db/migrate/20230411205121_create_package_metadata_advisory_info.rb b/db/migrate/20230411205121_create_package_metadata_advisory_info.rb
deleted file mode 100644
index adfc8e868f723..0000000000000
--- a/db/migrate/20230411205121_create_package_metadata_advisory_info.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# frozen_string_literal: true
-
-class CreatePackageMetadataAdvisoryInfo < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :pm_advisories do |t|
-      t.text :advisory_xid, limit: 36, null: false
-      t.date :published_date, null: false
-      t.timestamps_with_timezone null: false
-      t.integer :source_xid, limit: 2, null: false
-
-      t.text :title, limit: 256
-      t.text :description, limit: 8192
-      t.text :cvss_v2, limit: 128
-      t.text :cvss_v3, limit: 128
-      t.text :urls, array: true, default: []
-      t.jsonb :identifiers, null: false
-
-      t.index [:advisory_xid, :source_xid], unique: true
-      t.check_constraint 'CARDINALITY(urls) <= 10'
-    end
-
-    create_table :pm_affected_packages do |t|
-      t.references :pm_advisory, index: true, foreign_key: { on_delete: :cascade }, null: false
-      t.timestamps_with_timezone null: false
-      t.integer :purl_type, limit: 2, null: false
-
-      t.text :package_name, limit: 256, null: false
-      t.text :distro_version, limit: 256, null: true
-      t.text :solution, limit: 2048, null: true
-      t.text :affected_range, limit: 512, null: false
-      t.text :fixed_versions, array: true, default: []
-      t.jsonb :overridden_advisory_fields, null: false, default: {}
-
-      t.index [:pm_advisory_id, :purl_type, :package_name, :distro_version], unique: true,
-        name: 'i_affected_packages_unique_for_upsert'
-      t.check_constraint 'CARDINALITY(fixed_versions) <= 10'
-    end
-  end
-end
diff --git a/db/migrate/20230412073614_create_issue_assignment_events.rb b/db/migrate/20230412073614_create_issue_assignment_events.rb
deleted file mode 100644
index 1b57c59eb2be9..0000000000000
--- a/db/migrate/20230412073614_create_issue_assignment_events.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class CreateIssueAssignmentEvents < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :issue_assignment_events do |t|
-      t.references :user, null: true, index: true, foreign_key: { on_delete: :nullify }
-      t.bigint :issue_id, null: false
-      t.datetime_with_timezone :created_at, null: false, default: -> { 'NOW()' }
-      t.integer :action, limit: 2, null: false, default: 1
-
-      t.index %i[issue_id action created_at id], name: 'index_on_issue_assignment_events_issue_id_action_created_at_id'
-    end
-  end
-end
diff --git a/db/migrate/20230412080242_add_concurrent_fk_to_issue_assignment_events.rb b/db/migrate/20230412080242_add_concurrent_fk_to_issue_assignment_events.rb
deleted file mode 100644
index 3bff98c6e69e5..0000000000000
--- a/db/migrate/20230412080242_add_concurrent_fk_to_issue_assignment_events.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddConcurrentFkToIssueAssignmentEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :issue_assignment_events,
-      :issues,
-      column: :issue_id,
-      on_delete: :cascade
-  end
-
-  def down
-    remove_foreign_key_if_exists :resource_assignment_events, column: :issue_id
-  end
-end
diff --git a/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb b/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb
deleted file mode 100644
index 18bf8640a45c5..0000000000000
--- a/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiJobArtifactsFileFinalPath < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # limit is added in db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb
-  def change
-    add_column :ci_job_artifacts, :file_final_path, :text, null: true
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230412185920_validate_ci_job_artifacts_file_final_path.rb b/db/migrate/20230412185920_validate_ci_job_artifacts_file_final_path.rb
deleted file mode 100644
index 464ac1eec72cb..0000000000000
--- a/db/migrate/20230412185920_validate_ci_job_artifacts_file_final_path.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateCiJobArtifactsFileFinalPath < Gitlab::Database::Migration[2.1]
-  def up
-    constraint_name = text_limit_name(:ci_job_artifacts, :file_final_path)
-    validate_check_constraint :ci_job_artifacts, constraint_name
-  end
-
-  # No-op
-  def down; end
-end
diff --git a/db/migrate/20230413080906_create_merge_request_assignment_events.rb b/db/migrate/20230413080906_create_merge_request_assignment_events.rb
deleted file mode 100644
index b976dc8935a0a..0000000000000
--- a/db/migrate/20230413080906_create_merge_request_assignment_events.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class CreateMergeRequestAssignmentEvents < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :merge_request_assignment_events do |t|
-      t.references :user, null: true, index: true, foreign_key: { on_delete: :nullify }
-      t.bigint :merge_request_id, null: false
-      t.datetime_with_timezone :created_at, null: false, default: -> { 'NOW()' }
-      t.integer :action, limit: 2, null: false, default: 1
-
-      t.index %i[merge_request_id action created_at id],
-        name: 'index_on_mr_assignment_events_mr_id_action_created_at_id'
-    end
-  end
-end
diff --git a/db/migrate/20230413080918_add_concurrent_fk_to_merge_request_assignment_events.rb b/db/migrate/20230413080918_add_concurrent_fk_to_merge_request_assignment_events.rb
deleted file mode 100644
index 5b7d08a354732..0000000000000
--- a/db/migrate/20230413080918_add_concurrent_fk_to_merge_request_assignment_events.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddConcurrentFkToMergeRequestAssignmentEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :merge_request_assignment_events,
-      :merge_requests,
-      column: :merge_request_id,
-      on_delete: :cascade
-  end
-
-  def down
-    remove_foreign_key_if_exists :merge_request_assignment_events, column: :merge_request_id
-  end
-end
diff --git a/db/migrate/20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb b/db/migrate/20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb
deleted file mode 100644
index 7ec0a800066ce..0000000000000
--- a/db/migrate/20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToProjectSettingsInstrumentationKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :project_settings, :product_analytics_instrumentation_key, 255
-  end
-
-  def down
-    remove_text_limit :project_settings, :product_analytics_instrumentation_key
-  end
-end
diff --git a/db/migrate/20230414190012_add_product_analytics_to_project_settings.rb b/db/migrate/20230414190012_add_product_analytics_to_project_settings.rb
deleted file mode 100644
index c77168f05be9e..0000000000000
--- a/db/migrate/20230414190012_add_product_analytics_to_project_settings.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class AddProductAnalyticsToProjectSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      add_column :project_settings, :jitsu_host, :text, if_not_exists: true
-      add_column :project_settings, :jitsu_project_xid, :text, if_not_exists: true
-      add_column :project_settings, :jitsu_administrator_email, :text, if_not_exists: true
-      add_column :project_settings, :encrypted_jitsu_administrator_password, :binary, if_not_exists: true
-      add_column :project_settings, :encrypted_jitsu_administrator_password_iv, :binary, if_not_exists: true
-      add_column :project_settings, :product_analytics_data_collector_host, :text, if_not_exists: true
-      add_column :project_settings, :encrypted_product_analytics_clickhouse_connection_string,
-        :binary, if_not_exists: true
-      add_column :project_settings, :encrypted_product_analytics_clickhouse_connection_string_iv,
-        :binary, if_not_exists: true
-      add_column :project_settings, :cube_api_base_url, :text, if_not_exists: true
-      add_column :project_settings, :encrypted_cube_api_key, :binary, if_not_exists: true
-      add_column :project_settings, :encrypted_cube_api_key_iv, :binary, if_not_exists: true
-    end
-
-    add_text_limit :project_settings, :jitsu_host, 255
-    add_text_limit :project_settings, :jitsu_project_xid, 255
-    add_text_limit :project_settings, :jitsu_administrator_email, 255
-    add_text_limit :project_settings, :product_analytics_data_collector_host, 255
-    add_text_limit :project_settings, :cube_api_base_url, 512
-  end
-
-  def down
-    with_lock_retries do
-      remove_column :project_settings, :jitsu_host, if_exists: true
-      remove_column :project_settings, :jitsu_project_xid, if_exists: true
-      remove_column :project_settings, :jitsu_administrator_email, if_exists: true
-      remove_column :project_settings, :encrypted_jitsu_administrator_password, if_exists: true
-      remove_column :project_settings, :encrypted_jitsu_administrator_password_iv, if_exists: true
-      remove_column :project_settings, :product_analytics_data_collector_host, if_exists: true
-      remove_column :project_settings, :encrypted_product_analytics_clickhouse_connection_string, if_exists: true
-      remove_column :project_settings, :encrypted_product_analytics_clickhouse_connection_string_iv, if_exists: true
-      remove_column :project_settings, :cube_api_base_url, if_exists: true
-      remove_column :project_settings, :encrypted_cube_api_key, if_exists: true
-      remove_column :project_settings, :encrypted_cube_api_key_iv, if_exists: true
-    end
-  end
-end
diff --git a/db/migrate/20230414230535_add_external_identifiers_index_to_import_failures.rb.rb b/db/migrate/20230414230535_add_external_identifiers_index_to_import_failures.rb.rb
deleted file mode 100644
index 5d9a35108f40e..0000000000000
--- a/db/migrate/20230414230535_add_external_identifiers_index_to_import_failures.rb.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddExternalIdentifiersIndexToImportFailures < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_import_failures_on_external_identifiers'
-
-  def up
-    add_concurrent_index :import_failures, :external_identifiers, name: INDEX_NAME,
-      where: "external_identifiers != '{}'"
-  end
-
-  def down
-    remove_concurrent_index_by_name :import_failures, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230417145900_add_visibility_pipeline_id_type_to_user_preferences.rb b/db/migrate/20230417145900_add_visibility_pipeline_id_type_to_user_preferences.rb
deleted file mode 100644
index 2c58a40f244f8..0000000000000
--- a/db/migrate/20230417145900_add_visibility_pipeline_id_type_to_user_preferences.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddVisibilityPipelineIdTypeToUserPreferences < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :user_preferences, :visibility_pipeline_id_type, :integer, default: 0, limit: 2, null: false
-  end
-end
diff --git a/db/migrate/20230418183540_create_project_states.rb b/db/migrate/20230418183540_create_project_states.rb
deleted file mode 100644
index b23436028b52b..0000000000000
--- a/db/migrate/20230418183540_create_project_states.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# frozen_string_literal: true
-
-class CreateProjectStates < Gitlab::Database::Migration[2.1]
-  VERIFICATION_STATE_INDEX_NAME = "index_project_states_on_verification_state"
-  PENDING_VERIFICATION_INDEX_NAME = "index_project_states_pending_verification"
-  FAILED_VERIFICATION_INDEX_NAME = "index_project_states_failed_verification"
-  NEEDS_VERIFICATION_INDEX_NAME = "index_project_states_needs_verification"
-
-  enable_lock_retries!
-
-  def up
-    create_table :project_states do |t|
-      t.datetime_with_timezone :verification_started_at
-      t.datetime_with_timezone :verification_retry_at
-      t.datetime_with_timezone :verified_at
-      t.references :project, null: false, index: { unique: true }, foreign_key: { on_delete: :cascade }
-      t.integer :verification_state, default: 0, limit: 2, null: false
-      t.integer :verification_retry_count, default: 0, limit: 2, null: false
-      t.binary :verification_checksum, using: 'verification_checksum::bytea'
-      t.text :verification_failure, limit: 255
-
-      t.index :verification_state,
-        name: VERIFICATION_STATE_INDEX_NAME
-
-      t.index :verified_at,
-        where: "(verification_state = 0)",
-        order: { verified_at: 'ASC NULLS FIRST' },
-        name: PENDING_VERIFICATION_INDEX_NAME
-
-      t.index :verification_retry_at,
-        where: "(verification_state = 3)",
-        order: { verification_retry_at: 'ASC NULLS FIRST' },
-        name: FAILED_VERIFICATION_INDEX_NAME
-
-      t.index :verification_state,
-        where: "(verification_state = 0 OR verification_state = 3)",
-        name: NEEDS_VERIFICATION_INDEX_NAME
-    end
-  end
-
-  def down
-    drop_table :project_states
-  end
-end
diff --git a/db/migrate/20230418215853_add_assignee_widget_to_incidents.rb b/db/migrate/20230418215853_add_assignee_widget_to_incidents.rb
deleted file mode 100644
index 66eaee8ab8775..0000000000000
--- a/db/migrate/20230418215853_add_assignee_widget_to_incidents.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# frozen_string_literal: true
-
-class AddAssigneeWidgetToIncidents < Gitlab::Database::Migration[2.1]
-  class WorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  class WidgetDefinition < MigrationRecord
-    self.table_name = 'work_item_widget_definitions'
-  end
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  WIDGET_NAME = 'Assignees'
-  WIDGET_ENUM_VALUE = 0
-  WORK_ITEM_TYPE = 'Incident'
-  FAILURE_MSG = "type #{WORK_ITEM_TYPE} is missing, not adding widget"
-
-  def up
-    type = WorkItemType.find_by_name_and_namespace_id(WORK_ITEM_TYPE, nil)
-
-    unless type
-      say(FAILURE_MSG)
-      Gitlab::AppLogger.warn(FAILURE_MSG)
-
-      return
-    end
-
-    widgets = [{
-      work_item_type_id: type.id,
-      name: WIDGET_NAME,
-      widget_type: WIDGET_ENUM_VALUE
-    }]
-
-    WidgetDefinition.upsert_all(
-      widgets,
-      unique_by: :index_work_item_widget_definitions_on_default_witype_and_name
-    )
-  end
-
-  def down
-    type = WorkItemType.find_by_name_and_namespace_id(WORK_ITEM_TYPE, nil)
-    return unless type
-
-    WidgetDefinition.where(work_item_type_id: type, name: WIDGET_NAME).delete_all
-  end
-end
diff --git a/db/migrate/20230419105225_remove_phabricator_from_application_settings.rb b/db/migrate/20230419105225_remove_phabricator_from_application_settings.rb
deleted file mode 100644
index 42b27d3dd765a..0000000000000
--- a/db/migrate/20230419105225_remove_phabricator_from_application_settings.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class RemovePhabricatorFromApplicationSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class ApplicationSetting < MigrationRecord
-  end
-
-  def up
-    return if import_sources.empty?
-
-    new_sources = import_sources - ['phabricator']
-
-    ApplicationSetting.update_all(import_sources: new_sources.to_yaml)
-  end
-
-  def down
-    ## a reversion is not needed as Phabricator is no longer a supported import source
-    #  and attempting to save it as one will result in a ActiveRecord error.
-  end
-
-  def import_sources
-    ## the last ApplicationSetting record is used to determine application settings
-    import_sources = ApplicationSetting.last&.import_sources
-    import_sources.nil? ? [] : YAML.safe_load(import_sources)
-  end
-end
diff --git a/db/migrate/20230419130952_remove_github_import_job_instances.rb b/db/migrate/20230419130952_remove_github_import_job_instances.rb
deleted file mode 100644
index e7028032eb446..0000000000000
--- a/db/migrate/20230419130952_remove_github_import_job_instances.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveGithubImportJobInstances < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/9300
-  end
-
-  def down
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/9300
-  end
-end
diff --git a/db/migrate/20230419192748_add_bot_user_id_to_security_orchestration_policy_configurations.rb b/db/migrate/20230419192748_add_bot_user_id_to_security_orchestration_policy_configurations.rb
deleted file mode 100644
index 980581c372705..0000000000000
--- a/db/migrate/20230419192748_add_bot_user_id_to_security_orchestration_policy_configurations.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddBotUserIdToSecurityOrchestrationPolicyConfigurations < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :security_orchestration_policy_configurations, :bot_user_id, :integer
-  end
-end
diff --git a/db/migrate/20230419193807_add_foreign_key_for_bot_user_id_to_security_orchestration_policy_configurations.rb b/db/migrate/20230419193807_add_foreign_key_for_bot_user_id_to_security_orchestration_policy_configurations.rb
deleted file mode 100644
index 5a809aa969221..0000000000000
--- a/db/migrate/20230419193807_add_foreign_key_for_bot_user_id_to_security_orchestration_policy_configurations.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyForBotUserIdToSecurityOrchestrationPolicyConfigurations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_security_policy_configurations_on_bot_user_id'
-
-  def up
-    add_concurrent_foreign_key :security_orchestration_policy_configurations, :users, column: :bot_user_id,
-      on_delete: :nullify
-
-    add_concurrent_index :security_orchestration_policy_configurations, :bot_user_id,
-      where: "security_orchestration_policy_configurations.bot_user_id IS NOT NULL",
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :security_orchestration_policy_configurations, INDEX_NAME
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :security_orchestration_policy_configurations, column: :bot_user_id
-    end
-  end
-end
diff --git a/db/migrate/20230420012220_create_organizations.rb b/db/migrate/20230420012220_create_organizations.rb
deleted file mode 100644
index ba6e89837d8ea..0000000000000
--- a/db/migrate/20230420012220_create_organizations.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class CreateOrganizations < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :organizations do |t|
-      t.timestamps_with_timezone null: false
-    end
-  end
-end
diff --git a/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb b/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb
deleted file mode 100644
index 84bad801ce4d0..0000000000000
--- a/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class InitializeConversionOfCiPipelines < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE = :ci_pipelines
-  COLUMNS = %i[id]
-
-  def up
-    initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/migrate/20230420115733_add_ai_settings_to_namespace_settings.rb b/db/migrate/20230420115733_add_ai_settings_to_namespace_settings.rb
deleted file mode 100644
index 681691d39c74e..0000000000000
--- a/db/migrate/20230420115733_add_ai_settings_to_namespace_settings.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-class AddAiSettingsToNamespaceSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :namespace_settings, :experiment_features_enabled, :boolean, default: false, null: false
-    add_column :namespace_settings, :third_party_ai_features_enabled, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230420131608_add_partitioned_vsd_counts_table.rb b/db/migrate/20230420131608_add_partitioned_vsd_counts_table.rb
deleted file mode 100644
index dc2a3a15239ee..0000000000000
--- a/db/migrate/20230420131608_add_partitioned_vsd_counts_table.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class AddPartitionedVsdCountsTable < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  def up
-    execute(<<~SQL)
-      CREATE TABLE value_stream_dashboard_counts (
-        id bigserial NOT NULL,
-        namespace_id bigint NOT NULL,
-        count bigint NOT NULL,
-        recorded_at timestamp with time zone NOT NULL,
-        metric smallint NOT NULL,
-        PRIMARY KEY (namespace_id, metric, recorded_at, count, id)
-      ) PARTITION BY RANGE (recorded_at);
-    SQL
-
-    min_date = Date.today
-    max_date = Date.today + 6.months
-    create_daterange_partitions('value_stream_dashboard_counts', 'recorded_at', min_date, max_date)
-  end
-
-  def down
-    drop_table :value_stream_dashboard_counts
-  end
-end
diff --git a/db/migrate/20230420132910_create_ci_ai_conversation.rb b/db/migrate/20230420132910_create_ci_ai_conversation.rb
deleted file mode 100644
index 7676a2b0ae1ef..0000000000000
--- a/db/migrate/20230420132910_create_ci_ai_conversation.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class CreateCiAiConversation < Gitlab::Database::Migration[2.1]
-  def up
-    create_table :ci_editor_ai_conversation_messages do |t|
-      t.bigint :user_id,
-        null: false
-      t.bigint :project_id,
-        null: false
-      t.timestamps_with_timezone null: false
-      t.text :role, limit: 100,
-        null: false
-      t.text :content, limit: 16384,
-        null: true
-      t.text :async_errors, array: true, null: false, default: []
-
-      t.index [:user_id, :project_id, :created_at],
-        name: :index_ci_editor_ai_messages_on_user_project_and_created_at
-
-      t.index :project_id,
-        name: :index_ci_editor_ai_messages_project_id
-
-      t.index :created_at,
-        name: :index_ci_editor_ai_messages_created_at
-    end
-  end
-
-  def down
-    drop_table :ci_editor_ai_conversation_messages
-  end
-end
diff --git a/db/migrate/20230421035557_create_note_metadata.rb b/db/migrate/20230421035557_create_note_metadata.rb
deleted file mode 100644
index fd15d8510d16a..0000000000000
--- a/db/migrate/20230421035557_create_note_metadata.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateNoteMetadata < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    create_table :note_metadata, id: false do |t|
-      t.references :note,
-        primary_key: true,
-        null: false,
-        type: :bigint,
-        index: true,
-        foreign_key: { on_delete: :cascade }
-      t.text :email_participant, null: true, limit: 255
-      t.timestamps_with_timezone null: true
-    end
-  end
-end
diff --git a/db/migrate/20230421081907_add_auth_type_to_jira_tracker_data.rb b/db/migrate/20230421081907_add_auth_type_to_jira_tracker_data.rb
deleted file mode 100644
index 4b2ae667e6982..0000000000000
--- a/db/migrate/20230421081907_add_auth_type_to_jira_tracker_data.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddAuthTypeToJiraTrackerData < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def change
-    add_column :jira_tracker_data, :jira_auth_type, :smallint, default: 0, null: false
-  end
-end
diff --git a/db/migrate/20230421124302_epic_boards_show_colors.rb b/db/migrate/20230421124302_epic_boards_show_colors.rb
deleted file mode 100644
index cfc8e228196c7..0000000000000
--- a/db/migrate/20230421124302_epic_boards_show_colors.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class EpicBoardsShowColors < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :boards_epic_boards, :display_colors, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230421165020_add_ci_max_includes_to_application_settings.rb b/db/migrate/20230421165020_add_ci_max_includes_to_application_settings.rb
deleted file mode 100644
index 9996d3b1654d2..0000000000000
--- a/db/migrate/20230421165020_add_ci_max_includes_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiMaxIncludesToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :ci_max_includes, :integer, default: 150, null: false
-  end
-end
diff --git a/db/migrate/20230424094117_add_read_vulnerability_to_member_roles.rb b/db/migrate/20230424094117_add_read_vulnerability_to_member_roles.rb
deleted file mode 100644
index 4ae4a7f6bffb7..0000000000000
--- a/db/migrate/20230424094117_add_read_vulnerability_to_member_roles.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddReadVulnerabilityToMemberRoles < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :member_roles, :read_vulnerability, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230424122236_add_ci_build_id_to_ml_candidate.rb b/db/migrate/20230424122236_add_ci_build_id_to_ml_candidate.rb
deleted file mode 100644
index b777f365242b8..0000000000000
--- a/db/migrate/20230424122236_add_ci_build_id_to_ml_candidate.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiBuildIdToMlCandidate < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :ml_candidates, :ci_build_id, :bigint, null: true
-  end
-end
diff --git a/db/migrate/20230424131551_add_index_on_ci_build_id_to_ml_candidates.rb b/db/migrate/20230424131551_add_index_on_ci_build_id_to_ml_candidates.rb
deleted file mode 100644
index 89e5be7e1c57b..0000000000000
--- a/db/migrate/20230424131551_add_index_on_ci_build_id_to_ml_candidates.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnCiBuildIdToMlCandidates < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_ml_candidates_on_ci_build_id'
-
-  def up
-    add_concurrent_index :ml_candidates, :ci_build_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :ml_candidates, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230424155321_add_licenses_field_to_package_metadata_packages.rb b/db/migrate/20230424155321_add_licenses_field_to_package_metadata_packages.rb
deleted file mode 100644
index 99a8f5633dd28..0000000000000
--- a/db/migrate/20230424155321_add_licenses_field_to_package_metadata_packages.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddLicensesFieldToPackageMetadataPackages < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :pm_packages, :licenses, :jsonb, null: true
-  end
-end
diff --git a/db/migrate/20230424194721_add_tofa_application_settings.rb b/db/migrate/20230424194721_add_tofa_application_settings.rb
deleted file mode 100644
index c39e85a1a870c..0000000000000
--- a/db/migrate/20230424194721_add_tofa_application_settings.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class AddTofaApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    change_table(:application_settings, bulk: true) do |t|
-      t.column :encrypted_tofa_credentials, :binary
-      t.column :encrypted_tofa_credentials_iv, :binary
-      t.column :encrypted_tofa_host, :binary
-      t.column :encrypted_tofa_host_iv, :binary
-      t.column :encrypted_tofa_url, :binary
-      t.column :encrypted_tofa_url_iv, :binary
-      t.column :encrypted_tofa_response_json_keys, :binary
-      t.column :encrypted_tofa_response_json_keys_iv, :binary
-      t.column :encrypted_tofa_request_json_keys, :binary
-      t.column :encrypted_tofa_request_json_keys_iv, :binary
-      t.column :encrypted_tofa_request_payload, :binary
-      t.column :encrypted_tofa_request_payload_iv, :binary
-      t.column :encrypted_tofa_client_library_class, :binary
-      t.column :encrypted_tofa_client_library_class_iv, :binary
-      t.column :encrypted_tofa_client_library_args, :binary
-      t.column :encrypted_tofa_client_library_args_iv, :binary
-      t.column :encrypted_tofa_client_library_create_credentials_method, :binary
-      t.column :encrypted_tofa_client_library_create_credentials_method_iv, :binary
-      t.column :encrypted_tofa_client_library_fetch_access_token_method, :binary
-      t.column :encrypted_tofa_client_library_fetch_access_token_method_iv, :binary
-      t.column :encrypted_tofa_access_token_expires_in, :binary
-      t.column :encrypted_tofa_access_token_expires_in_iv, :binary
-    end
-  end
-end
diff --git a/db/migrate/20230425101542_remove_create_cross_project_pipeline_worker_job_instances.rb b/db/migrate/20230425101542_remove_create_cross_project_pipeline_worker_job_instances.rb
deleted file mode 100644
index cf91b2a52d47e..0000000000000
--- a/db/migrate/20230425101542_remove_create_cross_project_pipeline_worker_job_instances.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveCreateCrossProjectPipelineWorkerJobInstances < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/9566
-  end
-
-  def down
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/9566
-  end
-end
diff --git a/db/migrate/20230425173111_create_merge_request_diff_llm_summary.rb b/db/migrate/20230425173111_create_merge_request_diff_llm_summary.rb
deleted file mode 100644
index f37459d764e54..0000000000000
--- a/db/migrate/20230425173111_create_merge_request_diff_llm_summary.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateMergeRequestDiffLlmSummary < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = "index_merge_request_diff_llm_summaries_on_mr_diff_id"
-
-  def change
-    create_table :merge_request_diff_llm_summaries do |t|
-      t.bigint :user_id, null: true, index: true
-      t.bigint :merge_request_diff_id, null: false, index:
-        { name: INDEX_NAME }
-      t.timestamps_with_timezone null: false
-      t.integer :provider, null: false, limit: 2
-      t.text :content, null: false, limit: 2056
-    end
-  end
-end
diff --git a/db/migrate/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal.rb b/db/migrate/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal.rb
deleted file mode 100644
index ca56d4ac264ca..0000000000000
--- a/db/migrate/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class FixImportSourcesOnApplicationSettingsAfterPhabricatorRemoval < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class ApplicationSetting < MigrationRecord
-  end
-
-  def up
-    sources = ApplicationSetting.last&.import_sources
-
-    return unless sources.is_a?(String)
-    return if sources.start_with?('---')
-
-    sources = YAML.safe_load(sources)
-
-    ApplicationSetting.update_all(import_sources: sources.to_yaml)
-  end
-
-  def down; end
-end
diff --git a/db/migrate/20230426161259_add_user_foreign_key_to_merge_request_diff_llm_summary.rb b/db/migrate/20230426161259_add_user_foreign_key_to_merge_request_diff_llm_summary.rb
deleted file mode 100644
index 64277833c76c7..0000000000000
--- a/db/migrate/20230426161259_add_user_foreign_key_to_merge_request_diff_llm_summary.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddUserForeignKeyToMergeRequestDiffLlmSummary < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :merge_request_diff_llm_summaries, :users, column: :user_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :merge_request_diff_llm_summaries, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230426161341_add_merge_request_diff_foreign_key_to_merge_request_diff_llm_summary.rb b/db/migrate/20230426161341_add_merge_request_diff_foreign_key_to_merge_request_diff_llm_summary.rb
deleted file mode 100644
index c589717f0a2ef..0000000000000
--- a/db/migrate/20230426161341_add_merge_request_diff_foreign_key_to_merge_request_diff_llm_summary.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddMergeRequestDiffForeignKeyToMergeRequestDiffLlmSummary < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :merge_request_diff_llm_summaries, :merge_request_diffs, column: :merge_request_diff_id,
-      on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :merge_request_diff_llm_summaries, column: :merge_request_diff_id
-    end
-  end
-end
diff --git a/db/migrate/20230427065641_initialize_conversion_of_ci_pipeline_variables.rb b/db/migrate/20230427065641_initialize_conversion_of_ci_pipeline_variables.rb
deleted file mode 100644
index 1c986dee3d238..0000000000000
--- a/db/migrate/20230427065641_initialize_conversion_of_ci_pipeline_variables.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class InitializeConversionOfCiPipelineVariables < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE = :ci_pipeline_variables
-  COLUMNS = %i[id]
-
-  def up
-    initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/migrate/20230427094534_create_analytics_value_stream_dashboard_aggregations.rb b/db/migrate/20230427094534_create_analytics_value_stream_dashboard_aggregations.rb
deleted file mode 100644
index fd6528790ca7a..0000000000000
--- a/db/migrate/20230427094534_create_analytics_value_stream_dashboard_aggregations.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAnalyticsValueStreamDashboardAggregations < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :value_stream_dashboard_aggregations, id: false do |t|
-      t.references :namespace, primary_key: true, null: false, index: false, foreign_key: { on_delete: :cascade }
-      t.datetime_with_timezone :last_run_at
-      t.boolean :enabled, null: false, default: true
-
-      t.index [:last_run_at, :namespace_id], where: 'enabled IS TRUE',
-        name: 'index_on_value_stream_dashboard_aggregations_last_run_at_id'
-    end
-  end
-end
diff --git a/db/migrate/20230428070443_add_allow_account_deletion_to_application_settings.rb b/db/migrate/20230428070443_add_allow_account_deletion_to_application_settings.rb
deleted file mode 100644
index 1731d91eb5cda..0000000000000
--- a/db/migrate/20230428070443_add_allow_account_deletion_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddAllowAccountDeletionToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :allow_account_deletion, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230428101217_create_abuse_report_events.rb b/db/migrate/20230428101217_create_abuse_report_events.rb
deleted file mode 100644
index 78395955eaf17..0000000000000
--- a/db/migrate/20230428101217_create_abuse_report_events.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAbuseReportEvents < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :abuse_report_events do |t|
-      t.bigint :abuse_report_id, null: false, index: true
-      t.bigint :user_id, index: true
-      t.datetime_with_timezone :created_at, null: false
-      t.integer :action, limit: 2, null: false, default: 1
-      t.integer :reason, limit: 2
-      t.text :comment, limit: 1024
-    end
-  end
-end
diff --git a/db/migrate/20230428134334_delete_create_cross_project_pipeline_worker_job_instances.rb b/db/migrate/20230428134334_delete_create_cross_project_pipeline_worker_job_instances.rb
deleted file mode 100644
index 517f85c0c1f7b..0000000000000
--- a/db/migrate/20230428134334_delete_create_cross_project_pipeline_worker_job_instances.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteCreateCrossProjectPipelineWorkerJobInstances < Gitlab::Database::Migration[2.1]
-  DEPRECATED_JOB_CLASSES = %w[
-    CreateCrossProjectPipelineWorker
-  ]
-
-  disable_ddl_transaction!
-  def up
-    sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES)
-  end
-
-  def down
-    # This migration removes any instances of deprecated workers and cannot be undone.
-  end
-end
diff --git a/db/migrate/20230428165514_add_type_to_http_integrations.rb b/db/migrate/20230428165514_add_type_to_http_integrations.rb
deleted file mode 100644
index b799b35fbbd84..0000000000000
--- a/db/migrate/20230428165514_add_type_to_http_integrations.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddTypeToHttpIntegrations < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :alert_management_http_integrations, :type_identifier, :integer, default: 0, null: false, limit: 2
-  end
-end
diff --git a/db/migrate/20230501111636_add_users_fk_to_abuse_report_events.rb b/db/migrate/20230501111636_add_users_fk_to_abuse_report_events.rb
deleted file mode 100644
index d721bc6bc7c2a..0000000000000
--- a/db/migrate/20230501111636_add_users_fk_to_abuse_report_events.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddUsersFkToAbuseReportEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :abuse_report_events,
-      :users,
-      column: :user_id,
-      on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :abuse_report_events, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230501163253_add_remember_me_enabled_to_application_settings.rb b/db/migrate/20230501163253_add_remember_me_enabled_to_application_settings.rb
deleted file mode 100644
index 40c4ccd9f26f2..0000000000000
--- a/db/migrate/20230501163253_add_remember_me_enabled_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddRememberMeEnabledToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :remember_me_enabled, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230502083003_add_abuse_reports_fk_to_abuse_report_events.rb b/db/migrate/20230502083003_add_abuse_reports_fk_to_abuse_report_events.rb
deleted file mode 100644
index 3b71867f337fe..0000000000000
--- a/db/migrate/20230502083003_add_abuse_reports_fk_to_abuse_report_events.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddAbuseReportsFkToAbuseReportEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :abuse_report_events,
-      :abuse_reports,
-      column: :abuse_report_id,
-      on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :abuse_report_events, column: :abuse_report_id
-    end
-  end
-end
diff --git a/db/migrate/20230503100753_add_version_format_and_data_type_to_checkpoints.rb b/db/migrate/20230503100753_add_version_format_and_data_type_to_checkpoints.rb
deleted file mode 100644
index 97a0541cdb51c..0000000000000
--- a/db/migrate/20230503100753_add_version_format_and_data_type_to_checkpoints.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddVersionFormatAndDataTypeToCheckpoints < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    add_column(:pm_checkpoints, :data_type, :integer, limit: 2, default: 1, null: false)
-    add_column(:pm_checkpoints, :version_format, :integer, limit: 2, default: 1, null: false)
-    add_index(:pm_checkpoints, [:purl_type, :data_type, :version_format], unique: true, name: :pm_checkpoints_unique_index) # rubocop:disable Migration/AddIndex
-    swap_primary_key(:pm_checkpoints, :pm_checkpoints_pkey, :pm_checkpoints_unique_index)
-  end
-
-  def down
-    add_index(:pm_checkpoints, [:purl_type], unique: true, name: :pm_checkpoints_unique_index) # rubocop:disable Migration/AddIndex
-    unswap_primary_key(:pm_checkpoints, :pm_checkpoints_pkey, :pm_checkpoints_unique_index)
-    remove_column(:pm_checkpoints, :version_format)
-    remove_column(:pm_checkpoints, :data_type)
-  end
-end
diff --git a/db/migrate/20230503191056_add_text_limit_to_packages_npm_metadata_caches_object_storage_key.rb b/db/migrate/20230503191056_add_text_limit_to_packages_npm_metadata_caches_object_storage_key.rb
deleted file mode 100644
index b2759a3080943..0000000000000
--- a/db/migrate/20230503191056_add_text_limit_to_packages_npm_metadata_caches_object_storage_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToPackagesNpmMetadataCachesObjectStorageKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :packages_npm_metadata_caches, :object_storage_key, 255
-  end
-
-  def down
-    remove_text_limit :packages_npm_metadata_caches, :object_storage_key
-  end
-end
diff --git a/db/migrate/20230504084524_remove_gitlab_import_source.rb b/db/migrate/20230504084524_remove_gitlab_import_source.rb
deleted file mode 100644
index 287b1cd3139f2..0000000000000
--- a/db/migrate/20230504084524_remove_gitlab_import_source.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveGitlabImportSource < Gitlab::Database::Migration[2.1]
-  include Gitlab::Utils::StrongMemoize
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class ApplicationSetting < MigrationRecord
-  end
-
-  def up
-    return if import_sources.empty?
-
-    new_sources = import_sources - ['gitlab']
-
-    ApplicationSetting.update_all(import_sources: new_sources.to_yaml)
-  end
-
-  def down
-    ## a reversion is not needed as the Gitlab.com importer is no longer
-    #  a supported import source. Attempting to save it as one will result
-    # in an ActiveRecord error.
-  end
-
-  def import_sources
-    ## the last ApplicationSetting record is used to determine application settings
-    import_sources = ApplicationSetting.last&.import_sources
-    import_sources.nil? ? [] : YAML.safe_load(import_sources)
-  end
-  strong_memoize_attr(:import_sources)
-end
diff --git a/db/migrate/20230504112809_add_anthropic_api_key_application_setting.rb b/db/migrate/20230504112809_add_anthropic_api_key_application_setting.rb
deleted file mode 100644
index aacb26643b9e7..0000000000000
--- a/db/migrate/20230504112809_add_anthropic_api_key_application_setting.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddAnthropicApiKeyApplicationSetting < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :encrypted_anthropic_api_key, :binary
-    add_column :application_settings, :encrypted_anthropic_api_key_iv, :binary
-  end
-end
diff --git a/db/migrate/20230504182314_add_pa_configurator_base_to_project_settings.rb b/db/migrate/20230504182314_add_pa_configurator_base_to_project_settings.rb
deleted file mode 100644
index a633f904692fc..0000000000000
--- a/db/migrate/20230504182314_add_pa_configurator_base_to_project_settings.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class AddPaConfiguratorBaseToProjectSettings < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-  def up
-    add_column :project_settings, :encrypted_product_analytics_configurator_connection_string, :binary
-    add_column :project_settings, :encrypted_product_analytics_configurator_connection_string_iv, :binary
-  end
-
-  def down
-    remove_column :project_settings, :encrypted_product_analytics_configurator_connection_string
-    remove_column :project_settings, :encrypted_product_analytics_configurator_connection_string_iv
-  end
-end
diff --git a/db/migrate/20230505115558_add_authors_and_description_to_nuget_metadatum.rb b/db/migrate/20230505115558_add_authors_and_description_to_nuget_metadatum.rb
deleted file mode 100644
index 366cd2151fd13..0000000000000
--- a/db/migrate/20230505115558_add_authors_and_description_to_nuget_metadatum.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class AddAuthorsAndDescriptionToNugetMetadatum < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      add_column :packages_nuget_metadata, :authors, :text, if_not_exists: true
-      add_column :packages_nuget_metadata, :description, :text, if_not_exists: true
-    end
-
-    add_text_limit :packages_nuget_metadata, :authors, 255
-    add_text_limit :packages_nuget_metadata, :description, 4000
-  end
-
-  def down
-    with_lock_retries do
-      remove_column :packages_nuget_metadata, :authors, if_exists: true
-      remove_column :packages_nuget_metadata, :description, if_exists: true
-    end
-  end
-end
diff --git a/db/migrate/20230505122015_add_lock_version_to_milestones.rb b/db/migrate/20230505122015_add_lock_version_to_milestones.rb
deleted file mode 100644
index f8e34426c39d4..0000000000000
--- a/db/migrate/20230505122015_add_lock_version_to_milestones.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddLockVersionToMilestones < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :milestones, :lock_version, :integer, null: false, default: 0
-  end
-end
diff --git a/db/migrate/20230507192028_create_audit_events_google_cloud_logging_configurations.rb b/db/migrate/20230507192028_create_audit_events_google_cloud_logging_configurations.rb
deleted file mode 100644
index 1a32367382aef..0000000000000
--- a/db/migrate/20230507192028_create_audit_events_google_cloud_logging_configurations.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAuditEventsGoogleCloudLoggingConfigurations < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  UNIQUE_INDEX_NAME = "unique_google_cloud_logging_configurations_on_namespace_id"
-
-  # rubocop:disable Migration/AddLimitToTextColumns
-  def change
-    create_table :audit_events_google_cloud_logging_configurations do |t|
-      t.references :namespace, index: false, null: false, foreign_key: { on_delete: :cascade }
-      t.timestamps_with_timezone null: false
-      t.text :google_project_id_name, null: false, limit: 30
-      t.text :client_email, null: false, limit: 254
-      t.text :log_id_name, default: "audit_events", limit: 511
-      t.binary :encrypted_private_key, null: false
-      t.binary :encrypted_private_key_iv, null: false
-
-      t.index [:namespace_id, :google_project_id_name, :log_id_name], unique: true, name: UNIQUE_INDEX_NAME
-    end
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-end
diff --git a/db/migrate/20230508074515_add_google_cloud_logging_configuration_limit_to_plan_limits.rb b/db/migrate/20230508074515_add_google_cloud_logging_configuration_limit_to_plan_limits.rb
deleted file mode 100644
index a3a54fb55eadf..0000000000000
--- a/db/migrate/20230508074515_add_google_cloud_logging_configuration_limit_to_plan_limits.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddGoogleCloudLoggingConfigurationLimitToPlanLimits < Gitlab::Database::Migration[2.1]
-  def change
-    add_column(:plan_limits, :google_cloud_logging_configurations, :integer, default: 5, null: false)
-  end
-end
diff --git a/db/migrate/20230508095017_add_project_shortcut_buttons_to_user_preferences.rb b/db/migrate/20230508095017_add_project_shortcut_buttons_to_user_preferences.rb
deleted file mode 100644
index e68148e17a5ce..0000000000000
--- a/db/migrate/20230508095017_add_project_shortcut_buttons_to_user_preferences.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddProjectShortcutButtonsToUserPreferences < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :project_shortcut_buttons, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb b/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb
deleted file mode 100644
index b7202521fce02..0000000000000
--- a/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClearSharedRunnersMinutesWorkerJobInstances < Gitlab::Database::Migration[2.1]
-  DEPRECATED_JOB_CLASSES = %w[
-    ClearSharedRunnersMinutesWorker
-    Ci::BatchResetMinutesWorker
-  ]
-  disable_ddl_transaction!
-  def up
-    sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES)
-  end
-
-  def down; end
-end
diff --git a/db/migrate/20230509072635_drop_unused_sequence_by_recreating_vsa_table.rb b/db/migrate/20230509072635_drop_unused_sequence_by_recreating_vsa_table.rb
deleted file mode 100644
index d1abc9bbda71b..0000000000000
--- a/db/migrate/20230509072635_drop_unused_sequence_by_recreating_vsa_table.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class DropUnusedSequenceByRecreatingVsaTable < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    # dropping is OK since we re-add the table in the same transaction
-    drop_table :value_stream_dashboard_aggregations, if_exists: true # rubocop: disable Migration/DropTable
-    create_table :value_stream_dashboard_aggregations, id: false do |t|
-      # Note: default: nil will prevent SEQUENCE creation
-      t.references :namespace, primary_key: true, null: false, index: false, foreign_key: { on_delete: :cascade },
-        default: nil
-      t.datetime_with_timezone :last_run_at
-      t.boolean :enabled, null: false, default: true
-
-      t.index [:last_run_at, :namespace_id], where: 'enabled IS TRUE',
-        name: 'index_on_value_stream_dashboard_aggregations_last_run_at_id'
-    end
-  end
-
-  def down
-    # no-op, we don't want to restore the sequence
-  end
-end
diff --git a/db/migrate/20230509085428_change_organizations_sequence.rb b/db/migrate/20230509085428_change_organizations_sequence.rb
deleted file mode 100644
index 59ec8c6e1ea78..0000000000000
--- a/db/migrate/20230509085428_change_organizations_sequence.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeOrganizationsSequence < Gitlab::Database::Migration[2.1]
-  def up
-    # Modify sequence for organizations.id so id '1' is never automatically taken
-    execute "ALTER SEQUENCE organizations_id_seq START WITH 1000 MINVALUE 1000 RESTART"
-  end
-
-  def down
-    execute "ALTER SEQUENCE organizations_id_seq START WITH 1 MINVALUE 1"
-  end
-end
diff --git a/db/migrate/20230509115525_add_name_to_organization.rb b/db/migrate/20230509115525_add_name_to_organization.rb
deleted file mode 100644
index d77fa84a70c9f..0000000000000
--- a/db/migrate/20230509115525_add_name_to_organization.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-# rubocop:disable Migration/AddLimitToTextColumns, Migration/AddIndex
-# limit is added in 20230515111314_add_text_limit_on_organization_name.rb
-class AddNameToOrganization < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'unique_organizations_on_name_lower'
-
-  def up
-    add_column :organizations, :name, :text, null: false, default: ''
-
-    add_index :organizations, 'lower(name)', name: INDEX_NAME, unique: true
-  end
-
-  def down
-    remove_column :organizations, :name, if_exists: true
-  end
-end
-# rubocop:enable Migration/AddLimitToTextColumns, Migration/AddIndex
diff --git a/db/migrate/20230509131736_add_default_organization.rb b/db/migrate/20230509131736_add_default_organization.rb
deleted file mode 100644
index a63e7171f5398..0000000000000
--- a/db/migrate/20230509131736_add_default_organization.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddDefaultOrganization < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class Organization < MigrationRecord
-  end
-
-  def up
-    Organization.create(id: 1, name: 'Default')
-  end
-
-  def down
-    Organization.where(id: 1).delete_all
-  end
-end
diff --git a/db/migrate/20230509144234_delete_drop_older_deployments_worker_queues.rb b/db/migrate/20230509144234_delete_drop_older_deployments_worker_queues.rb
deleted file mode 100644
index b6e3046e44649..0000000000000
--- a/db/migrate/20230509144234_delete_drop_older_deployments_worker_queues.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteDropOlderDeploymentsWorkerQueues < Gitlab::Database::Migration[2.1]
-  DEPRECATED_JOB_CLASSES = %w[
-    Deployments::DropOlderDeploymentsWorker
-  ]
-
-  disable_ddl_transaction!
-  def up
-    sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES)
-  end
-
-  def down
-    # This migration removes any instances of deprecated workers and cannot be undone.
-  end
-end
diff --git a/db/migrate/20230510141454_add_user_id_to_import_failures.rb b/db/migrate/20230510141454_add_user_id_to_import_failures.rb
deleted file mode 100644
index 9268ed045ed64..0000000000000
--- a/db/migrate/20230510141454_add_user_id_to_import_failures.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddUserIdToImportFailures < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :import_failures, :user_id, :bigint
-  end
-end
diff --git a/db/migrate/20230510142316_add_index_on_user_id_to_import_failures.rb b/db/migrate/20230510142316_add_index_on_user_id_to_import_failures.rb
deleted file mode 100644
index 6c11f4dda47bb..0000000000000
--- a/db/migrate/20230510142316_add_index_on_user_id_to_import_failures.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnUserIdToImportFailures < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_import_failures_on_user_id_not_null'
-
-  def up
-    add_concurrent_index :import_failures, :user_id, where: 'user_id IS NOT NULL', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :import_failures, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230510142931_add_foreign_key_for_user_id_to_import_failures.rb b/db/migrate/20230510142931_add_foreign_key_for_user_id_to_import_failures.rb
deleted file mode 100644
index 301a23067e112..0000000000000
--- a/db/migrate/20230510142931_add_foreign_key_for_user_id_to_import_failures.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyForUserIdToImportFailures < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :import_failures, :users, column: :user_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :import_failures, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230512141931_add_group_id_to_dependency_list_exports.rb b/db/migrate/20230512141931_add_group_id_to_dependency_list_exports.rb
deleted file mode 100644
index ed4245694d40d..0000000000000
--- a/db/migrate/20230512141931_add_group_id_to_dependency_list_exports.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddGroupIdToDependencyListExports < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :dependency_list_exports, :group_id, :bigint
-  end
-end
diff --git a/db/migrate/20230515111314_add_text_limit_on_organization_name.rb b/db/migrate/20230515111314_add_text_limit_on_organization_name.rb
deleted file mode 100644
index c0b687fab94c4..0000000000000
--- a/db/migrate/20230515111314_add_text_limit_on_organization_name.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitOnOrganizationName < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :organizations, :name, 255
-  end
-
-  def down
-    remove_text_limit :organizations, :name
-  end
-end
diff --git a/db/migrate/20230516044606_add_organization_id_to_namespace.rb b/db/migrate/20230516044606_add_organization_id_to_namespace.rb
deleted file mode 100644
index e70ddce197bf4..0000000000000
--- a/db/migrate/20230516044606_add_organization_id_to_namespace.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddOrganizationIdToNamespace < Gitlab::Database::Migration[2.1]
-  def change
-    # no-op
-  end
-end
diff --git a/db/migrate/20230516045238_track_organization_record_changes.rb b/db/migrate/20230516045238_track_organization_record_changes.rb
deleted file mode 100644
index 90290160d055c..0000000000000
--- a/db/migrate/20230516045238_track_organization_record_changes.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class TrackOrganizationRecordChanges < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230516045442_prepare_index_for_org_id_on_namespaces.rb b/db/migrate/20230516045442_prepare_index_for_org_id_on_namespaces.rb
deleted file mode 100644
index 629dc86caead6..0000000000000
--- a/db/migrate/20230516045442_prepare_index_for_org_id_on_namespaces.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareIndexForOrgIdOnNamespaces < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230516072100_add_vertex_project_to_application_settings.rb b/db/migrate/20230516072100_add_vertex_project_to_application_settings.rb
deleted file mode 100644
index 153c2c62609e5..0000000000000
--- a/db/migrate/20230516072100_add_vertex_project_to_application_settings.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddVertexProjectToApplicationSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_column :application_settings, :vertex_project, :text, if_not_exists: true
-    add_text_limit :application_settings, :vertex_project, 255
-  end
-
-  def down
-    remove_text_limit :application_settings, :vertex_project
-    remove_column :application_settings, :vertex_project, if_exists: true
-  end
-end
diff --git a/db/migrate/20230516080816_replace_vsd_index_with_nulls_first_order.rb b/db/migrate/20230516080816_replace_vsd_index_with_nulls_first_order.rb
deleted file mode 100644
index dcc8bd5972ecc..0000000000000
--- a/db/migrate/20230516080816_replace_vsd_index_with_nulls_first_order.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceVsdIndexWithNullsFirstOrder < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  OLD_INDEX = 'index_on_value_stream_dashboard_aggregations_last_run_at_id'
-  NEW_INDEX = 'index_on_value_stream_dashboard_aggregations_last_run_at_and_id'
-
-  def up
-    add_concurrent_index :value_stream_dashboard_aggregations,
-      [:last_run_at, :namespace_id],
-      where: 'enabled IS TRUE',
-      name: NEW_INDEX,
-      order: { last_run_at: 'ASC NULLS FIRST' }
-    remove_concurrent_index_by_name :value_stream_dashboard_aggregations, OLD_INDEX
-  end
-
-  def down
-    add_concurrent_index :value_stream_dashboard_aggregations,
-      [:last_run_at, :namespace_id],
-      where: 'enabled IS TRUE',
-      name: OLD_INDEX
-    remove_concurrent_index_by_name :value_stream_dashboard_aggregations, NEW_INDEX
-  end
-end
diff --git a/db/migrate/20230516110414_add_ml_model_max_file_size_to_plan_limits.rb b/db/migrate/20230516110414_add_ml_model_max_file_size_to_plan_limits.rb
deleted file mode 100644
index 938536dc4bc9a..0000000000000
--- a/db/migrate/20230516110414_add_ml_model_max_file_size_to_plan_limits.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddMlModelMaxFileSizeToPlanLimits < Gitlab::Database::Migration[2.1]
-  def change
-    add_column(:plan_limits, :ml_model_max_file_size, :bigint, default: 10.gigabytes, null: false)
-  end
-end
diff --git a/db/migrate/20230516115259_increase_correlation_id_size_limit_in_abuse_trust_scores.rb b/db/migrate/20230516115259_increase_correlation_id_size_limit_in_abuse_trust_scores.rb
deleted file mode 100644
index 03a05ce0d4bca..0000000000000
--- a/db/migrate/20230516115259_increase_correlation_id_size_limit_in_abuse_trust_scores.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class IncreaseCorrelationIdSizeLimitInAbuseTrustScores < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    constraint_correlation_id = check_constraint_name('abuse_trust_scores', 'correlation_id_value', 'max_length')
-    remove_check_constraint(:abuse_trust_scores, constraint_correlation_id)
-    add_check_constraint(:abuse_trust_scores, 'char_length(correlation_id_value) <= 255', constraint_correlation_id)
-  end
-
-  def down
-    constraint_correlation_id = check_constraint_name('abuse_trust_scores', 'correlation_id_value', 'max_length')
-    remove_check_constraint(:abuse_trust_scores, constraint_correlation_id)
-    add_check_constraint(:abuse_trust_scores, 'char_length(correlation_id_value) <= 32', constraint_correlation_id)
-  end
-end
diff --git a/db/migrate/20230516125656_create_dependency_proxy_packages_settings.rb b/db/migrate/20230516125656_create_dependency_proxy_packages_settings.rb
deleted file mode 100644
index 19d6066aef543..0000000000000
--- a/db/migrate/20230516125656_create_dependency_proxy_packages_settings.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDependencyProxyPackagesSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = :dependency_proxy_packages_settings
-
-  def up
-    with_lock_retries do
-      create_table TABLE_NAME, id: false, if_not_exists: true do |t|
-        t.timestamps_with_timezone null: false
-
-        t.references :project,
-          primary_key: true,
-          default: nil,
-          index: false,
-          foreign_key: { to_table: :projects, on_delete: :cascade }
-
-        t.boolean :enabled, default: false
-        t.text :maven_external_registry_url, null: true, limit: 255
-        t.binary :encrypted_maven_external_registry_username, null: true
-        t.binary :encrypted_maven_external_registry_username_iv, null: true
-        t.binary :encrypted_maven_external_registry_password, null: true
-        t.binary :encrypted_maven_external_registry_password_iv, null: true
-      end
-    end
-
-    constraint = check_constraint_name(TABLE_NAME.to_s, 'encrypted_maven_external_registry_username', 'max_length')
-    add_check_constraint(TABLE_NAME, 'octet_length(encrypted_maven_external_registry_username) <= 1020', constraint)
-
-    constraint = check_constraint_name(TABLE_NAME.to_s, 'encrypted_maven_external_registry_username_iv', 'max_length')
-    add_check_constraint(TABLE_NAME, 'octet_length(encrypted_maven_external_registry_username_iv) <= 1020', constraint)
-
-    constraint = check_constraint_name(TABLE_NAME.to_s, 'encrypted_maven_external_registry_password', 'max_length')
-    add_check_constraint(TABLE_NAME, 'octet_length(encrypted_maven_external_registry_password) <= 1020', constraint)
-
-    constraint = check_constraint_name(TABLE_NAME.to_s, 'encrypted_maven_external_registry_password_iv', 'max_length')
-    add_check_constraint(TABLE_NAME, 'octet_length(encrypted_maven_external_registry_password_iv) <= 1020', constraint)
-
-    constraint = check_constraint_name(TABLE_NAME.to_s, 'maven_credentials', 'set_or_empty')
-    add_check_constraint(
-      TABLE_NAME,
-      '(num_nulls(encrypted_maven_external_registry_username, encrypted_maven_external_registry_password) = 0)
-       OR
-       (num_nulls(encrypted_maven_external_registry_username, encrypted_maven_external_registry_password) = 2)',
-      constraint
-    )
-  end
-
-  def down
-    drop_table TABLE_NAME
-  end
-end
diff --git a/db/migrate/20230516175449_create_instance_audit_events_streaming_headers.rb b/db/migrate/20230516175449_create_instance_audit_events_streaming_headers.rb
deleted file mode 100644
index 2fcf583c3ce35..0000000000000
--- a/db/migrate/20230516175449_create_instance_audit_events_streaming_headers.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class CreateInstanceAuditEventsStreamingHeaders < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'idx_headers_instance_external_audit_event_destination_id'
-  UNIQ_INDEX_NAME = 'idx_instance_external_audit_event_destination_id_key_uniq'
-
-  def change
-    create_table :instance_audit_events_streaming_headers do |t|
-      t.timestamps_with_timezone null: false
-      t.references :instance_external_audit_event_destination,
-        null: false,
-        index: { name: INDEX_NAME },
-        foreign_key: { to_table: 'audit_events_instance_external_audit_event_destinations', on_delete: :cascade }
-      t.text :key, null: false, limit: 255
-      t.text :value, null: false, limit: 255
-
-      t.index [:instance_external_audit_event_destination_id, :key], unique: true, name: UNIQ_INDEX_NAME
-    end
-  end
-end
diff --git a/db/migrate/20230516183736_add_container_registry_data_repair_worker_max_concurrency_to_application_settings.rb b/db/migrate/20230516183736_add_container_registry_data_repair_worker_max_concurrency_to_application_settings.rb
deleted file mode 100644
index 4f5708d03557a..0000000000000
--- a/db/migrate/20230516183736_add_container_registry_data_repair_worker_max_concurrency_to_application_settings.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class AddContainerRegistryDataRepairWorkerMaxConcurrencyToApplicationSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  CONSTRAINT_NAME = 'app_settings_registry_repair_worker_max_concurrency_positive'
-
-  def up
-    unless column_exists?(:application_settings, :container_registry_data_repair_detail_worker_max_concurrency)
-      add_column :application_settings, :container_registry_data_repair_detail_worker_max_concurrency, :integer,
-        default: 2, null: false
-    end
-
-    add_check_constraint :application_settings,
-      'container_registry_data_repair_detail_worker_max_concurrency >= 0',
-      CONSTRAINT_NAME
-  end
-
-  def down
-    return unless column_exists?(:application_settings, :container_registry_data_repair_detail_worker_max_concurrency)
-
-    remove_check_constraint :application_settings, CONSTRAINT_NAME
-
-    remove_column :application_settings, :container_registry_data_repair_detail_worker_max_concurrency
-  end
-end
diff --git a/db/migrate/20230517090826_add_namespace_aggregation_schedule_lease_duration_to_application_settings.rb b/db/migrate/20230517090826_add_namespace_aggregation_schedule_lease_duration_to_application_settings.rb
deleted file mode 100644
index da7baeb0141c7..0000000000000
--- a/db/migrate/20230517090826_add_namespace_aggregation_schedule_lease_duration_to_application_settings.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddNamespaceAggregationScheduleLeaseDurationToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings,
-      :namespace_aggregation_schedule_lease_duration_in_seconds,
-      :integer,
-      default: 5.minutes,
-      null: false
-  end
-end
diff --git a/db/migrate/20230517151041_add_agent_id_column_to_environments.rb b/db/migrate/20230517151041_add_agent_id_column_to_environments.rb
deleted file mode 100644
index bc042d361bc6b..0000000000000
--- a/db/migrate/20230517151041_add_agent_id_column_to_environments.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddAgentIdColumnToEnvironments < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :environments, :cluster_agent_id, :bigint, null: true
-  end
-end
diff --git a/db/migrate/20230517151141_add_index_to_agent_id_column_environments.rb b/db/migrate/20230517151141_add_index_to_agent_id_column_environments.rb
deleted file mode 100644
index 7a88ea7cfe677..0000000000000
--- a/db/migrate/20230517151141_add_index_to_agent_id_column_environments.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToAgentIdColumnEnvironments < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_environments_cluster_agent_id'
-
-  def up
-    add_concurrent_index :environments, :cluster_agent_id, name: INDEX_NAME, where: 'cluster_agent_id IS NOT NULL'
-  end
-
-  def down
-    remove_concurrent_index_by_name :environments, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230517151241_add_agent_id_foreign_key_to_environments.rb b/db/migrate/20230517151241_add_agent_id_foreign_key_to_environments.rb
deleted file mode 100644
index c12bff0ec4ee1..0000000000000
--- a/db/migrate/20230517151241_add_agent_id_foreign_key_to_environments.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddAgentIdForeignKeyToEnvironments < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :environments, :cluster_agents,
-      column: :cluster_agent_id,
-      on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :environments, column: :cluster_agent_id
-    end
-  end
-end
diff --git a/db/migrate/20230517182802_add_fields_to_abuse_reports.rb b/db/migrate/20230517182802_add_fields_to_abuse_reports.rb
deleted file mode 100644
index dc83e4a1879a1..0000000000000
--- a/db/migrate/20230517182802_add_fields_to_abuse_reports.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class AddFieldsToAbuseReports < Gitlab::Database::Migration[2.1]
-  RESOLVED_BY_INDEX = 'index_abuse_reports_on_resolved_by_id'
-  ASSIGNEE_INDEX = 'index_abuse_reports_on_assignee_id'
-
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      add_column :abuse_reports, :resolved_by_id, :int, null: true
-      add_column :abuse_reports, :assignee_id, :int, null: true
-      add_column :abuse_reports, :mitigation_steps, :text, null: true
-      add_column :abuse_reports, :evidence, :jsonb, null: true
-    end
-
-    add_text_limit :abuse_reports, :mitigation_steps, 1000
-    add_concurrent_index :abuse_reports, :resolved_by_id, name: RESOLVED_BY_INDEX
-    add_concurrent_index :abuse_reports, :assignee_id, name: ASSIGNEE_INDEX
-  end
-
-  def down
-    change_table :abuse_reports do |t|
-      t.remove :resolved_by_id
-      t.remove :assignee_id
-      t.remove :mitigation_steps
-      t.remove :evidence
-    end
-  end
-end
diff --git a/db/migrate/20230517182958_add_foreign_key_constraints_to_abuse_reports.rb b/db/migrate/20230517182958_add_foreign_key_constraints_to_abuse_reports.rb
deleted file mode 100644
index 17507c3ad4657..0000000000000
--- a/db/migrate/20230517182958_add_foreign_key_constraints_to_abuse_reports.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyConstraintsToAbuseReports < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    return if foreign_key_exists?(:abuse_reports, column: :resolved_by_id)
-
-    add_concurrent_foreign_key :abuse_reports, :users,
-      column: :resolved_by_id,
-      null: true,
-      on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :abuse_reports, column: :resolved_by_id
-    end
-  end
-end
diff --git a/db/migrate/20230517183403_add_foreign_key_to_abuse_reports_for_assignee.rb b/db/migrate/20230517183403_add_foreign_key_to_abuse_reports_for_assignee.rb
deleted file mode 100644
index d30133fb3a60a..0000000000000
--- a/db/migrate/20230517183403_add_foreign_key_to_abuse_reports_for_assignee.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyToAbuseReportsForAssignee < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    return if foreign_key_exists?(:abuse_reports, column: :assignee_id)
-
-    add_concurrent_foreign_key :abuse_reports, :users,
-      column: :assignee_id,
-      null: true,
-      on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :abuse_reports, column: :assignee_id
-    end
-  end
-end
diff --git a/db/migrate/20230519103034_truncate_schema_inconsistencies_table.rb b/db/migrate/20230519103034_truncate_schema_inconsistencies_table.rb
deleted file mode 100644
index ddf165ca9919a..0000000000000
--- a/db/migrate/20230519103034_truncate_schema_inconsistencies_table.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class TruncateSchemaInconsistenciesTable < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    truncate_tables!('schema_inconsistencies')
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/migrate/20230519112106_add_diff_column_to_schema_inconsistencies.rb b/db/migrate/20230519112106_add_diff_column_to_schema_inconsistencies.rb
deleted file mode 100644
index 7b42fc233ffeb..0000000000000
--- a/db/migrate/20230519112106_add_diff_column_to_schema_inconsistencies.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class AddDiffColumnToSchemaInconsistencies < Gitlab::Database::Migration[2.1]
-  # rubocop:disable Migration/AddLimitToTextColumns
-  # rubocop:disable Rails/NotNullColumn
-  # limit is added in 20230519135414
-  def change
-    add_column :schema_inconsistencies, :diff, :text, null: false
-  end
-  # rubocop:enable Migration/AddLimitToTextColumns
-  # rubocop:enable Rails/NotNullColumn
-end
diff --git a/db/migrate/20230519135414_add_text_limit_for_diff.rb b/db/migrate/20230519135414_add_text_limit_for_diff.rb
deleted file mode 100644
index 682e28297db80..0000000000000
--- a/db/migrate/20230519135414_add_text_limit_for_diff.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitForDiff < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :schema_inconsistencies, :diff, 6144
-  end
-
-  def down
-    remove_text_limit :schema_inconsistencies, :diff
-  end
-end
diff --git a/db/migrate/20230522103433_remove_git_hub_import_deprecated_workers.rb b/db/migrate/20230522103433_remove_git_hub_import_deprecated_workers.rb
deleted file mode 100644
index 3752836b01806..0000000000000
--- a/db/migrate/20230522103433_remove_git_hub_import_deprecated_workers.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveGitHubImportDeprecatedWorkers < Gitlab::Database::Migration[2.1]
-  DEPRECATED_JOB_CLASSES = %w[
-    Gitlab::GithubImport::ImportPullRequestMergedByWorker
-    Gitlab::GithubImport::ImportPullRequestReviewWorker
-    Gitlab::GithubImport::ImportReleaseAttachmentsWorker
-  ]
-
-  disable_ddl_transaction!
-  def up
-    sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES)
-  end
-
-  def down
-    # This migration removes any instances of deprecated workers and cannot be undone.
-  end
-end
diff --git a/db/migrate/20230522132239_add_model_experiments_access_level_to_project_feature.rb b/db/migrate/20230522132239_add_model_experiments_access_level_to_project_feature.rb
deleted file mode 100644
index a34b8a15521c0..0000000000000
--- a/db/migrate/20230522132239_add_model_experiments_access_level_to_project_feature.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddModelExperimentsAccessLevelToProjectFeature < Gitlab::Database::Migration[2.1]
-  OPERATIONS_DEFAULT_VALUE = 20
-
-  enable_lock_retries!
-
-  def change
-    add_column :project_features,
-      :model_experiments_access_level,
-      :integer,
-      null: false,
-      default: OPERATIONS_DEFAULT_VALUE
-  end
-end
diff --git a/db/migrate/20230522180913_create_abuse_events.rb b/db/migrate/20230522180913_create_abuse_events.rb
deleted file mode 100644
index 8bda96bba50e4..0000000000000
--- a/db/migrate/20230522180913_create_abuse_events.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAbuseEvents < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_abuse_events_on_category_and_source'
-
-  enable_lock_retries!
-
-  def up
-    create_table :abuse_events do |t|
-      t.bigint :user_id, null: true, index: true
-      t.timestamps_with_timezone null: false
-      t.references :abuse_report, foreign_key: true, on_delete: :nullify, null: true, index: true
-      t.integer :source, null: false, limit: 2
-      t.integer :category, null: true, limit: 2
-      t.jsonb :metadata, null: true
-    end
-
-    add_index :abuse_events, [:category, :source], name: INDEX_NAME
-  end
-
-  def down
-    drop_table :abuse_events
-  end
-end
diff --git a/db/migrate/20230522181134_add_foreign_key_constraints_to_abuse_events.rb b/db/migrate/20230522181134_add_foreign_key_constraints_to_abuse_events.rb
deleted file mode 100644
index 98927ad3ec5dd..0000000000000
--- a/db/migrate/20230522181134_add_foreign_key_constraints_to_abuse_events.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyConstraintsToAbuseEvents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :abuse_events, :users, column: :user_id, on_delete: :nullify, null: true
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :abuse_events, column: :user_id
-    end
-  end
-end
diff --git a/db/migrate/20230522210320_add_admin_vulnerability_to_member_roles.rb b/db/migrate/20230522210320_add_admin_vulnerability_to_member_roles.rb
deleted file mode 100644
index f3f68f007dd75..0000000000000
--- a/db/migrate/20230522210320_add_admin_vulnerability_to_member_roles.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddAdminVulnerabilityToMemberRoles < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :member_roles, :admin_vulnerability, :boolean, default: false, null: false
-  end
-end
diff --git a/db/migrate/20230523073455_add_new_async_index_table_name_length_constraint.rb b/db/migrate/20230523073455_add_new_async_index_table_name_length_constraint.rb
deleted file mode 100644
index 96f3cc7372b49..0000000000000
--- a/db/migrate/20230523073455_add_new_async_index_table_name_length_constraint.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddNewAsyncIndexTableNameLengthConstraint < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  CONSTRAINT_NAME = 'check_schema_and_name_length'
-
-  def up
-    add_text_limit :postgres_async_indexes, :table_name, 127, constraint_name: CONSTRAINT_NAME, validate: false
-  end
-
-  def down
-    remove_text_limit :postgres_async_indexes, :table_name, constraint_name: CONSTRAINT_NAME
-  end
-end
diff --git a/db/migrate/20230523074248_validate_async_index_table_name_length_constraint.rb b/db/migrate/20230523074248_validate_async_index_table_name_length_constraint.rb
deleted file mode 100644
index 5b7d74d7db926..0000000000000
--- a/db/migrate/20230523074248_validate_async_index_table_name_length_constraint.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateAsyncIndexTableNameLengthConstraint < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    validate_text_limit :postgres_async_indexes, :table_name, constraint_name: 'check_schema_and_name_length'
-  end
-
-  def down
-    # no-op because we cannot invalidate a constraint
-  end
-end
diff --git a/db/migrate/20230523074517_remove_old_async_index_table_name_length_constraint.rb b/db/migrate/20230523074517_remove_old_async_index_table_name_length_constraint.rb
deleted file mode 100644
index 4d43cbdd03282..0000000000000
--- a/db/migrate/20230523074517_remove_old_async_index_table_name_length_constraint.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveOldAsyncIndexTableNameLengthConstraint < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  OLD_LENGTH_LIMIT = 63
-
-  def up
-    remove_text_limit :postgres_async_indexes, :table_name
-  end
-
-  def down
-    # Remove items that might break the old length validation. (unlikely to happen)
-    define_batchable_model('postgres_async_indexes').each_batch do |indexes|
-      indexes.where('CHAR_LENGTH(table_name) > ?', OLD_LENGTH_LIMIT).delete_all
-    end
-
-    add_text_limit :postgres_async_indexes, :table_name, OLD_LENGTH_LIMIT
-  end
-end
diff --git a/db/migrate/20230523122242_add_encrypted_ai_access_token.rb b/db/migrate/20230523122242_add_encrypted_ai_access_token.rb
deleted file mode 100644
index 66035dc9c02d0..0000000000000
--- a/db/migrate/20230523122242_add_encrypted_ai_access_token.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddEncryptedAiAccessToken < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :encrypted_ai_access_token, :binary
-    add_column :application_settings, :encrypted_ai_access_token_iv, :binary
-  end
-end
diff --git a/db/migrate/20230523125430_add_dismissal_reason_to_vulnerability_read.rb b/db/migrate/20230523125430_add_dismissal_reason_to_vulnerability_read.rb
deleted file mode 100644
index b9e437f01690b..0000000000000
--- a/db/migrate/20230523125430_add_dismissal_reason_to_vulnerability_read.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddDismissalReasonToVulnerabilityRead < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    add_column :vulnerability_reads, :dismissal_reason, :smallint
-  end
-
-  def down
-    remove_column :vulnerability_reads, :dismissal_reason
-  end
-end
diff --git a/db/migrate/20230524012641_add_vertex_ai_host_to_application_settings.rb b/db/migrate/20230524012641_add_vertex_ai_host_to_application_settings.rb
deleted file mode 100644
index 99f178959ee3f..0000000000000
--- a/db/migrate/20230524012641_add_vertex_ai_host_to_application_settings.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddVertexAiHostToApplicationSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      add_column :application_settings, :vertex_ai_host, :text, if_not_exists: true
-    end
-
-    add_text_limit :application_settings, :vertex_ai_host, 255
-  end
-
-  def down
-    remove_text_limit :application_settings, :vertex_ai_host
-
-    with_lock_retries do
-      remove_column :application_settings, :vertex_ai_host, if_exists: true
-    end
-  end
-end
diff --git a/db/migrate/20230524095108_remove_index_on_name_on_organization.rb b/db/migrate/20230524095108_remove_index_on_name_on_organization.rb
deleted file mode 100644
index 216dca1efcdea..0000000000000
--- a/db/migrate/20230524095108_remove_index_on_name_on_organization.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexOnNameOnOrganization < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'unique_organizations_on_name_lower'
-
-  def up
-    remove_concurrent_index_by_name :organizations, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :organizations, 'lower(name)', name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230524142655_add_enabled_zoekt_to_user_preferences.rb b/db/migrate/20230524142655_add_enabled_zoekt_to_user_preferences.rb
deleted file mode 100644
index b92f424d5e112..0000000000000
--- a/db/migrate/20230524142655_add_enabled_zoekt_to_user_preferences.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class AddEnabledZoektToUserPreferences < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_preferences, :enabled_zoekt, :boolean, null: false, default: true
-  end
-end
diff --git a/db/migrate/20230525064706_add_service_desk_enabled_to_service_desk_settings.rb b/db/migrate/20230525064706_add_service_desk_enabled_to_service_desk_settings.rb
deleted file mode 100644
index ed2d679bca5e1..0000000000000
--- a/db/migrate/20230525064706_add_service_desk_enabled_to_service_desk_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddServiceDeskEnabledToServiceDeskSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :service_desk_settings, :service_desk_enabled, :boolean, null: false, default: true
-  end
-end
diff --git a/db/migrate/20230529163335_add_show_in_cli_to_broadcast_message.rb b/db/migrate/20230529163335_add_show_in_cli_to_broadcast_message.rb
deleted file mode 100644
index 3529b3d84e551..0000000000000
--- a/db/migrate/20230529163335_add_show_in_cli_to_broadcast_message.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddShowInCliToBroadcastMessage < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :broadcast_messages, :show_in_cli, :boolean, default: true, null: false
-  end
-end
diff --git a/db/migrate/20230529173607_add_id_column_to_pm_checkpoints.rb b/db/migrate/20230529173607_add_id_column_to_pm_checkpoints.rb
deleted file mode 100644
index 55135211ce850..0000000000000
--- a/db/migrate/20230529173607_add_id_column_to_pm_checkpoints.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddIdColumnToPmCheckpoints < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    add_column(:pm_checkpoints, :id, :bigserial)
-    add_index(:pm_checkpoints, :id, unique: true, name: :pm_checkpoints_unique_index) # rubocop:disable Migration/AddIndex
-    add_index(:pm_checkpoints, [:purl_type, :data_type, :version_format], unique: true, # rubocop:disable Migration/AddIndex
-      name: :pm_checkpoints_path_components)
-    swap_primary_key(:pm_checkpoints, :pm_checkpoints_pkey, :pm_checkpoints_unique_index)
-  end
-
-  def down
-    add_index(:pm_checkpoints, [:purl_type, :data_type, :version_format], unique: true, # rubocop:disable Migration/AddIndex
-      name: :pm_checkpoints_unique_index)
-    remove_index(:pm_checkpoints, name: :pm_checkpoints_path_components) # rubocop:disable Migration/RemoveIndex
-    unswap_primary_key(:pm_checkpoints, :pm_checkpoints_pkey, :pm_checkpoints_unique_index)
-    remove_column(:pm_checkpoints, :id)
-  end
-end
diff --git a/db/migrate/20230529182720_recreate_billable_index.rb b/db/migrate/20230529182720_recreate_billable_index.rb
deleted file mode 100644
index a983dc5f29590..0000000000000
--- a/db/migrate/20230529182720_recreate_billable_index.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class RecreateBillableIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = "index_users_for_active_billable_users"
-
-  def up
-    remove_concurrent_index_by_name :users, INDEX_NAME
-
-    # rubocop:disable Migration/PreventIndexCreation
-    add_concurrent_index :users, :id, name: INDEX_NAME,
-      where: "state = 'active' AND (user_type IN (0, 6, 4, 13)) AND (user_type IN (0, 4, 5))"
-    # rubocop:enable Migration/PreventIndexCreation
-  end
-
-  def down
-    remove_concurrent_index_by_name :users, INDEX_NAME
-
-    add_concurrent_index :users, :id, name: INDEX_NAME,
-      where: "state = 'active' AND (user_type IS NULL OR user_type IN (6, 4, 13)) " \
-             "AND (user_type IS NULL OR user_type IN (4, 5))"
-  end
-end
diff --git a/db/migrate/20230529184716_recreated_activity_index.rb b/db/migrate/20230529184716_recreated_activity_index.rb
deleted file mode 100644
index c5c76b8ec1474..0000000000000
--- a/db/migrate/20230529184716_recreated_activity_index.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class RecreatedActivityIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_users_on_id_and_last_activity_on_for_active_human_service'
-
-  def up
-    remove_concurrent_index_by_name :users, INDEX_NAME
-
-    # rubocop:disable Migration/PreventIndexCreation
-    add_concurrent_index :users, [:id, :last_activity_on],
-      name: INDEX_NAME,
-      where: "state = 'active' AND user_type IN (0, 4)"
-    # rubocop:enable Migration/PreventIndexCreation
-  end
-
-  def down
-    remove_concurrent_index_by_name :users, INDEX_NAME
-
-    add_concurrent_index :users, [:id, :last_activity_on],
-      name: INDEX_NAME,
-      where: "state = 'active' AND ((user_type IS NULL) OR (user_type = 4))"
-  end
-end
diff --git a/db/migrate/20230530003417_rename_tofa_settings.rb b/db/migrate/20230530003417_rename_tofa_settings.rb
deleted file mode 100644
index 2ce88fe85f27e..0000000000000
--- a/db/migrate/20230530003417_rename_tofa_settings.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RenameTofaSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    rename_column_concurrently :application_settings, :encrypted_tofa_credentials, :encrypted_vertex_ai_credentials
-    rename_column_concurrently :application_settings, :encrypted_tofa_credentials_iv,
-      :encrypted_vertex_ai_credentials_iv
-
-    rename_column_concurrently :application_settings, :vertex_project, :vertex_ai_project
-  end
-
-  def down
-    undo_rename_column_concurrently :application_settings, :encrypted_tofa_credentials, :encrypted_vertex_ai_credentials
-    undo_rename_column_concurrently :application_settings, :encrypted_tofa_credentials_iv,
-      :encrypted_vertex_ai_credentials_iv
-
-    undo_rename_column_concurrently :application_settings, :vertex_project, :vertex_ai_project
-  end
-end
diff --git a/db/migrate/20230530112122_add_path_to_organizations.rb b/db/migrate/20230530112122_add_path_to_organizations.rb
deleted file mode 100644
index fbd037f125162..0000000000000
--- a/db/migrate/20230530112122_add_path_to_organizations.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddPathToOrganizations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'unique_organizations_on_path'
-
-  def up
-    # text limit is added in 20230530112602_add_text_limit_on_organization_path
-    add_column :organizations, :path, :text, null: false, default: '', if_not_exists: true # rubocop:disable Migration/AddLimitToTextColumns
-
-    add_concurrent_index :organizations, :path, name: INDEX_NAME, unique: true
-  end
-
-  def down
-    remove_column :organizations, :path, if_exists: true
-  end
-end
diff --git a/db/migrate/20230530112602_add_text_limit_on_organization_path.rb b/db/migrate/20230530112602_add_text_limit_on_organization_path.rb
deleted file mode 100644
index 6eb9105cf976a..0000000000000
--- a/db/migrate/20230530112602_add_text_limit_on_organization_path.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitOnOrganizationPath < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :organizations, :path, 255
-  end
-
-  def down
-    remove_text_limit :organizations, :path
-  end
-end
diff --git a/db/migrate/20230530162437_add_instance_code_suggestion_enabled_to_app_settings.rb b/db/migrate/20230530162437_add_instance_code_suggestion_enabled_to_app_settings.rb
deleted file mode 100644
index 15964ecd592f4..0000000000000
--- a/db/migrate/20230530162437_add_instance_code_suggestion_enabled_to_app_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddInstanceCodeSuggestionEnabledToAppSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :instance_level_code_suggestions_enabled, :boolean, null: false, default: false
-  end
-end
diff --git a/db/migrate/20230531054422_add_index_on_packages_id_id_to_package_build_infos.rb b/db/migrate/20230531054422_add_index_on_packages_id_id_to_package_build_infos.rb
deleted file mode 100644
index 15eac952a88c6..0000000000000
--- a/db/migrate/20230531054422_add_index_on_packages_id_id_to_package_build_infos.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnPackagesIdIdToPackageBuildInfos < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_packages_build_infos_package_id_id'
-
-  def up
-    add_concurrent_index :packages_build_infos, [:package_id, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :packages_build_infos, name: INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230531134916_create_subscription_add_ons.rb b/db/migrate/20230531134916_create_subscription_add_ons.rb
deleted file mode 100644
index 5faee04953403..0000000000000
--- a/db/migrate/20230531134916_create_subscription_add_ons.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class CreateSubscriptionAddOns < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :subscription_add_ons, if_not_exists: true do |t|
-      t.timestamps_with_timezone null: false
-
-      t.integer :name, limit: 2, null: false, index: { unique: true }
-      t.text    :description, null: false, limit: 512
-    end
-  end
-end
diff --git a/db/migrate/20230531135001_create_subscription_add_on_purchases.rb b/db/migrate/20230531135001_create_subscription_add_on_purchases.rb
deleted file mode 100644
index 6fdf1fdd49545..0000000000000
--- a/db/migrate/20230531135001_create_subscription_add_on_purchases.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateSubscriptionAddOnPurchases < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :subscription_add_on_purchases, if_not_exists: true do |t|
-      t.timestamps_with_timezone null: false
-
-      t.bigint  :subscription_add_on_id, null: false
-      t.bigint  :namespace_id, null: false
-      t.integer :quantity, null: false
-      t.date    :expires_on, null: false
-      t.text    :purchase_xid, null: false, limit: 255
-
-      t.index :subscription_add_on_id
-      t.index :namespace_id
-    end
-  end
-end
diff --git a/db/migrate/20230531142032_add_foreign_key_subscription_add_on_id_on_subscription_add_on_purchases.rb b/db/migrate/20230531142032_add_foreign_key_subscription_add_on_id_on_subscription_add_on_purchases.rb
deleted file mode 100644
index 234cd2fa3af3e..0000000000000
--- a/db/migrate/20230531142032_add_foreign_key_subscription_add_on_id_on_subscription_add_on_purchases.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeySubscriptionAddOnIdOnSubscriptionAddOnPurchases < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :subscription_add_on_purchases,
-      :subscription_add_ons,
-      column: :subscription_add_on_id,
-      on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :subscription_add_on_purchases, column: :subscription_add_on_id
-    end
-  end
-end
diff --git a/db/migrate/20230531142053_add_foreign_key_namespace_id_on_subscription_add_on_purchases.rb b/db/migrate/20230531142053_add_foreign_key_namespace_id_on_subscription_add_on_purchases.rb
deleted file mode 100644
index 7f7083a3a9c38..0000000000000
--- a/db/migrate/20230531142053_add_foreign_key_namespace_id_on_subscription_add_on_purchases.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyNamespaceIdOnSubscriptionAddOnPurchases < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :subscription_add_on_purchases, :namespaces, column: :namespace_id, on_delete: :cascade
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :subscription_add_on_purchases, column: :namespace_id
-    end
-  end
-end
diff --git a/db/migrate/20230531164258_add_operator_value_interval_to_scan_result_policies.rb b/db/migrate/20230531164258_add_operator_value_interval_to_scan_result_policies.rb
deleted file mode 100644
index 5110a58f2cd0b..0000000000000
--- a/db/migrate/20230531164258_add_operator_value_interval_to_scan_result_policies.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddOperatorValueIntervalToScanResultPolicies < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  AGE_VALUE_CONSTRAINT = 'age_value_null_or_positive'
-
-  def up
-    add_column(:scan_result_policies, :age_value, :integer)
-    add_column(:scan_result_policies, :age_operator, :integer, limit: 2)
-    add_column(:scan_result_policies, :age_interval, :integer, limit: 2)
-
-    add_check_constraint(:scan_result_policies, 'age_value IS NULL OR age_value >= 0', AGE_VALUE_CONSTRAINT)
-  end
-
-  def down
-    remove_column(:scan_result_policies, :age_value)
-    remove_column(:scan_result_policies, :age_operator)
-    remove_column(:scan_result_policies, :age_interval)
-  end
-end
diff --git a/db/migrate/20230601035558_add_unconfirmed_user_deletion_to_application_settings.rb b/db/migrate/20230601035558_add_unconfirmed_user_deletion_to_application_settings.rb
deleted file mode 100644
index edb9242feaad8..0000000000000
--- a/db/migrate/20230601035558_add_unconfirmed_user_deletion_to_application_settings.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class AddUnconfirmedUserDeletionToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :delete_unconfirmed_users, :boolean, default: false, null: false
-    add_column :application_settings, :unconfirmed_users_delete_after_days, :integer, default: 7, null: false
-  end
-end
diff --git a/db/migrate/20230601084041_add_merge_request_diff_llm_summaries_unique_index.rb b/db/migrate/20230601084041_add_merge_request_diff_llm_summaries_unique_index.rb
deleted file mode 100644
index 6f8afb561e9ed..0000000000000
--- a/db/migrate/20230601084041_add_merge_request_diff_llm_summaries_unique_index.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddMergeRequestDiffLlmSummariesUniqueIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'unique_merge_request_diff_llm_summaries_on_mr_diff_id'
-  OLD_INDEX_NAME = 'index_merge_request_diff_llm_summaries_on_mr_diff_id'
-
-  def up
-    add_concurrent_index :merge_request_diff_llm_summaries, :merge_request_diff_id, name: INDEX_NAME, unique: true
-    remove_concurrent_index_by_name :merge_request_diff_llm_summaries, OLD_INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :merge_request_diff_llm_summaries, :merge_request_diff_id, name: OLD_INDEX_NAME
-    remove_concurrent_index_by_name :merge_request_diff_llm_summaries, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230601085810_create_project_compliance_standards_adherence.rb b/db/migrate/20230601085810_create_project_compliance_standards_adherence.rb
deleted file mode 100644
index eee443332fdec..0000000000000
--- a/db/migrate/20230601085810_create_project_compliance_standards_adherence.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class CreateProjectComplianceStandardsAdherence < Gitlab::Database::Migration[2.1]
-  def change
-    create_table :project_compliance_standards_adherence do |t|
-      t.timestamps_with_timezone null: false
-      t.bigint :project_id, null: false
-      t.bigint :namespace_id, null: false
-      t.integer :status, null: false, limit: 2
-      t.integer :check_name, null: false, limit: 2
-      t.integer :standard, null: false, limit: 2
-
-      t.index :namespace_id
-      t.index :project_id
-      t.index [:project_id, :check_name, :standard], unique: true,
-        name: 'u_project_compliance_standards_adherence_for_reporting'
-    end
-  end
-end
diff --git a/db/migrate/20230601085815_add_fk_to_projects_compliance_standards_adherence_on_project_id.rb b/db/migrate/20230601085815_add_fk_to_projects_compliance_standards_adherence_on_project_id.rb
deleted file mode 100644
index 76970d2f83ef8..0000000000000
--- a/db/migrate/20230601085815_add_fk_to_projects_compliance_standards_adherence_on_project_id.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkToProjectsComplianceStandardsAdherenceOnProjectId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :project_compliance_standards_adherence, :projects, column: :project_id,
-      on_delete: :cascade, reverse_lock_order: true
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :project_compliance_standards_adherence, column: :project_id
-    end
-  end
-end
diff --git a/db/migrate/20230601085820_add_fk_to_projects_compliance_standards_adherence_on_namespace_id.rb b/db/migrate/20230601085820_add_fk_to_projects_compliance_standards_adherence_on_namespace_id.rb
deleted file mode 100644
index fab0c47d26d12..0000000000000
--- a/db/migrate/20230601085820_add_fk_to_projects_compliance_standards_adherence_on_namespace_id.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkToProjectsComplianceStandardsAdherenceOnNamespaceId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :project_compliance_standards_adherence, :namespaces, column: :namespace_id,
-      on_delete: :nullify, reverse_lock_order: true
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :project_compliance_standards_adherence, column: :namespace_id
-    end
-  end
-end
diff --git a/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb b/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb
deleted file mode 100644
index 2ed27ab90e64d..0000000000000
--- a/db/migrate/20230603174306_add_finished_at_column_to_batched_background_migrations_table.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddFinishedAtColumnToBatchedBackgroundMigrationsTable < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :batched_background_migrations, :finished_at, :datetime_with_timezone
-  end
-end
diff --git a/db/migrate/20230605043258_add_unconfirmed_created_at_index_to_users.rb b/db/migrate/20230605043258_add_unconfirmed_created_at_index_to_users.rb
deleted file mode 100644
index bd3a700697207..0000000000000
--- a/db/migrate/20230605043258_add_unconfirmed_created_at_index_to_users.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddUnconfirmedCreatedAtIndexToUsers < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_users_on_unconfirmed_and_created_at_for_active_humans'
-
-  def up
-    # rubocop:disable Migration/PreventIndexCreation
-    add_concurrent_index :users, [:created_at, :id],
-      name: INDEX_NAME,
-      where: "confirmed_at IS NULL AND state = 'active' AND user_type IN (0)"
-    # rubocop:enable Migration/PreventIndexCreation
-  end
-
-  def down
-    remove_concurrent_index_by_name :users, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230605043814_add_trigram_index_for_vulnerability_reads_container_images.rb b/db/migrate/20230605043814_add_trigram_index_for_vulnerability_reads_container_images.rb
deleted file mode 100644
index f614f16dff2d4..0000000000000
--- a/db/migrate/20230605043814_add_trigram_index_for_vulnerability_reads_container_images.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddTrigramIndexForVulnerabilityReadsContainerImages < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_vulnerability_reads_on_location_image_trigram'
-  REPORT_TYPES = { container_scanning: 2, cluster_image_scanning: 7 }.freeze
-
-  def up
-    add_concurrent_index :vulnerability_reads, :location_image,
-      name: INDEX_NAME,
-      using: :gin, opclass: { location_image: :gin_trgm_ops },
-      where: "report_type = ANY (ARRAY[#{REPORT_TYPES.values.join(', ')}]) AND location_image IS NOT NULL"
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_reads, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230605095810_ensure_default_organization.rb b/db/migrate/20230605095810_ensure_default_organization.rb
deleted file mode 100644
index 526e12077df30..0000000000000
--- a/db/migrate/20230605095810_ensure_default_organization.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureDefaultOrganization < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  disable_ddl_transaction!
-
-  class Organization < MigrationRecord
-  end
-
-  def up
-    return if Organization.exists?(id: 1)
-
-    path = 'default'
-
-    retries = 0
-
-    begin
-      Organization.create(id: 1, name: 'Default', path: path)
-    rescue ActiveRecord::RecordNotUnique
-      retries += 1
-      path = "default-#{SecureRandom.hex(3)}"
-      retry if retries < 10_000
-    end
-  end
-
-  def down
-    Organization.where(id: 1).delete_all
-  end
-end
diff --git a/db/migrate/20230606124754_add_default_branch_protections_json_to_application_settings.rb b/db/migrate/20230606124754_add_default_branch_protections_json_to_application_settings.rb
deleted file mode 100644
index 573eccd7d12e3..0000000000000
--- a/db/migrate/20230606124754_add_default_branch_protections_json_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddDefaultBranchProtectionsJsonToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :default_branch_protection_defaults, :jsonb, null: false, default: {}
-  end
-end
diff --git a/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb b/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb
deleted file mode 100644
index a35effe0bb7dc..0000000000000
--- a/db/migrate/20230606124854_add_default_branch_protections_json_to_namespace_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddDefaultBranchProtectionsJsonToNamespaceSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :namespace_settings, :default_branch_protection_defaults, :jsonb, null: false, default: {}
-  end
-end
diff --git a/db/migrate/20230606124855_add_size_constraint_to_namespace_settings_json.rb b/db/migrate/20230606124855_add_size_constraint_to_namespace_settings_json.rb
deleted file mode 100644
index 80d11c8aacf10..0000000000000
--- a/db/migrate/20230606124855_add_size_constraint_to_namespace_settings_json.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddSizeConstraintToNamespaceSettingsJson < Gitlab::Database::Migration[2.1]
-  CONSTRAINT_NAME = 'default_branch_protection_defaults_size_constraint'
-
-  disable_ddl_transaction!
-
-  def up
-    add_check_constraint :namespace_settings, 'octet_length(default_branch_protection_defaults::text) <= 1024',
-      CONSTRAINT_NAME, validate: false
-  end
-
-  def down
-    remove_check_constraint :namespace_settings, CONSTRAINT_NAME
-  end
-end
diff --git a/db/migrate/20230606124856_add_size_constraint_to_application_settings_json.rb b/db/migrate/20230606124856_add_size_constraint_to_application_settings_json.rb
deleted file mode 100644
index 4bc6971edc382..0000000000000
--- a/db/migrate/20230606124856_add_size_constraint_to_application_settings_json.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddSizeConstraintToApplicationSettingsJson < Gitlab::Database::Migration[2.1]
-  CONSTRAINT_NAME = 'default_branch_protection_defaults_size_constraint'
-
-  disable_ddl_transaction!
-
-  def up
-    add_check_constraint :application_settings, 'octet_length(default_branch_protection_defaults::text) <= 1024',
-      CONSTRAINT_NAME, validate: false
-  end
-
-  def down
-    remove_check_constraint :application_settings, CONSTRAINT_NAME
-  end
-end
diff --git a/db/migrate/20230606182433_add_enterprise_columns_to_user_details.rb b/db/migrate/20230606182433_add_enterprise_columns_to_user_details.rb
deleted file mode 100644
index 092a304b307af..0000000000000
--- a/db/migrate/20230606182433_add_enterprise_columns_to_user_details.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddEnterpriseColumnsToUserDetails < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    add_column :user_details, :enterprise_group_id, :bigint
-
-    add_column :user_details, :enterprise_group_associated_at, :datetime_with_timezone
-  end
-end
diff --git a/db/migrate/20230607080200_add_limits_history_to_plan_limits.rb b/db/migrate/20230607080200_add_limits_history_to_plan_limits.rb
deleted file mode 100644
index 56250f598ea18..0000000000000
--- a/db/migrate/20230607080200_add_limits_history_to_plan_limits.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddLimitsHistoryToPlanLimits < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :plan_limits, :limits_history, :jsonb, default: {}, null: false
-  end
-end
diff --git a/db/migrate/20230607101334_add_ci_job_annotations_table.rb b/db/migrate/20230607101334_add_ci_job_annotations_table.rb
deleted file mode 100644
index caf7fb6fb3356..0000000000000
--- a/db/migrate/20230607101334_add_ci_job_annotations_table.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiJobAnnotationsTable < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    options = {
-      primary_key: [:id, :partition_id],
-      options: 'PARTITION BY LIST (partition_id)',
-      if_not_exists: true
-    }
-
-    create_table(:p_ci_job_annotations, **options) do |t|
-      t.bigserial :id, null: false
-      t.bigint :partition_id, null: false
-      t.bigint :job_id, null: false
-      t.text :name, null: false, limit: 255
-      t.jsonb :data, default: [], null: false
-    end
-  end
-end
diff --git a/db/migrate/20230607102017_add_index_on_ci_job_annotations.rb b/db/migrate/20230607102017_add_index_on_ci_job_annotations.rb
deleted file mode 100644
index cf38ae85192ec..0000000000000
--- a/db/migrate/20230607102017_add_index_on_ci_job_annotations.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnCiJobAnnotations < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_p_ci_job_annotations_on_partition_id_job_id_name'
-
-  def up
-    add_concurrent_partitioned_index(
-      :p_ci_job_annotations,
-      [:partition_id, :job_id, :name],
-      name: INDEX_NAME,
-      unique: true
-    )
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name :p_ci_job_annotations, INDEX_NAME
-  end
-end
diff --git a/db/migrate/20230607102721_add_check_constraints_to_ci_job_annotations.rb b/db/migrate/20230607102721_add_check_constraints_to_ci_job_annotations.rb
deleted file mode 100644
index 4f1e0e6e0c0e9..0000000000000
--- a/db/migrate/20230607102721_add_check_constraints_to_ci_job_annotations.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddCheckConstraintsToCiJobAnnotations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_check_constraint(
-      :p_ci_job_annotations,
-      "(jsonb_typeof(data) = 'array')",
-      'data_is_array'
-    )
-  end
-
-  def down
-    remove_check_constraint :p_ci_job_annotations, 'data_is_array'
-  end
-end
diff --git a/db/migrate/20230607102731_create_ci_job_annotations_partitions.rb b/db/migrate/20230607102731_create_ci_job_annotations_partitions.rb
deleted file mode 100644
index 16a9ee83e255e..0000000000000
--- a/db/migrate/20230607102731_create_ci_job_annotations_partitions.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class CreateCiJobAnnotationsPartitions < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    connection.execute(<<~SQL)
-      CREATE TABLE IF NOT EXISTS gitlab_partitions_dynamic.ci_job_annotations_100
-        PARTITION OF p_ci_job_annotations
-        FOR VALUES IN (100);
-    SQL
-  end
-
-  def down
-    connection.execute(<<~SQL)
-      DROP TABLE IF EXISTS gitlab_partitions_dynamic.ci_job_annotations_100;
-    SQL
-  end
-end
diff --git a/db/migrate/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances.rb b/db/migrate/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances.rb
deleted file mode 100644
index 925af31398d72..0000000000000
--- a/db/migrate/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RedoRemoveCreateLearnGitlabWorkerJobInstances < Gitlab::Database::Migration[2.1]
-  DEPRECATED_JOB_CLASSES = %w[Onboarding::CreateLearnGitlabWorker]
-
-  disable_ddl_transaction!
-
-  def up
-    sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES)
-  end
-
-  def down
-    # This migration removes any instances of deprecated workers and cannot be undone.
-  end
-end
diff --git a/db/migrate/20230609085234_add_gitlab_shell_operation_limit_to_application_settings.rb b/db/migrate/20230609085234_add_gitlab_shell_operation_limit_to_application_settings.rb
deleted file mode 100644
index f9a5a6fcea9fa..0000000000000
--- a/db/migrate/20230609085234_add_gitlab_shell_operation_limit_to_application_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class AddGitlabShellOperationLimitToApplicationSettings < Gitlab::Database::Migration[2.1]
-  def change
-    add_column :application_settings, :gitlab_shell_operation_limit, :integer, default: 600
-  end
-end
diff --git a/db/migrate/20230609115844_create_audit_events_streaming_instance_event_type_filters.rb b/db/migrate/20230609115844_create_audit_events_streaming_instance_event_type_filters.rb
deleted file mode 100644
index 061b504ffb792..0000000000000
--- a/db/migrate/20230609115844_create_audit_events_streaming_instance_event_type_filters.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateAuditEventsStreamingInstanceEventTypeFilters < Gitlab::Database::Migration[2.1]
-  UNIQ_INDEX_NAME = 'unique_streaming_instance_event_type_filters_destination_id'
-
-  def change
-    create_table :audit_events_streaming_instance_event_type_filters do |t|
-      t.timestamps_with_timezone null: false
-      t.references :instance_external_audit_event_destination,
-        null: false,
-        index: false,
-        foreign_key: { to_table: 'audit_events_instance_external_audit_event_destinations', on_delete: :cascade }
-      t.text :audit_event_type, null: false, limit: 255
-
-      t.index [:instance_external_audit_event_destination_id, :audit_event_type], unique: true, name: UNIQ_INDEX_NAME
-    end
-  end
-end
diff --git a/db/migrate/20230612072807_add_vacuum_type_to_autovacuum_status.rb b/db/migrate/20230612072807_add_vacuum_type_to_autovacuum_status.rb
deleted file mode 100644
index a985b8a936145..0000000000000
--- a/db/migrate/20230612072807_add_vacuum_type_to_autovacuum_status.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-# frozen_string_literal: true
-
-class AddVacuumTypeToAutovacuumStatus < Gitlab::Database::Migration[2.1]
-  def up
-    execute <<~SQL
-      DROP VIEW IF EXISTS postgres_autovacuum_activity;
-
-      CREATE VIEW postgres_autovacuum_activity AS
-        WITH processes as
-          (
-            SELECT query, query_start, (regexp_matches(query, '^autovacuum: VACUUM (\\w+)\\.(\\w+)')) as matches,
-            CASE WHEN (query ~~* '%wraparound)'::text) THEN true ELSE false END as wraparound_prevention
-            FROM postgres_pg_stat_activity_autovacuum()
-            WHERE query ~* '^autovacuum: VACUUM \\w+\\.\\w+'
-          )
-        SELECT matches[1] || '.' || matches[2] as table_identifier,
-              matches[1] as schema,
-              matches[2] as table,
-              query_start as vacuum_start,
-              wraparound_prevention
-        FROM processes;
-
-      COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
-    SQL
-  end
-
-  def down
-    execute <<~SQL
-      DROP VIEW IF EXISTS postgres_autovacuum_activity;
-
-      CREATE VIEW postgres_autovacuum_activity AS
-        WITH processes as
-          (
-            SELECT query, query_start, (regexp_matches(query, '^autovacuum: VACUUM (\\w+)\\.(\\w+)')) as matches
-            FROM postgres_pg_stat_activity_autovacuum()
-            WHERE query ~* '^autovacuum: VACUUM \\w+\\.\\w+'
-          )
-        SELECT matches[1] || '.' || matches[2] as table_identifier,
-              matches[1] as schema,
-              matches[2] as table,
-              query_start as vacuum_start
-        FROM processes;
-
-      COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
-    SQL
-  end
-end
diff --git a/db/post_migrate/20221021082256_finish_reset_duplicate_ci_runners_token_values.rb b/db/post_migrate/20221021082256_finish_reset_duplicate_ci_runners_token_values.rb
deleted file mode 100644
index 4e6195bb3c8c3..0000000000000
--- a/db/post_migrate/20221021082256_finish_reset_duplicate_ci_runners_token_values.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class FinishResetDuplicateCiRunnersTokenValues < Gitlab::Database::Migration[2.0]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'ResetDuplicateCiRunnersTokenValues',
-      table_name: :ci_runners,
-      column_name: :id,
-      job_arguments: [],
-      finalize: true
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20221021082257_add_unique_index_on_ci_runners_token.rb b/db/post_migrate/20221021082257_add_unique_index_on_ci_runners_token.rb
deleted file mode 100644
index 3858c0efe06d5..0000000000000
--- a/db/post_migrate/20221021082257_add_unique_index_on_ci_runners_token.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexOnCiRunnersToken < Gitlab::Database::Migration[2.0]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_uniq_ci_runners_on_token'
-
-  def up
-    add_concurrent_index :ci_runners,
-      :token,
-      name: INDEX_NAME,
-      unique: true
-  end
-
-  def down
-    remove_concurrent_index_by_name :ci_runners, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20221021082313_finish_reset_duplicate_ci_runners_token_encrypted_values.rb b/db/post_migrate/20221021082313_finish_reset_duplicate_ci_runners_token_encrypted_values.rb
deleted file mode 100644
index ba08322b1fffc..0000000000000
--- a/db/post_migrate/20221021082313_finish_reset_duplicate_ci_runners_token_encrypted_values.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class FinishResetDuplicateCiRunnersTokenEncryptedValues < Gitlab::Database::Migration[2.0]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'ResetDuplicateCiRunnersTokenEncryptedValues',
-      table_name: :ci_runners,
-      column_name: :id,
-      job_arguments: [],
-      finalize: true
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20221021082314_add_unique_index_on_ci_runners_token_encrypted.rb b/db/post_migrate/20221021082314_add_unique_index_on_ci_runners_token_encrypted.rb
deleted file mode 100644
index 12fc6a72e849b..0000000000000
--- a/db/post_migrate/20221021082314_add_unique_index_on_ci_runners_token_encrypted.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexOnCiRunnersTokenEncrypted < Gitlab::Database::Migration[2.0]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_uniq_ci_runners_on_token_encrypted'
-
-  def up
-    add_concurrent_index :ci_runners,
-      :token_encrypted,
-      name: INDEX_NAME,
-      unique: true
-  end
-
-  def down
-    remove_concurrent_index_by_name :ci_runners, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20221207135755_finalize_add_namespaces_emails_enabled_column_data.rb b/db/post_migrate/20221207135755_finalize_add_namespaces_emails_enabled_column_data.rb
deleted file mode 100644
index c4fc2aad60b27..0000000000000
--- a/db/post_migrate/20221207135755_finalize_add_namespaces_emails_enabled_column_data.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeAddNamespacesEmailsEnabledColumnData < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'AddNamespacesEmailsEnabledColumnData'
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :namespaces,
-      column_name: :id,
-      job_arguments: []
-    )
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20221207135831_finalize_add_projects_emails_enabled_column_data.rb b/db/post_migrate/20221207135831_finalize_add_projects_emails_enabled_column_data.rb
deleted file mode 100644
index 6118be6d4c49a..0000000000000
--- a/db/post_migrate/20221207135831_finalize_add_projects_emails_enabled_column_data.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeAddProjectsEmailsEnabledColumnData < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'AddProjectsEmailsEnabledColumnData'
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :projects,
-      column_name: :id,
-      job_arguments: []
-    )
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230113201308_backfill_namespace_ldap_settings.rb b/db/post_migrate/20230113201308_backfill_namespace_ldap_settings.rb
deleted file mode 100644
index 28a600c459f84..0000000000000
--- a/db/post_migrate/20230113201308_backfill_namespace_ldap_settings.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillNamespaceLdapSettings < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  DOWNTIME = false
-  MIGRATION = 'BackfillNamespaceLdapSettings'
-  TABLE_NAME = 'namespaces'
-  PRIMARY_KEY = :id
-  INTERVAL = 2.minutes
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      TABLE_NAME,
-      PRIMARY_KEY,
-      job_interval: INTERVAL
-    )
-  end
-
-  def down
-    delete_batched_background_migration(
-      MIGRATION,
-      TABLE_NAME,
-      PRIMARY_KEY,
-      []
-    )
-  end
-end
diff --git a/db/post_migrate/20230118144623_schedule_migration_for_remediation.rb b/db/post_migrate/20230118144623_schedule_migration_for_remediation.rb
deleted file mode 100644
index ed95ecfaad3fb..0000000000000
--- a/db/post_migrate/20230118144623_schedule_migration_for_remediation.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleMigrationForRemediation < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'MigrateRemediationsForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 5000
-
-  def up
-    # no-op as described in https://docs.gitlab.com/ee/development/database/batched_background_migrations.html
-  end
-
-  def down
-    # no-op as described in https://docs.gitlab.com/ee/development/database/batched_background_migrations.html
-  end
-end
diff --git a/db/post_migrate/20230125195503_queue_backfill_compliance_violations.rb b/db/post_migrate/20230125195503_queue_backfill_compliance_violations.rb
deleted file mode 100644
index 5f797421bd554..0000000000000
--- a/db/post_migrate/20230125195503_queue_backfill_compliance_violations.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillComplianceViolations < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'BackfillComplianceViolations'
-  INTERVAL = 2.minutes
-  BATCH_SIZE = 10_000
-
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :merge_requests_compliance_violations,
-      :id,
-      job_interval: INTERVAL,
-      batch_size: BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :merge_requests_compliance_violations, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230126101907_add_partition_index_to_web_hook_logs.rb b/db/post_migrate/20230126101907_add_partition_index_to_web_hook_logs.rb
deleted file mode 100644
index 4196767033c84..0000000000000
--- a/db/post_migrate/20230126101907_add_partition_index_to_web_hook_logs.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddPartitionIndexToWebHookLogs < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_web_hook_logs_on_web_hook_id_and_created_at'
-
-  def up
-    add_concurrent_partitioned_index(
-      :web_hook_logs,
-      [:web_hook_id, :created_at],
-      name: INDEX_NAME
-    )
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name :web_hook_logs, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230130182412_schedule_create_vulnerability_links_migration.rb b/db/post_migrate/20230130182412_schedule_create_vulnerability_links_migration.rb
deleted file mode 100644
index a1162ce98d5b2..0000000000000
--- a/db/post_migrate/20230130182412_schedule_create_vulnerability_links_migration.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleCreateVulnerabilityLinksMigration < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'CreateVulnerabilityLinks'
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 250
-  SUB_BATCH_SIZE = 5
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerability_feedback,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerability_feedback, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230131184319_update_billable_users_index_for_service_accounts.rb b/db/post_migrate/20230131184319_update_billable_users_index_for_service_accounts.rb
deleted file mode 100644
index 842c7295fcbfa..0000000000000
--- a/db/post_migrate/20230131184319_update_billable_users_index_for_service_accounts.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class UpdateBillableUsersIndexForServiceAccounts < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  OLD_INDEX = 'index_users_for_billable_users'
-  NEW_INDEX = 'index_users_for_active_billable_users'
-
-  OLD_INDEX_CONDITION = <<~QUERY
-    ((state)::text = 'active'::text) AND ((user_type IS NULL)
-    OR (user_type = ANY (ARRAY[6, 4]))) AND
-    ((user_type IS NULL) OR (user_type = ANY (ARRAY[4, 5])))
-  QUERY
-  NEW_INDEX_CONDITION = <<~QUERY
-    state = 'active' AND (user_type IS NULL OR user_type IN (6, 4, 13)) AND (user_type IS NULL OR user_type IN (4, 5))
-  QUERY
-
-  def up
-    # rubocop:disable Migration/PreventIndexCreation
-    add_concurrent_index(:users, :id, where: NEW_INDEX_CONDITION, name: NEW_INDEX)
-    # rubocop:enable Migration/PreventIndexCreation
-    remove_concurrent_index_by_name(:users, OLD_INDEX)
-  end
-
-  def down
-    add_concurrent_index(:users, :id, where: OLD_INDEX_CONDITION, name: OLD_INDEX)
-    remove_concurrent_index_by_name(:users, NEW_INDEX)
-  end
-end
diff --git a/db/post_migrate/20230202135758_queue_backfill_prepared_at_data.rb b/db/post_migrate/20230202135758_queue_backfill_prepared_at_data.rb
deleted file mode 100644
index 227b469b62515..0000000000000
--- a/db/post_migrate/20230202135758_queue_backfill_prepared_at_data.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillPreparedAtData < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'BackfillPreparedAtMergeRequests'
-  DELAY_INTERVAL = 2.minutes
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :merge_requests,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: 5000,
-      sub_batch_size: 250
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :merge_requests, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230202211434_migrate_redis_slot_keys.rb b/db/post_migrate/20230202211434_migrate_redis_slot_keys.rb
deleted file mode 100644
index 126555ae39195..0000000000000
--- a/db/post_migrate/20230202211434_migrate_redis_slot_keys.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class MigrateRedisSlotKeys < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    # deleted as contained a bug
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230208125736_schedule_migration_for_links.rb b/db/post_migrate/20230208125736_schedule_migration_for_links.rb
deleted file mode 100644
index 78b83bbb502a4..0000000000000
--- a/db/post_migrate/20230208125736_schedule_migration_for_links.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleMigrationForLinks < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'MigrateLinksForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 10000
-
-  def up
-    # no-op as it is rescheduled via db/post_migrate/20230314144640_reschedule_migration_for_links.rb
-  end
-
-  def down
-    # no-op as it is rescheduled via db/post_migrate/20230314144640_reschedule_migration_for_links.rb
-  end
-end
diff --git a/db/post_migrate/20230209222452_schedule_remove_project_group_link_with_missing_groups.rb b/db/post_migrate/20230209222452_schedule_remove_project_group_link_with_missing_groups.rb
deleted file mode 100644
index b7dd81267d7ee..0000000000000
--- a/db/post_migrate/20230209222452_schedule_remove_project_group_link_with_missing_groups.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleRemoveProjectGroupLinkWithMissingGroups < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'RemoveProjectGroupLinkWithMissingGroups'
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1_000
-  MAX_BATCH_SIZE = 10_000
-  SUB_BATCH_SIZE = 200
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :project_group_links,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :project_group_links, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230213103019_add_index_for_next_over_limit_check_at.rb b/db/post_migrate/20230213103019_add_index_for_next_over_limit_check_at.rb
deleted file mode 100644
index 29c59cea3ffee..0000000000000
--- a/db/post_migrate/20230213103019_add_index_for_next_over_limit_check_at.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexForNextOverLimitCheckAt < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = 'namespace_details'
-  INDEX_NAME = 'index_next_over_limit_check_at_asc_order'
-
-  def up
-    prepare_async_index TABLE_NAME,
-      :next_over_limit_check_at,
-      order: { next_over_limit_check_at: 'ASC NULLS FIRST' },
-      name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230214181633_finalize_ci_build_needs_big_int_conversion.rb b/db/post_migrate/20230214181633_finalize_ci_build_needs_big_int_conversion.rb
deleted file mode 100644
index 63b6148df6bc3..0000000000000
--- a/db/post_migrate/20230214181633_finalize_ci_build_needs_big_int_conversion.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeCiBuildNeedsBigIntConversion < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  TABLE_NAME = 'ci_build_needs'
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: TABLE_NAME,
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down; end
-
-  private
-
-  def should_run?
-    !Gitlab.jh? && (Gitlab.com? || Gitlab.dev_or_test_env?)
-  end
-end
diff --git a/db/post_migrate/20230215213349_add_sync_index_on_packages_package_file_filename.rb b/db/post_migrate/20230215213349_add_sync_index_on_packages_package_file_filename.rb
deleted file mode 100644
index 9a2e7abbbc101..0000000000000
--- a/db/post_migrate/20230215213349_add_sync_index_on_packages_package_file_filename.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddSyncIndexOnPackagesPackageFileFilename < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_packages_package_files_on_file_name'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index(
-      :packages_package_files,
-      :file_name,
-      name: INDEX_NAME,
-      using: :gin,
-      opclass: { description: :gin_trgm_ops }
-    )
-  end
-
-  def down
-    remove_concurrent_index_by_name :packages_package_files, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230216060333_prepare_async_foreign_key_validation_for_ci_build_trace_metadata.rb b/db/post_migrate/20230216060333_prepare_async_foreign_key_validation_for_ci_build_trace_metadata.rb
deleted file mode 100644
index 1d5999acc61a8..0000000000000
--- a/db/post_migrate/20230216060333_prepare_async_foreign_key_validation_for_ci_build_trace_metadata.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncForeignKeyValidationForCiBuildTraceMetadata < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_build_trace_metadata
-  COLUMN_NAMES = [:partition_id, :build_id]
-  FOREIGN_KEY_NAME = :fk_rails_aebc78111f_p
-
-  def up
-    prepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-
-  def down
-    unprepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-end
diff --git a/db/post_migrate/20230216191507_delete_incorrectly_onboarded_namespaces.rb b/db/post_migrate/20230216191507_delete_incorrectly_onboarded_namespaces.rb
deleted file mode 100644
index 5da485fd442e6..0000000000000
--- a/db/post_migrate/20230216191507_delete_incorrectly_onboarded_namespaces.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteIncorrectlyOnboardedNamespaces < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    # Changed to a no-op, this migration was reverted after
-    # an incident during a deploy to production on gitlab.com
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8436
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230216222956_add_sync_index_on_lfs_objects_file.rb b/db/post_migrate/20230216222956_add_sync_index_on_lfs_objects_file.rb
deleted file mode 100644
index 8eda3345713f0..0000000000000
--- a/db/post_migrate/20230216222956_add_sync_index_on_lfs_objects_file.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddSyncIndexOnLfsObjectsFile < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_lfs_objects_on_file'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :lfs_objects, :file, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :lfs_objects, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230216232404_add_sync_index_on_merge_request_diffs_external_diff.rb b/db/post_migrate/20230216232404_add_sync_index_on_merge_request_diffs_external_diff.rb
deleted file mode 100644
index 2f9b12f89c185..0000000000000
--- a/db/post_migrate/20230216232404_add_sync_index_on_merge_request_diffs_external_diff.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddSyncIndexOnMergeRequestDiffsExternalDiff < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_merge_request_diffs_on_external_diff'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :merge_request_diffs, :external_diff, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :merge_request_diffs, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230216233937_remove_application_settings_send_user_confirmation_email_column.rb b/db/post_migrate/20230216233937_remove_application_settings_send_user_confirmation_email_column.rb
deleted file mode 100644
index d7720ebccbd3c..0000000000000
--- a/db/post_migrate/20230216233937_remove_application_settings_send_user_confirmation_email_column.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveApplicationSettingsSendUserConfirmationEmailColumn < Gitlab::Database::Migration[2.1]
-  def change
-    remove_column :application_settings, :send_user_confirmation_email, :boolean, default: false
-  end
-end
diff --git a/db/post_migrate/20230218145930_add_index_users_on_updated_at.rb b/db/post_migrate/20230218145930_add_index_users_on_updated_at.rb
deleted file mode 100644
index 229c3e1babd37..0000000000000
--- a/db/post_migrate/20230218145930_add_index_users_on_updated_at.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexUsersOnUpdatedAt < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = 'users'
-  INDEX_NAME = 'index_users_on_updated_at'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index TABLE_NAME, :updated_at, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230218145940_add_index_namespaces_on_updated_at.rb b/db/post_migrate/20230218145940_add_index_namespaces_on_updated_at.rb
deleted file mode 100644
index cbad26fb1421d..0000000000000
--- a/db/post_migrate/20230218145940_add_index_namespaces_on_updated_at.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexNamespacesOnUpdatedAt < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = 'namespaces'
-  INDEX_NAME = 'index_namespaces_on_updated_at'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index TABLE_NAME, :updated_at, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230218152729_validate_fk_on_ci_job_artifacts_partition_id_and_job_id.rb b/db/post_migrate/20230218152729_validate_fk_on_ci_job_artifacts_partition_id_and_job_id.rb
deleted file mode 100644
index 9a9cb0d948781..0000000000000
--- a/db/post_migrate/20230218152729_validate_fk_on_ci_job_artifacts_partition_id_and_job_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiJobArtifactsPartitionIdAndJobId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_job_artifacts
-  FK_NAME = :fk_rails_c5137cb2c1_p
-  COLUMNS = [:partition_id, :job_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230218152730_remove_fk_to_ci_builds_ci_job_artifacts_on_job_id.rb b/db/post_migrate/20230218152730_remove_fk_to_ci_builds_ci_job_artifacts_on_job_id.rb
deleted file mode 100644
index 02747d57eabba..0000000000000
--- a/db/post_migrate/20230218152730_remove_fk_to_ci_builds_ci_job_artifacts_on_job_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiJobArtifactsOnJobId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_job_artifacts
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :job_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_c5137cb2c1
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230219191034_add_pipeline_fk_to_vulnerability_state_transitions.rb b/db/post_migrate/20230219191034_add_pipeline_fk_to_vulnerability_state_transitions.rb
deleted file mode 100644
index 5c09c75861af3..0000000000000
--- a/db/post_migrate/20230219191034_add_pipeline_fk_to_vulnerability_state_transitions.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddPipelineFkToVulnerabilityStateTransitions < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_vulnerability_state_transitions_on_pipeline_id'
-
-  def up
-    add_concurrent_index :vulnerability_state_transitions, :state_changed_at_pipeline_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_state_transitions, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230220102212_swap_columns_ci_build_needs_big_int_conversion.rb b/db/post_migrate/20230220102212_swap_columns_ci_build_needs_big_int_conversion.rb
deleted file mode 100644
index de98847fad49b..0000000000000
--- a/db/post_migrate/20230220102212_swap_columns_ci_build_needs_big_int_conversion.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-class SwapColumnsCiBuildNeedsBigIntConversion < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'ci_build_needs'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  private
-
-  def should_run?
-    !Gitlab.jh? && (Gitlab.com? || Gitlab.dev_or_test_env?)
-  end
-
-  def swap
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name:
-      'index_ci_build_needs_on_id_convert_to_bigint'
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      id_name = quote_column_name(:id)
-      temp_name = quote_column_name('id_tmp')
-      id_convert_to_bigint_name = quote_column_name(:id_convert_to_bigint)
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_name} TO #{temp_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_convert_to_bigint_name} TO #{id_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{temp_name} TO #{id_convert_to_bigint_name}"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger.on_table(
-        TABLE_NAME, connection: Ci::ApplicationRecord.connection
-      ).name(
-        :id, :id_convert_to_bigint
-      )
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute "ALTER SEQUENCE ci_build_needs_id_seq OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('ci_build_needs_id_seq'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT ci_build_needs_pkey CASCADE"
-      rename_index TABLE_NAME, 'index_ci_build_needs_on_id_convert_to_bigint', 'ci_build_needs_pkey'
-      execute "ALTER TABLE #{TABLE_NAME} ADD CONSTRAINT ci_build_needs_pkey PRIMARY KEY USING INDEX ci_build_needs_pkey"
-    end
-  end
-end
diff --git a/db/post_migrate/20230220112930_replace_uniq_index_on_postgres_async_foreign_key_validations.rb b/db/post_migrate/20230220112930_replace_uniq_index_on_postgres_async_foreign_key_validations.rb
deleted file mode 100644
index 1adc275e1e927..0000000000000
--- a/db/post_migrate/20230220112930_replace_uniq_index_on_postgres_async_foreign_key_validations.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceUniqIndexOnPostgresAsyncForeignKeyValidations < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  NEW_INDEX_NAME = 'unique_postgres_async_fk_validations_name_and_table_name'
-  OLD_INDEX_NAME = 'index_postgres_async_foreign_key_validations_on_name'
-  TABLE_NAME = 'postgres_async_foreign_key_validations'
-
-  def up
-    add_concurrent_index TABLE_NAME, [:name, :table_name], unique: true, name: NEW_INDEX_NAME
-    remove_concurrent_index_by_name TABLE_NAME, OLD_INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index TABLE_NAME, :name, unique: true, name: OLD_INDEX_NAME
-    remove_concurrent_index_by_name TABLE_NAME, NEW_INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230220132409_validate_fk_on_ci_build_report_results_partition_id_and_build_id.rb b/db/post_migrate/20230220132409_validate_fk_on_ci_build_report_results_partition_id_and_build_id.rb
deleted file mode 100644
index 5186f5f397e1b..0000000000000
--- a/db/post_migrate/20230220132409_validate_fk_on_ci_build_report_results_partition_id_and_build_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiBuildReportResultsPartitionIdAndBuildId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_build_report_results
-  FK_NAME = :fk_rails_16cb1ff064_p
-  COLUMNS = [:partition_id, :build_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230220132410_remove_fk_to_ci_builds_ci_build_report_results_on_build_id.rb b/db/post_migrate/20230220132410_remove_fk_to_ci_builds_ci_build_report_results_on_build_id.rb
deleted file mode 100644
index 8cbcdf2737402..0000000000000
--- a/db/post_migrate/20230220132410_remove_fk_to_ci_builds_ci_build_report_results_on_build_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiBuildReportResultsOnBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_build_report_results
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_16cb1ff064
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230220134145_validate_fk_on_ci_build_needs_partition_id_and_build_id.rb b/db/post_migrate/20230220134145_validate_fk_on_ci_build_needs_partition_id_and_build_id.rb
deleted file mode 100644
index eec60a5183474..0000000000000
--- a/db/post_migrate/20230220134145_validate_fk_on_ci_build_needs_partition_id_and_build_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiBuildNeedsPartitionIdAndBuildId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_build_needs
-  FK_NAME = :fk_rails_3cf221d4ed_p
-  COLUMNS = [:partition_id, :build_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230220134146_remove_fk_to_ci_builds_ci_build_needs_on_build_id.rb b/db/post_migrate/20230220134146_remove_fk_to_ci_builds_ci_build_needs_on_build_id.rb
deleted file mode 100644
index 04e7ec11ee678..0000000000000
--- a/db/post_migrate/20230220134146_remove_fk_to_ci_builds_ci_build_needs_on_build_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiBuildNeedsOnBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_build_needs
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_3cf221d4ed
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230220165240_add_index_to_approval_rules_on_scan_result_policy_id.rb b/db/post_migrate/20230220165240_add_index_to_approval_rules_on_scan_result_policy_id.rb
deleted file mode 100644
index b510fdb0f86e1..0000000000000
--- a/db/post_migrate/20230220165240_add_index_to_approval_rules_on_scan_result_policy_id.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToApprovalRulesOnScanResultPolicyId < Gitlab::Database::Migration[2.1]
-  PROJECT_INDEX_NAME = 'idx_approval_project_rules_on_scan_result_policy_id'
-  MERGE_REQUEST_INDEX_NAME = 'idx_approval_merge_request_rules_on_scan_result_policy_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :approval_project_rules, :scan_result_policy_id, name: PROJECT_INDEX_NAME
-    add_concurrent_index :approval_merge_request_rules, :scan_result_policy_id, name: MERGE_REQUEST_INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :approval_project_rules, :scan_result_policy_id, name: PROJECT_INDEX_NAME
-    remove_concurrent_index_by_name :approval_merge_request_rules, :scan_result_policy_id,
-      name: MERGE_REQUEST_INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230221010522_prepare_async_foreign_key_validation_for_ci_sources_pipelines.rb b/db/post_migrate/20230221010522_prepare_async_foreign_key_validation_for_ci_sources_pipelines.rb
deleted file mode 100644
index e25bbca5c807d..0000000000000
--- a/db/post_migrate/20230221010522_prepare_async_foreign_key_validation_for_ci_sources_pipelines.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncForeignKeyValidationForCiSourcesPipelines < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_sources_pipelines
-  COLUMN_NAMES = [:source_partition_id, :source_job_id]
-  FOREIGN_KEY_NAME = :fk_be5624bf37_p
-
-  def up
-    prepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-
-  def down
-    unprepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-end
diff --git a/db/post_migrate/20230221011750_prepare_async_foreign_key_validation_for_ci_job_variables.rb b/db/post_migrate/20230221011750_prepare_async_foreign_key_validation_for_ci_job_variables.rb
deleted file mode 100644
index 973c4c7316d99..0000000000000
--- a/db/post_migrate/20230221011750_prepare_async_foreign_key_validation_for_ci_job_variables.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncForeignKeyValidationForCiJobVariables < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_job_variables
-  COLUMN_NAMES = [:partition_id, :job_id]
-  FOREIGN_KEY_NAME = :fk_rails_fbf3b34792_p
-
-  def up
-    prepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-
-  def down
-    unprepare_async_foreign_key_validation(TABLE_NAME, COLUMN_NAMES, name: FOREIGN_KEY_NAME)
-  end
-end
diff --git a/db/post_migrate/20230221093533_add_tmp_partial_index_on_vulnerability_report_types.rb b/db/post_migrate/20230221093533_add_tmp_partial_index_on_vulnerability_report_types.rb
deleted file mode 100644
index 4800ce5ed4c75..0000000000000
--- a/db/post_migrate/20230221093533_add_tmp_partial_index_on_vulnerability_report_types.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddTmpPartialIndexOnVulnerabilityReportTypes < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_idx_vulnerability_occurrences_on_id_where_report_type_7_99'
-  CLAUSE = 'report_type IN (7, 99)'
-
-  def up
-    # Temporary index to be removed in 15.11 https://gitlab.com/gitlab-org/gitlab/-/issues/393052
-    prepare_async_index :vulnerability_occurrences, :id, where: CLAUSE, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :vulnerability_occurrences, :id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230221093535_add_sync_tmp_partial_index_on_vulnerability_report_types.rb b/db/post_migrate/20230221093535_add_sync_tmp_partial_index_on_vulnerability_report_types.rb
deleted file mode 100644
index 0200aa681e364..0000000000000
--- a/db/post_migrate/20230221093535_add_sync_tmp_partial_index_on_vulnerability_report_types.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddSyncTmpPartialIndexOnVulnerabilityReportTypes < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_idx_vulnerability_occurrences_on_id_where_report_type_7_99'
-
-  disable_ddl_transaction!
-
-  def up
-    # Temporary index to be removed in 15.11 https://gitlab.com/gitlab-org/gitlab/-/issues/393052
-    add_concurrent_index :vulnerability_occurrences, :id, where: 'report_type IN (7, 99)', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230221093536_schedule_migrate_shared_vulnerability_identifiers.rb b/db/post_migrate/20230221093536_schedule_migrate_shared_vulnerability_identifiers.rb
deleted file mode 100644
index 79943da148a07..0000000000000
--- a/db/post_migrate/20230221093536_schedule_migrate_shared_vulnerability_identifiers.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleMigrateSharedVulnerabilityIdentifiers < Gitlab::Database::Migration[2.1]
-  MIGRATION = "MigrateSharedVulnerabilityIdentifiers"
-  TABLE_NAME = :vulnerability_occurrences
-  BATCH_COLUMN = :id
-  DELAY_INTERVAL = 2.minutes
-
-  BATCH_SIZE = 1_000
-  SUB_BATCH_SIZE = 100
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(MIGRATION,
-      TABLE_NAME,
-      BATCH_COLUMN,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE)
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, TABLE_NAME, BATCH_COLUMN, [])
-  end
-end
diff --git a/db/post_migrate/20230221125148_add_fk_to_p_ci_builds_metadata_partitions_on_partition_id_and_build_id.rb b/db/post_migrate/20230221125148_add_fk_to_p_ci_builds_metadata_partitions_on_partition_id_and_build_id.rb
deleted file mode 100644
index 9df03f03d2bc6..0000000000000
--- a/db/post_migrate/20230221125148_add_fk_to_p_ci_builds_metadata_partitions_on_partition_id_and_build_id.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkToPCiBuildsMetadataPartitionsOnPartitionIdAndBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :p_ci_builds_metadata
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_e20479742e_p
-  PARTITION_COLUMN = :partition_id
-
-  def up
-    Gitlab::Database::PostgresPartitionedTable.each_partition(SOURCE_TABLE_NAME) do |partition|
-      add_concurrent_foreign_key(
-        partition.identifier,
-        TARGET_TABLE_NAME,
-        column: [PARTITION_COLUMN, COLUMN],
-        target_column: [PARTITION_COLUMN, TARGET_COLUMN],
-        validate: false,
-        reverse_lock_order: true,
-        on_update: :cascade,
-        on_delete: :cascade,
-        name: FK_NAME
-      )
-    end
-  end
-
-  def down
-    Gitlab::Database::PostgresPartitionedTable.each_partition(SOURCE_TABLE_NAME) do |partition|
-      with_lock_retries do
-        remove_foreign_key_if_exists(
-          partition.identifier,
-          TARGET_TABLE_NAME,
-          name: FK_NAME,
-          reverse_lock_order: true
-        )
-      end
-    end
-  end
-end
diff --git a/db/post_migrate/20230221162222_raise_ci_variable_limits_on_gitlab_com.rb b/db/post_migrate/20230221162222_raise_ci_variable_limits_on_gitlab_com.rb
deleted file mode 100644
index 084f89b2a5d00..0000000000000
--- a/db/post_migrate/20230221162222_raise_ci_variable_limits_on_gitlab_com.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-# frozen_string_literal: true
-
-class RaiseCiVariableLimitsOnGitlabCom < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    create_or_update_plan_limit('project_ci_variables', 'free', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'bronze', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'silver', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'premium', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'premium_trial', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'gold', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'ultimate', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'ultimate_trial', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'early_adopter', 8000)
-    create_or_update_plan_limit('project_ci_variables', 'opensource', 8000)
-
-    create_or_update_plan_limit('group_ci_variables', 'free', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'bronze', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'silver', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'premium', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'premium_trial', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'gold', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'ultimate', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'ultimate_trial', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'early_adopter', 30000)
-    create_or_update_plan_limit('group_ci_variables', 'opensource', 30000)
-  end
-
-  def down
-    create_or_update_plan_limit('project_ci_variables', 'free', 200)
-    create_or_update_plan_limit('project_ci_variables', 'bronze', 200)
-    create_or_update_plan_limit('project_ci_variables', 'silver', 200)
-    create_or_update_plan_limit('project_ci_variables', 'premium', 200)
-    create_or_update_plan_limit('project_ci_variables', 'premium_trial', 200)
-    create_or_update_plan_limit('project_ci_variables', 'gold', 200)
-    create_or_update_plan_limit('project_ci_variables', 'ultimate', 200)
-    create_or_update_plan_limit('project_ci_variables', 'ultimate_trial', 200)
-    create_or_update_plan_limit('project_ci_variables', 'early_adopter', 200)
-    create_or_update_plan_limit('project_ci_variables', 'opensource', 200)
-
-    create_or_update_plan_limit('group_ci_variables', 'free', 200)
-    create_or_update_plan_limit('group_ci_variables', 'bronze', 200)
-    create_or_update_plan_limit('group_ci_variables', 'silver', 200)
-    create_or_update_plan_limit('group_ci_variables', 'premium', 200)
-    create_or_update_plan_limit('group_ci_variables', 'premium_trial', 200)
-    create_or_update_plan_limit('group_ci_variables', 'gold', 200)
-    create_or_update_plan_limit('group_ci_variables', 'ultimate', 200)
-    create_or_update_plan_limit('group_ci_variables', 'ultimate_trial', 200)
-    create_or_update_plan_limit('group_ci_variables', 'early_adopter', 200)
-    create_or_update_plan_limit('group_ci_variables', 'opensource', 200)
-  end
-end
diff --git a/db/post_migrate/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress.rb b/db/post_migrate/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress.rb
deleted file mode 100644
index 5672fc4285134..0000000000000
--- a/db/post_migrate/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIncorrectlyOnboardedNamespacesFromOnboardingProgress < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class OnboardingProgress < MigrationRecord
-    include EachBatch
-
-    self.table_name = 'onboarding_progresses'
-  end
-
-  class Project < MigrationRecord
-    self.table_name = 'projects'
-  end
-
-  def up
-    names = ['Learn GitLab', 'Learn GitLab - Ultimate trial']
-
-    OnboardingProgress.each_batch(of: 500) do |batch|
-      namespaces_to_keep = Project.where(name: names, namespace_id: batch.select(:namespace_id)).select(:namespace_id)
-      batch.where.not(namespace_id: namespaces_to_keep).delete_all
-    end
-  end
-
-  def down
-    # no op
-  end
-end
diff --git a/db/post_migrate/20230222035805_prepare_async_index_removal_of_token_for_ci_builds.rb b/db/post_migrate/20230222035805_prepare_async_index_removal_of_token_for_ci_builds.rb
deleted file mode 100644
index 6fd5bb18856ff..0000000000000
--- a/db/post_migrate/20230222035805_prepare_async_index_removal_of_token_for_ci_builds.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncIndexRemovalOfTokenForCiBuilds < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_builds
-  COLUMN_NAME = :token_encrypted
-  INDEX_NAME = :index_ci_builds_on_token_encrypted
-
-  def up
-    prepare_async_index_removal(TABLE_NAME, COLUMN_NAME, name: INDEX_NAME)
-  end
-
-  def down
-    unprepare_async_index(TABLE_NAME, COLUMN_NAME, name: INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230222055510_remove_concurrent_index_on_token_encrypted_for_ci_builds.rb b/db/post_migrate/20230222055510_remove_concurrent_index_on_token_encrypted_for_ci_builds.rb
deleted file mode 100644
index d3ed5a8fa2cdc..0000000000000
--- a/db/post_migrate/20230222055510_remove_concurrent_index_on_token_encrypted_for_ci_builds.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveConcurrentIndexOnTokenEncryptedForCiBuilds < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_builds
-  COLUMN_NAME = :token_encrypted
-  INDEX_NAME = :index_ci_builds_on_token_encrypted
-  WHERE_STATEMENT = 'token_encrypted IS NOT NULL'
-
-  def up
-    remove_concurrent_index_by_name TABLE_NAME, name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index TABLE_NAME, COLUMN_NAME, name: INDEX_NAME, where: WHERE_STATEMENT, unique: true
-  end
-end
diff --git a/db/post_migrate/20230222101420_remove_fk_to_ci_build_ci_pending_build_on_build_id.rb b/db/post_migrate/20230222101420_remove_fk_to_ci_build_ci_pending_build_on_build_id.rb
deleted file mode 100644
index 36e2f0f34f3ed..0000000000000
--- a/db/post_migrate/20230222101420_remove_fk_to_ci_build_ci_pending_build_on_build_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildCiPendingBuildOnBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_pending_builds
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_725a2644a3
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230222102421_remove_fk_to_ci_build_ci_running_build_on_build_id.rb b/db/post_migrate/20230222102421_remove_fk_to_ci_build_ci_running_build_on_build_id.rb
deleted file mode 100644
index d3cbfa649c336..0000000000000
--- a/db/post_migrate/20230222102421_remove_fk_to_ci_build_ci_running_build_on_build_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildCiRunningBuildOnBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_running_builds
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_da45cfa165
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb b/db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb
deleted file mode 100644
index b5085d24ab19b..0000000000000
--- a/db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateNotNullConstraintOnOauthAccessTokensExpiresIn < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    validate_not_null_constraint :oauth_access_tokens, :expires_in
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230223065753_finalize_nullify_creator_id_of_orphaned_projects.rb b/db/post_migrate/20230223065753_finalize_nullify_creator_id_of_orphaned_projects.rb
deleted file mode 100644
index aa3ed4837e72b..0000000000000
--- a/db/post_migrate/20230223065753_finalize_nullify_creator_id_of_orphaned_projects.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeNullifyCreatorIdOfOrphanedProjects < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'NullifyCreatorIdColumnOfOrphanedProjects'
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :projects,
-      column_name: :id,
-      job_arguments: []
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230223082752_schedule_fk_validation_for_p_ci_builds_metadata_partitions_and_ci_builds.rb b/db/post_migrate/20230223082752_schedule_fk_validation_for_p_ci_builds_metadata_partitions_and_ci_builds.rb
deleted file mode 100644
index bcb1147605ed3..0000000000000
--- a/db/post_migrate/20230223082752_schedule_fk_validation_for_p_ci_builds_metadata_partitions_and_ci_builds.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleFkValidationForPCiBuildsMetadataPartitionsAndCiBuilds < Gitlab::Database::Migration[2.1]
-  # This migration was used to validate the foreign keys on partitions introduced by
-  # db/post_migrate/20230221125148_add_fk_to_p_ci_builds_metadata_partitions_on_partition_id_and_build_id.rb
-  # but executing the rollback of
-  # db/post_migrate/20230306072532_add_partitioned_fk_to_p_ci_builds_metadata_on_partition_id_and_build_id.rb
-  # would also remove the FKs on partitions and this would errors out.
-
-  def up
-    # No-op
-  end
-
-  def down
-    # No-op
-  end
-end
diff --git a/db/post_migrate/20230223093704_add_foreign_key_on_creator_id_on_projects.rb b/db/post_migrate/20230223093704_add_foreign_key_on_creator_id_on_projects.rb
deleted file mode 100644
index 68fd6de3f230f..0000000000000
--- a/db/post_migrate/20230223093704_add_foreign_key_on_creator_id_on_projects.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyOnCreatorIdOnProjects < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :projects, :users, column: :creator_id, on_delete: :nullify, validate: false
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists :projects, column: :creator_id
-    end
-  end
-end
diff --git a/db/post_migrate/20230224085743_update_issues_internal_id_scope.rb b/db/post_migrate/20230224085743_update_issues_internal_id_scope.rb
deleted file mode 100644
index 71d16ccf2a62f..0000000000000
--- a/db/post_migrate/20230224085743_update_issues_internal_id_scope.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class UpdateIssuesInternalIdScope < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'IssuesInternalIdScopeUpdater'
-  INTERVAL = 2.minutes
-  BATCH_SIZE = 5_000
-  MAX_BATCH_SIZE = 20_000
-  SUB_BATCH_SIZE = 100
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :internal_ids,
-      :id,
-      job_interval: INTERVAL,
-      batch_size: BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :internal_ids, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230224144233_migrate_evidences_from_raw_metadata.rb b/db/post_migrate/20230224144233_migrate_evidences_from_raw_metadata.rb
deleted file mode 100644
index 7c2a43443dfc2..0000000000000
--- a/db/post_migrate/20230224144233_migrate_evidences_from_raw_metadata.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class MigrateEvidencesFromRawMetadata < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'MigrateEvidencesForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 10000
-
-  def up
-    # no-op as it has been rescheduled via db/post_migrate/20230330103104_reschedule_migrate_evidences.rb
-  end
-
-  def down
-    # no-op as it has been rescheduled via db/post_migrate/20230330103104_reschedule_migrate_evidences.rb
-  end
-end
diff --git a/db/post_migrate/20230227123949_validate_fk_on_ci_sources_pipelines_source_partition_id_and_source_job_id.rb b/db/post_migrate/20230227123949_validate_fk_on_ci_sources_pipelines_source_partition_id_and_source_job_id.rb
deleted file mode 100644
index 630483ee1f801..0000000000000
--- a/db/post_migrate/20230227123949_validate_fk_on_ci_sources_pipelines_source_partition_id_and_source_job_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiSourcesPipelinesSourcePartitionIdAndSourceJobId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_sources_pipelines
-  FK_NAME = :fk_be5624bf37_p
-  COLUMNS = [:source_partition_id, :source_job_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230227123950_remove_fk_to_ci_builds_ci_sources_pipelines_on_source_job_id.rb b/db/post_migrate/20230227123950_remove_fk_to_ci_builds_ci_sources_pipelines_on_source_job_id.rb
deleted file mode 100644
index 17ae2ad1325c2..0000000000000
--- a/db/post_migrate/20230227123950_remove_fk_to_ci_builds_ci_sources_pipelines_on_source_job_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiSourcesPipelinesOnSourceJobId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_sources_pipelines
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :source_job_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_be5624bf37
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230227151608_validate_fk_on_ci_build_trace_metadata_partition_id_and_build_id.rb b/db/post_migrate/20230227151608_validate_fk_on_ci_build_trace_metadata_partition_id_and_build_id.rb
deleted file mode 100644
index b95c416c128a6..0000000000000
--- a/db/post_migrate/20230227151608_validate_fk_on_ci_build_trace_metadata_partition_id_and_build_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiBuildTraceMetadataPartitionIdAndBuildId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_build_trace_metadata
-  FK_NAME = :fk_rails_aebc78111f_p
-  COLUMNS = [:partition_id, :build_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230227151609_remove_fk_to_ci_builds_ci_build_trace_metadata_on_build_id.rb b/db/post_migrate/20230227151609_remove_fk_to_ci_builds_ci_build_trace_metadata_on_build_id.rb
deleted file mode 100644
index 16e24d7ed4ca6..0000000000000
--- a/db/post_migrate/20230227151609_remove_fk_to_ci_builds_ci_build_trace_metadata_on_build_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiBuildTraceMetadataOnBuildId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_build_trace_metadata
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :build_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_aebc78111f
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230227153231_validate_fk_on_ci_job_variables_partition_id_and_job_id.rb b/db/post_migrate/20230227153231_validate_fk_on_ci_job_variables_partition_id_and_job_id.rb
deleted file mode 100644
index 035d26dbe9412..0000000000000
--- a/db/post_migrate/20230227153231_validate_fk_on_ci_job_variables_partition_id_and_job_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnCiJobVariablesPartitionIdAndJobId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_job_variables
-  FK_NAME = :fk_rails_fbf3b34792_p
-  COLUMNS = [:partition_id, :job_id]
-
-  def up
-    validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230227153232_remove_fk_to_ci_builds_ci_job_variables_on_job_id.rb b/db/post_migrate/20230227153232_remove_fk_to_ci_builds_ci_job_variables_on_job_id.rb
deleted file mode 100644
index f5dae8b57e017..0000000000000
--- a/db/post_migrate/20230227153232_remove_fk_to_ci_builds_ci_job_variables_on_job_id.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsCiJobVariablesOnJobId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :ci_job_variables
-  TARGET_TABLE_NAME = :ci_builds
-  COLUMN = :job_id
-  TARGET_COLUMN = :id
-  FK_NAME = :fk_rails_fbf3b34792
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: COLUMN,
-      target_column: TARGET_COLUMN,
-      validate: true,
-      reverse_lock_order: true,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230228021910_ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230228021910_ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index 238c7fd0becf7..0000000000000
--- a/db/post_migrate/20230228021910_ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureTimelogsNoteIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'timelogs',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230228023014_swap_timelogs_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230228023014_swap_timelogs_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 722a71863b0f1..0000000000000
--- a/db/post_migrate/20230228023014_swap_timelogs_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# frozen_string_literal: true
-
-class SwapTimelogsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'timelogs'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing index_timelogs_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, name: 'index_timelogs_on_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_timelogs_note_id
-    add_concurrent_foreign_key :timelogs, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_timelogs_note_id_convert_to_bigint',
-      on_delete: :nullify
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute "DROP INDEX IF EXISTS index_timelogs_on_note_id"
-      rename_index TABLE_NAME, 'index_timelogs_on_note_id_convert_to_bigint', 'index_timelogs_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_timelogs_note_id"
-      rename_constraint(TABLE_NAME, 'fk_timelogs_note_id_convert_to_bigint', 'fk_timelogs_note_id')
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230301020246_ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230301020246_ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index 90941af4eb2cd..0000000000000
--- a/db/post_migrate/20230301020246_ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureMrUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'merge_request_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230301020356_swap_merge_request_user_mentions_note_id_to_bigint.rb b/db/post_migrate/20230301020356_swap_merge_request_user_mentions_note_id_to_bigint.rb
deleted file mode 100644
index 6a2aecbda983a..0000000000000
--- a/db/post_migrate/20230301020356_swap_merge_request_user_mentions_note_id_to_bigint.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class SwapMergeRequestUserMentionsNoteIdToBigint < Gitlab::Database::Migration[2.1]
-  # No-op, moved to db/post_migrate/20230310020356_swap_merge_request_user_mentions_note_id_to_bigint_2.rb
-  def up; end
-  def down; end
-end
diff --git a/db/post_migrate/20230301065107_add_index_on_expired_unlocked_non_trace_job_artifacts.rb b/db/post_migrate/20230301065107_add_index_on_expired_unlocked_non_trace_job_artifacts.rb
deleted file mode 100644
index feda6971a8563..0000000000000
--- a/db/post_migrate/20230301065107_add_index_on_expired_unlocked_non_trace_job_artifacts.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnExpiredUnlockedNonTraceJobArtifacts < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_ci_job_artifacts_expire_at_unlocked_non_trace'
-
-  def up
-    add_concurrent_index :ci_job_artifacts, :expire_at,
-      name: INDEX_NAME,
-      where: 'locked = 0 AND file_type != 3 AND expire_at IS NOT NULL'
-  end
-
-  def down
-    remove_concurrent_index_by_name :ci_job_artifacts, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230302090155_add_async_index_on_unlocked_non_trace_job_artifacts_expire_at.rb b/db/post_migrate/20230302090155_add_async_index_on_unlocked_non_trace_job_artifacts_expire_at.rb
deleted file mode 100644
index 9f89b6916bdb1..0000000000000
--- a/db/post_migrate/20230302090155_add_async_index_on_unlocked_non_trace_job_artifacts_expire_at.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddAsyncIndexOnUnlockedNonTraceJobArtifactsExpireAt < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_ci_job_artifacts_expire_at_unlocked_non_trace'
-
-  def up
-    prepare_async_index :ci_job_artifacts, :expire_at,
-      name: INDEX_NAME,
-      where: 'locked = 0 AND file_type != 3 AND expire_at IS NOT NULL'
-  end
-
-  def down
-    unprepare_async_index :ci_job_artifacts, :expire_at, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230302123258_drop_runner_machines_constraint_on_ci_builds_metadata.rb b/db/post_migrate/20230302123258_drop_runner_machines_constraint_on_ci_builds_metadata.rb
deleted file mode 100644
index c8f1b3be9bdcb..0000000000000
--- a/db/post_migrate/20230302123258_drop_runner_machines_constraint_on_ci_builds_metadata.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class DropRunnerMachinesConstraintOnCiBuildsMetadata < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = 'p_ci_builds_metadata'
-  TARGET_TABLE_NAME = 'ci_runner_machines'
-  CONSTRAINT_NAME = 'fk_rails_fae01b2700'
-
-  def up
-    with_lock_retries(raise_on_exhaustion: true) do
-      remove_foreign_key_if_exists(SOURCE_TABLE_NAME, TARGET_TABLE_NAME, name: CONSTRAINT_NAME)
-    end
-  end
-
-  def down
-    with_lock_retries(raise_on_exhaustion: true) do
-      next if check_constraint_exists?(SOURCE_TABLE_NAME, CONSTRAINT_NAME)
-
-      execute(<<~SQL)
-        ALTER TABLE #{SOURCE_TABLE_NAME}
-        ADD CONSTRAINT #{CONSTRAINT_NAME} FOREIGN KEY (runner_machine_id)
-          REFERENCES #{TARGET_TABLE_NAME}(id) ON DELETE SET NULL
-      SQL
-    end
-  end
-end
diff --git a/db/post_migrate/20230302123259_ensure_ci_runner_machines_is_empty.rb b/db/post_migrate/20230302123259_ensure_ci_runner_machines_is_empty.rb
deleted file mode 100644
index 9f7233f43f54b..0000000000000
--- a/db/post_migrate/20230302123259_ensure_ci_runner_machines_is_empty.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureCiRunnerMachinesIsEmpty < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    return unless Gitlab::Database.gitlab_schemas_for_connection(connection).include?(:gitlab_ci)
-
-    # Ensure that the ci_runner_machines table is empty to ensure that new builds
-    # don't try to create new join records until we add the missing FK.
-    execute('TRUNCATE TABLE ci_runner_machines, p_ci_runner_machine_builds')
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230302123301_add_index_on_runner_machine_id_on_runner_machine_builds.rb b/db/post_migrate/20230302123301_add_index_on_runner_machine_id_on_runner_machine_builds.rb
deleted file mode 100644
index 035223382bd0c..0000000000000
--- a/db/post_migrate/20230302123301_add_index_on_runner_machine_id_on_runner_machine_builds.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnRunnerMachineIdOnRunnerMachineBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_p_ci_runner_machine_builds_on_runner_machine_id'
-
-  def up
-    add_concurrent_partitioned_index :p_ci_runner_machine_builds, :runner_machine_id, unique: false, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name :p_ci_runner_machine_builds, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230302163339_add_index_to_oauth_access_grants_application_id.rb b/db/post_migrate/20230302163339_add_index_to_oauth_access_grants_application_id.rb
deleted file mode 100644
index 0db6190e17d45..0000000000000
--- a/db/post_migrate/20230302163339_add_index_to_oauth_access_grants_application_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToOauthAccessGrantsApplicationId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_oauth_access_grants_on_application_id'
-
-  def up
-    add_concurrent_index :oauth_access_grants, :application_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :oauth_access_grants, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230302185739_queue_fix_vulnerability_reads_has_issues.rb b/db/post_migrate/20230302185739_queue_fix_vulnerability_reads_has_issues.rb
deleted file mode 100644
index 09a5f6e9478c4..0000000000000
--- a/db/post_migrate/20230302185739_queue_fix_vulnerability_reads_has_issues.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class QueueFixVulnerabilityReadsHasIssues < Gitlab::Database::Migration[2.1]
-  MIGRATION = "FixVulnerabilityReadsHasIssues"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1000
-  MAX_BATCH_SIZE = 10_000
-  SUB_BATCH_SIZE = 200
-
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerability_issue_links,
-      :vulnerability_id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerability_issue_links, :vulnerability_id, [])
-  end
-end
diff --git a/db/post_migrate/20230303105806_queue_delete_orphaned_packages_dependencies.rb b/db/post_migrate/20230303105806_queue_delete_orphaned_packages_dependencies.rb
deleted file mode 100644
index 8c741cf9868e3..0000000000000
--- a/db/post_migrate/20230303105806_queue_delete_orphaned_packages_dependencies.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class QueueDeleteOrphanedPackagesDependencies < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'DeleteOrphanedPackagesDependencies'
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 6000
-  SUB_BATCH_SIZE = 100
-
-  disable_ddl_transaction!
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :packages_dependencies,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :packages_dependencies, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230303120531_schedule_temporary_partitioning_indexes_removal.rb b/db/post_migrate/20230303120531_schedule_temporary_partitioning_indexes_removal.rb
deleted file mode 100644
index 73334be4214b2..0000000000000
--- a/db/post_migrate/20230303120531_schedule_temporary_partitioning_indexes_removal.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleTemporaryPartitioningIndexesRemoval < Gitlab::Database::Migration[2.1]
-  INDEXES = [
-    [:ci_pipelines, :tmp_index_ci_pipelines_on_partition_id_and_id],
-    [:ci_stages, :tmp_index_ci_stages_on_partition_id_and_id],
-    [:ci_builds, :tmp_index_ci_builds_on_partition_id_and_id],
-    [:ci_build_needs, :tmp_index_ci_build_needs_on_partition_id_and_id],
-    [:ci_build_report_results, :tmp_index_ci_build_report_results_on_partition_id_and_build_id],
-    [:ci_build_trace_metadata, :tmp_index_ci_build_trace_metadata_on_partition_id_and_id],
-    [:ci_job_artifacts, :tmp_index_ci_job_artifacts_on_partition_id_and_id],
-    [:ci_pipeline_variables, :tmp_index_ci_pipeline_variables_on_partition_id_and_id],
-    [:ci_job_variables, :tmp_index_ci_job_variables_on_partition_id_and_id],
-    [:ci_sources_pipelines, :tmp_index_ci_sources_pipelines_on_partition_id_and_id],
-    [:ci_sources_pipelines, :tmp_index_ci_sources_pipelines_on_source_partition_id_and_id],
-    [:ci_running_builds, :tmp_index_ci_running_builds_on_partition_id_and_id],
-    [:ci_pending_builds, :tmp_index_ci_pending_builds_on_partition_id_and_id],
-    [:ci_builds_runner_session, :tmp_index_ci_builds_runner_session_on_partition_id_and_id]
-  ]
-
-  def up
-    INDEXES.each do |table_name, index_name|
-      prepare_async_index_removal table_name, nil, name: index_name
-    end
-  end
-
-  def down
-    INDEXES.each do |table_name, index_name|
-      unprepare_async_index table_name, nil, name: index_name
-    end
-  end
-end
diff --git a/db/post_migrate/20230303154314_add_user_type_migration_indexes.rb b/db/post_migrate/20230303154314_add_user_type_migration_indexes.rb
deleted file mode 100644
index d4f48c1c977e4..0000000000000
--- a/db/post_migrate/20230303154314_add_user_type_migration_indexes.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class AddUserTypeMigrationIndexes < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  BILLABLE_INDEX = 'index_users_for_active_billable_users_migration'
-  LAST_ACTIVITY_INDEX = 'i_users_on_last_activity_for_active_human_service_migration'
-
-  # rubocop:disable Migration/PreventIndexCreation
-  def up
-    # Temporary indexes to migrate human user_type. See https://gitlab.com/gitlab-org/gitlab/-/issues/386474
-    add_concurrent_index :users, :id, name: BILLABLE_INDEX,
-      where: "state = 'active' AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[6, 4, 13]))) " \
-             "AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[4, 5])))"
-    add_concurrent_index :users, [:id, :last_activity_on], name: LAST_ACTIVITY_INDEX,
-      where: "((state)::text = 'active'::text) AND ((user_type IS NULL OR user_type = 0) OR (user_type = 4))"
-  end
-  # rubocop:enable Migration/PreventIndexCreation
-
-  def down
-    remove_concurrent_index_by_name :users, BILLABLE_INDEX
-    remove_concurrent_index_by_name :users, LAST_ACTIVITY_INDEX
-  end
-end
diff --git a/db/post_migrate/20230304184416_drop_revokable_from_achievements.rb b/db/post_migrate/20230304184416_drop_revokable_from_achievements.rb
deleted file mode 100644
index bb6c8d65c579a..0000000000000
--- a/db/post_migrate/20230304184416_drop_revokable_from_achievements.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class DropRevokableFromAchievements < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    remove_column :achievements, :revokeable, :boolean, default: false, null: false
-  end
-end
diff --git a/db/post_migrate/20230306071456_validate_partitioning_fk_on_p_ci_builds_metadata_partitions.rb b/db/post_migrate/20230306071456_validate_partitioning_fk_on_p_ci_builds_metadata_partitions.rb
deleted file mode 100644
index f07175e82f9a3..0000000000000
--- a/db/post_migrate/20230306071456_validate_partitioning_fk_on_p_ci_builds_metadata_partitions.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class ValidatePartitioningFkOnPCiBuildsMetadataPartitions < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :p_ci_builds_metadata
-  FK_NAME = :fk_e20479742e_p
-
-  def up
-    Gitlab::Database::PostgresPartitionedTable.each_partition(SOURCE_TABLE_NAME) do |partition|
-      next unless foreign_key_exists?(partition.identifier, name: FK_NAME)
-
-      validate_foreign_key(partition.identifier, nil, name: FK_NAME)
-    end
-  end
-
-  def down
-    # No-op
-  end
-end
diff --git a/db/post_migrate/20230306072532_add_partitioned_fk_to_p_ci_builds_metadata_on_partition_id_and_build_id.rb b/db/post_migrate/20230306072532_add_partitioned_fk_to_p_ci_builds_metadata_on_partition_id_and_build_id.rb
deleted file mode 100644
index d66950378d28c..0000000000000
--- a/db/post_migrate/20230306072532_add_partitioned_fk_to_p_ci_builds_metadata_on_partition_id_and_build_id.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# frozen_string_literal: true
-
-class AddPartitionedFkToPCiBuildsMetadataOnPartitionIdAndBuildId < Gitlab::Database::Migration[2.1]
-  SOURCE_TABLE_NAME = :p_ci_builds_metadata
-  TARGET_TABLE_NAME = :ci_builds
-  FK_NAME = :fk_e20479742e_p
-
-  disable_ddl_transaction!
-
-  def up
-    return if foreign_key_exists?(SOURCE_TABLE_NAME, TARGET_TABLE_NAME, name: FK_NAME)
-
-    with_lock_retries do
-      execute("LOCK TABLE #{TARGET_TABLE_NAME}, #{SOURCE_TABLE_NAME} IN ACCESS EXCLUSIVE MODE")
-
-      execute(<<~SQL.squish)
-        ALTER TABLE #{SOURCE_TABLE_NAME}
-        ADD CONSTRAINT #{FK_NAME}
-        FOREIGN KEY (partition_id, build_id)
-        REFERENCES #{TARGET_TABLE_NAME} (partition_id, id)
-        ON UPDATE CASCADE ON DELETE CASCADE;
-      SQL
-    end
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-end
diff --git a/db/post_migrate/20230306082852_remove_fk_to_ci_builds_p_ci_builds_metadata_on_build_id.rb b/db/post_migrate/20230306082852_remove_fk_to_ci_builds_p_ci_builds_metadata_on_build_id.rb
deleted file mode 100644
index 108a92aec3b7a..0000000000000
--- a/db/post_migrate/20230306082852_remove_fk_to_ci_builds_p_ci_builds_metadata_on_build_id.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkToCiBuildsPCiBuildsMetadataOnBuildId < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :p_ci_builds_metadata
-  TARGET_TABLE_NAME = :ci_builds
-  FK_NAME = :fk_e20479742e
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_partitioned_foreign_key(
-      SOURCE_TABLE_NAME,
-      TARGET_TABLE_NAME,
-      column: :build_id,
-      on_delete: :cascade,
-      name: FK_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230306143322_prepare_ci_builds_primary_key_for_partitioning.rb b/db/post_migrate/20230306143322_prepare_ci_builds_primary_key_for_partitioning.rb
deleted file mode 100644
index 99b52e4c443e9..0000000000000
--- a/db/post_migrate/20230306143322_prepare_ci_builds_primary_key_for_partitioning.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareCiBuildsPrimaryKeyForPartitioning < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_builds
-  PRIMARY_KEY = :ci_builds_pkey
-  NEW_INDEX_NAME = :index_ci_builds_on_id_partition_id_unique
-  OLD_INDEX_NAME = :index_ci_builds_on_id_unique
-
-  def up
-    swap_primary_key(TABLE_NAME, PRIMARY_KEY, NEW_INDEX_NAME)
-  end
-
-  def down
-    add_concurrent_index(TABLE_NAME, :id, unique: true, name: OLD_INDEX_NAME)
-    add_concurrent_index(TABLE_NAME, [:id, :partition_id], unique: true, name: NEW_INDEX_NAME)
-
-    unswap_primary_key(TABLE_NAME, PRIMARY_KEY, OLD_INDEX_NAME)
-
-    recreate_partitioned_foreign_keys
-  end
-
-  private
-
-  def recreate_partitioned_foreign_keys
-    add_partitioned_fk(:ci_job_variables, :fk_rails_fbf3b34792_p, column: :job_id)
-    add_partitioned_fk(:ci_job_artifacts, :fk_rails_c5137cb2c1_p, column: :job_id)
-    add_partitioned_fk(:ci_running_builds, :fk_rails_da45cfa165_p)
-    add_partitioned_fk(:ci_build_pending_states, :fk_861cd17da3_p)
-    add_partitioned_fk(:ci_build_trace_chunks, :fk_89e29fa5ee_p)
-    add_partitioned_fk(:ci_unit_test_failures, :fk_9e0fc58930_p)
-    add_partitioned_fk(:ci_build_trace_metadata, :fk_rails_aebc78111f_p)
-    add_partitioned_fk(:ci_pending_builds, :fk_rails_725a2644a3_p)
-    add_partitioned_fk(:ci_builds_runner_session, :fk_rails_70707857d3_p)
-    add_partitioned_fk(:ci_build_needs, :fk_rails_3cf221d4ed_p)
-    add_partitioned_fk(:ci_build_report_results, :fk_rails_16cb1ff064_p)
-    add_partitioned_fk(:ci_resources, :fk_e169a8e3d5_p, delete: :nullify)
-    add_partitioned_fk(:ci_sources_pipelines, :fk_be5624bf37_p, columns: %i[source_partition_id source_job_id])
-
-    add_routing_table_fk(:p_ci_builds_metadata, :fk_e20479742e_p)
-    add_routing_table_fk(:p_ci_runner_machine_builds, :fk_bb490f12fe_p)
-  end
-
-  def add_partitioned_fk(source_table, name, column: :build_id, columns: nil, delete: :cascade)
-    add_concurrent_foreign_key(source_table, :ci_builds,
-      column: columns || [:partition_id, column],
-      target_column: [:partition_id, :id],
-      reverse_lock_order: true,
-      on_update: :cascade,
-      on_delete: delete,
-      name: name)
-  end
-
-  def add_routing_table_fk(source_table, name)
-    add_concurrent_partitioned_foreign_key(source_table, :ci_builds,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      reverse_lock_order: true,
-      on_update: :cascade,
-      on_delete: :cascade,
-      name: name)
-  end
-end
diff --git a/db/post_migrate/20230306195007_queue_backfill_project_wiki_repositories.rb b/db/post_migrate/20230306195007_queue_backfill_project_wiki_repositories.rb
deleted file mode 100644
index 8da5536541b1a..0000000000000
--- a/db/post_migrate/20230306195007_queue_backfill_project_wiki_repositories.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillProjectWikiRepositories < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    # no-op
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230307085644_track_ci_runner_machine_record_changes.rb b/db/post_migrate/20230307085644_track_ci_runner_machine_record_changes.rb
deleted file mode 100644
index deae1a5796852..0000000000000
--- a/db/post_migrate/20230307085644_track_ci_runner_machine_record_changes.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class TrackCiRunnerMachineRecordChanges < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
-
-  enable_lock_retries!
-
-  def up
-    track_record_deletions(:ci_runner_machines)
-  end
-
-  def down
-    untrack_record_deletions(:ci_runner_machines)
-  end
-end
diff --git a/db/post_migrate/20230307160251_rename_constraint_fk_rails_f601258b28_on_events_table.rb b/db/post_migrate/20230307160251_rename_constraint_fk_rails_f601258b28_on_events_table.rb
deleted file mode 100644
index 6b5ba4c3825fe..0000000000000
--- a/db/post_migrate/20230307160251_rename_constraint_fk_rails_f601258b28_on_events_table.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class RenameConstraintFkRailsF601258b28OnEventsTable < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  TABLE_NAME = :events
-  FK_OLD_NAME = :fk_rails_f601258b28
-  FK_NEW_NAME = :fk_rails_0434b48643
-
-  def up
-    return unless foreign_key_exists?(TABLE_NAME, name: FK_OLD_NAME)
-
-    rename_constraint(TABLE_NAME, FK_OLD_NAME, FK_NEW_NAME)
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230309010000_add_unique_index_mr_user_mentions_note_id_convert_to_bigint.rb b/db/post_migrate/20230309010000_add_unique_index_mr_user_mentions_note_id_convert_to_bigint.rb
deleted file mode 100644
index 9927bfb995a77..0000000000000
--- a/db/post_migrate/20230309010000_add_unique_index_mr_user_mentions_note_id_convert_to_bigint.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexMrUserMentionsNoteIdConvertToBigint < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :merge_request_user_mentions
-  INDEX_NAME = :index_merge_request_user_mentions_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing index_merge_request_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: INDEX_NAME,
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230309010931_add_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb b/db/post_migrate/20230309010931_add_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
deleted file mode 100644
index 022e38460ae0e..0000000000000
--- a/db/post_migrate/20230309010931_add_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkOnMrUserMentionsNoteIdConvertToIdBigint < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :merge_request_user_mentions
-  TARGET_TABLE_NAME = :notes
-  FK_NAME = :fk_merge_request_user_mentions_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing fk_rails_c440b9ea31
-    # when we swap the integer and bigint columns
-    add_concurrent_foreign_key SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :note_id_convert_to_bigint,
-      name: FK_NAME,
-      on_delete: :cascade,
-      reverse_lock_order: true,
-      validate: false
-  end
-
-  def down
-    return unless should_run?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230309020422_validate_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb b/db/post_migrate/20230309020422_validate_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
deleted file mode 100644
index 104fb7edb7e92..0000000000000
--- a/db/post_migrate/20230309020422_validate_fk_on_mr_user_mentions_note_id_convert_to_id_bigint.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkOnMrUserMentionsNoteIdConvertToIdBigint < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :merge_request_user_mentions
-  COLUMN = :note_id_convert_to_bigint
-  FK_NAME = :fk_merge_request_user_mentions_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230309071242_delete_security_policy_bot_users.rb b/db/post_migrate/20230309071242_delete_security_policy_bot_users.rb
deleted file mode 100644
index 0a9ace2574cad..0000000000000
--- a/db/post_migrate/20230309071242_delete_security_policy_bot_users.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteSecurityPolicyBotUsers < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class User < MigrationRecord
-    self.table_name = 'users'
-
-    enum user_type: { security_policy_bot: 10 }
-  end
-
-  def up
-    User.where(user_type: :security_policy_bot).delete_all
-  end
-
-  def down
-    # no-op
-
-    # Deleted records can't be restored
-  end
-end
diff --git a/db/post_migrate/20230309085547_prepare_ci_builds_constraints_for_list_partitioning.rb b/db/post_migrate/20230309085547_prepare_ci_builds_constraints_for_list_partitioning.rb
deleted file mode 100644
index 966bff7d5447c..0000000000000
--- a/db/post_migrate/20230309085547_prepare_ci_builds_constraints_for_list_partitioning.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareCiBuildsConstraintsForListPartitioning < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_check_constraint(:ci_builds, 'partition_id = 100', 'partitioning_constraint', validate: false)
-    prepare_async_check_constraint_validation(:ci_builds, name: 'partitioning_constraint')
-  end
-
-  def down
-    unprepare_async_check_constraint_validation(:ci_builds, name: 'partitioning_constraint')
-    remove_check_constraint(:ci_builds, 'partitioning_constraint')
-  end
-end
diff --git a/db/post_migrate/20230309103016_drop_id_partition_id_index_from_p_ci_build_metadata.rb b/db/post_migrate/20230309103016_drop_id_partition_id_index_from_p_ci_build_metadata.rb
deleted file mode 100644
index 6e8866c05526e..0000000000000
--- a/db/post_migrate/20230309103016_drop_id_partition_id_index_from_p_ci_build_metadata.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class DropIdPartitionIdIndexFromPCiBuildMetadata < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :p_ci_builds_metadata
-  INDEX_NAME = :p_ci_builds_metadata_id_partition_id_idx
-
-  def up
-    remove_concurrent_partitioned_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  def down
-    add_concurrent_partitioned_index(TABLE_NAME, %i[id partition_id], unique: true, name: INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230310020356_swap_merge_request_user_mentions_note_id_to_bigint_2.rb b/db/post_migrate/20230310020356_swap_merge_request_user_mentions_note_id_to_bigint_2.rb
deleted file mode 100644
index c680b1294932d..0000000000000
--- a/db/post_migrate/20230310020356_swap_merge_request_user_mentions_note_id_to_bigint_2.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-# frozen_string_literal: true
-
-class SwapMergeRequestUserMentionsNoteIdToBigint2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'merge_request_user_mentions'
-
-  def up
-    return unless should_run?
-    return if columns_already_swapped?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-    return unless columns_already_swapped?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_merge_request_user_mentions_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_merge_request_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade,
-      validate: false
-  end
-
-  def swap
-    # This will replace the existing index_merge_request_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_merge_request_user_mentions_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    # This will replace the existing merge_request_user_mentions_on_mr_id_and_note_id_index
-    add_concurrent_index TABLE_NAME, [:merge_request_id, :note_id_convert_to_bigint], unique: true,
-      name: 'mr_user_mentions_on_mr_id_and_note_id_convert_to_bigint_index'
-
-    # This will replace the existing merge_request_user_mentions_on_mr_id_index
-    add_concurrent_index TABLE_NAME, :merge_request_id, unique: true,
-      name: 'merge_request_user_mentions_on_mr_id_index_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NULL'
-
-    # This will replace the existing fk_rails_c440b9ea31
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_merge_request_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS index_merge_request_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_merge_request_user_mentions_note_id_convert_to_bigint',
-        'index_merge_request_user_mentions_on_note_id'
-
-      execute 'DROP INDEX IF EXISTS merge_request_user_mentions_on_mr_id_and_note_id_index'
-      rename_index TABLE_NAME, 'mr_user_mentions_on_mr_id_and_note_id_convert_to_bigint_index',
-        'merge_request_user_mentions_on_mr_id_and_note_id_index'
-
-      execute 'DROP INDEX IF EXISTS merge_request_user_mentions_on_mr_id_index'
-      rename_index TABLE_NAME, 'merge_request_user_mentions_on_mr_id_index_convert_to_bigint',
-        'merge_request_user_mentions_on_mr_id_index'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_c440b9ea31"
-      rename_constraint(TABLE_NAME, 'fk_merge_request_user_mentions_note_id_convert_to_bigint', 'fk_rails_c440b9ea31')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-
-  def columns_already_swapped?
-    table_columns = columns(TABLE_NAME)
-    note_id = table_columns.find { |c| c.name == 'note_id' }
-    note_id_convert_to_bigint = table_columns.find { |c| c.name == 'note_id_convert_to_bigint' }
-
-    note_id_convert_to_bigint.sql_type == 'integer' && note_id.sql_type == 'bigint'
-  end
-end
diff --git a/db/post_migrate/20230310111859_recreate_user_type_migration_indexes.rb b/db/post_migrate/20230310111859_recreate_user_type_migration_indexes.rb
deleted file mode 100644
index 147409bf5f0d6..0000000000000
--- a/db/post_migrate/20230310111859_recreate_user_type_migration_indexes.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class RecreateUserTypeMigrationIndexes < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INCORRECT_BILLABLE_INDEX = 'index_users_for_active_billable_users_migration'
-  BILLABLE_INDEX = 'migrate_index_users_for_active_billable_users'
-
-  def up
-    # Temporary index to migrate human user_type. See https://gitlab.com/gitlab-org/gitlab/-/issues/386474
-    # rubocop:disable Migration/PreventIndexCreation
-    add_concurrent_index :users, :id, name: BILLABLE_INDEX,
-      where: "state = 'active' AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[0, 6, 4, 13]))) " \
-             "AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[0, 4, 5])))"
-    # rubocop:enable Migration/PreventIndexCreation
-
-    remove_concurrent_index_by_name :users, INCORRECT_BILLABLE_INDEX
-  end
-
-  def down
-    add_concurrent_index :users, :id, name: INCORRECT_BILLABLE_INDEX,
-      where: "state = 'active' AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[6, 4, 13]))) " \
-             "AND ((user_type IS NULL OR user_type = 0) OR (user_type = ANY (ARRAY[4, 5])))"
-    remove_concurrent_index_by_name :users, BILLABLE_INDEX
-  end
-end
diff --git a/db/post_migrate/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug.rb b/db/post_migrate/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug.rb
deleted file mode 100644
index 3435f889fa7bf..0000000000000
--- a/db/post_migrate/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-class SyncSecurityPolicyRuleSchedulesThatMayHaveBeenDeletedByABug < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class OrchestrationPolicyRuleSchedule < MigrationRecord
-    self.table_name = 'security_orchestration_policy_rule_schedules'
-  end
-
-  def up
-    return unless Gitlab.ee?
-    return unless sync_scan_policies_worker
-
-    OrchestrationPolicyRuleSchedule
-      .select(:security_orchestration_policy_configuration_id)
-      .distinct
-      .where(policy_index: 1..)
-      .pluck(:security_orchestration_policy_configuration_id)
-      .map { |policy_configuration_id| [policy_configuration_id] }
-      .then { |args_list| sync_scan_policies_worker.bulk_perform_async(args_list) }
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def sync_scan_policies_worker
-    unless defined?(@sync_scan_policies_worker)
-      @sync_scan_policies_worker = 'Security::SyncScanPoliciesWorker'.safe_constantize
-    end
-
-    @sync_scan_policies_worker
-  end
-end
diff --git a/db/post_migrate/20230313031629_ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230313031629_ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index d651ca463af34..0000000000000
--- a/db/post_migrate/20230313031629_ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureCommitUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'commit_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230313133001_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230313133001_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index ffda926c49e4a..0000000000000
--- a/db/post_migrate/20230313133001_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureMergeRequestMetricsIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'merge_request_metrics',
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230313142631_backfill_ml_candidates_package_id.rb b/db/post_migrate/20230313142631_backfill_ml_candidates_package_id.rb
deleted file mode 100644
index 09f7cf5a0ba2a..0000000000000
--- a/db/post_migrate/20230313142631_backfill_ml_candidates_package_id.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillMlCandidatesPackageId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    sql = <<-SQL
-      UPDATE ml_candidates
-      SET package_id = candidate_id_to_package_id.package_id
-      FROM (SELECT id as package_id, TRIM(LEADING 'ml_candidates_' FROM name) as candidate_id
-            FROM packages_packages
-            WHERE name LIKE 'ml_candidate_%'
-              and version = '-') AS candidate_id_to_package_id
-      WHERE cast(ml_candidates.id as text) = candidate_id_to_package_id.candidate_id
-    SQL
-
-    execute(sql)
-  end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230313143033_swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230313143033_swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 089dd62103398..0000000000000
--- a/db/post_migrate/20230313143033_swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# frozen_string_literal: true
-
-class SwapMergeRequestMetricsIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'merge_request_metrics'
-  TMP_INDEX_NAME = 'tmp_index_mr_metrics_on_target_project_id_merged_at_nulls_last'
-  INDEX_NAME = 'index_mr_metrics_on_target_project_id_merged_at_nulls_last'
-  CONSTRAINT_NAME = 'merge_request_metrics_pkey'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  private
-
-  def swap
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true,
-      name: 'index_merge_request_metrics_on_id_convert_to_bigint'
-    add_concurrent_index TABLE_NAME, 'target_project_id, merged_at DESC NULLS LAST, id_convert_to_bigint DESC',
-      name: TMP_INDEX_NAME
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id TO id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_convert_to_bigint TO id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_tmp TO id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:id, :id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults of the columns, and change ownership of the sequence to the new id
-      execute "ALTER SEQUENCE merge_request_metrics_id_seq OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('merge_request_metrics_id_seq'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      # Swap PK constraint
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS #{CONSTRAINT_NAME}"
-      rename_index TABLE_NAME, 'index_merge_request_metrics_on_id_convert_to_bigint', CONSTRAINT_NAME
-      execute "ALTER TABLE #{TABLE_NAME} ADD CONSTRAINT #{CONSTRAINT_NAME} PRIMARY KEY USING INDEX #{CONSTRAINT_NAME}"
-
-      # Rename the rest of the indexes (we already hold an exclusive lock, so no need to use DROP INDEX CONCURRENTLY)
-      execute "DROP INDEX IF EXISTS #{INDEX_NAME}"
-      rename_index TABLE_NAME, TMP_INDEX_NAME, INDEX_NAME
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230313150531_reschedule_migration_for_remediation.rb b/db/post_migrate/20230313150531_reschedule_migration_for_remediation.rb
deleted file mode 100644
index cef9c2338e9a3..0000000000000
--- a/db/post_migrate/20230313150531_reschedule_migration_for_remediation.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-# rubocop:disable BackgroundMigration/DictionaryFile -- MigrateRemediationsForVulnerabilityFindings is rescheduled
-
-class RescheduleMigrationForRemediation < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'MigrateRemediationsForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 5000
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerability_occurrences,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-  end
-end
-# rubocop:enable BackgroundMigration/DictionaryFile
diff --git a/db/post_migrate/20230313184306_add_temp_index_for_software_license_cleanup.rb b/db/post_migrate/20230313184306_add_temp_index_for_software_license_cleanup.rb
deleted file mode 100644
index d2e35a0fa9e1f..0000000000000
--- a/db/post_migrate/20230313184306_add_temp_index_for_software_license_cleanup.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddTempIndexForSoftwareLicenseCleanup < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'tmp_index_for_software_licenses_spdx_identifier_cleanup'
-
-  def up
-    add_concurrent_index :software_licenses, :spdx_identifier, where: 'spdx_identifier IS NULL', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :software_licenses, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230313185145_cleanup_orphan_software_licenses.rb b/db/post_migrate/20230313185145_cleanup_orphan_software_licenses.rb
deleted file mode 100644
index af971f692d6b6..0000000000000
--- a/db/post_migrate/20230313185145_cleanup_orphan_software_licenses.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupOrphanSoftwareLicenses < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class SoftwareLicense < MigrationRecord
-    self.table_name = 'software_licenses'
-  end
-
-  class SoftwareLicensePolicy < MigrationRecord
-    self.table_name = 'software_license_policies'
-  end
-
-  def up
-    SoftwareLicense
-      .where(spdx_identifier: nil)
-      .where.not(
-        id: SoftwareLicensePolicy.select(:software_license_id)
-      ).delete_all
-  end
-
-  def down
-    # NO-OP
-  end
-end
diff --git a/db/post_migrate/20230314144640_reschedule_migration_for_links.rb b/db/post_migrate/20230314144640_reschedule_migration_for_links.rb
deleted file mode 100644
index 26d2f5b1d2cab..0000000000000
--- a/db/post_migrate/20230314144640_reschedule_migration_for_links.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RescheduleMigrationForLinks < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'MigrateLinksForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 10000
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    # no-op as it is rescheduled via db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
-  end
-
-  def down
-    # no-op as it is rescheduled via db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
-  end
-end
diff --git a/db/post_migrate/20230314210657_set_email_confirmation_setting_from_soft_email_confirmation_ff.rb b/db/post_migrate/20230314210657_set_email_confirmation_setting_from_soft_email_confirmation_ff.rb
deleted file mode 100644
index d01821ab83877..0000000000000
--- a/db/post_migrate/20230314210657_set_email_confirmation_setting_from_soft_email_confirmation_ff.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class SetEmailConfirmationSettingFromSoftEmailConfirmationFf < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class ApplicationSetting < MigrationRecord
-    self.table_name = 'application_settings'
-  end
-
-  class FeatureGates < MigrationRecord
-    self.table_name = 'feature_gates'
-  end
-
-  def up
-    return unless FeatureGates.find_by(feature_key: 'soft_email_confirmation')&.value == 'true'
-
-    ApplicationSetting.update_all(email_confirmation_setting: 1)
-  end
-
-  def down
-    ApplicationSetting.update_all(email_confirmation_setting: 0)
-  end
-end
diff --git a/db/post_migrate/20230315084704_finalize_issues_iid_scoping_to_namespace.rb b/db/post_migrate/20230315084704_finalize_issues_iid_scoping_to_namespace.rb
deleted file mode 100644
index f9d4013d5f379..0000000000000
--- a/db/post_migrate/20230315084704_finalize_issues_iid_scoping_to_namespace.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeIssuesIidScopingToNamespace < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'IssuesInternalIdScopeUpdater'
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :internal_ids,
-      column_name: :id,
-      job_arguments: [],
-      finalize: true)
-  end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230315161408_finalize_set_notifications_bigint_conversion_backfill.rb b/db/post_migrate/20230315161408_finalize_set_notifications_bigint_conversion_backfill.rb
deleted file mode 100644
index 2f83fc15672a6..0000000000000
--- a/db/post_migrate/20230315161408_finalize_set_notifications_bigint_conversion_backfill.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeSetNotificationsBigintConversionBackfill < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :sent_notifications
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: TABLE_NAME,
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # No op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230316014650_remove_index_on_events_action_async.rb b/db/post_migrate/20230316014650_remove_index_on_events_action_async.rb
deleted file mode 100644
index bc4bc4f941dd0..0000000000000
--- a/db/post_migrate/20230316014650_remove_index_on_events_action_async.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexOnEventsActionAsync < Gitlab::Database::Migration[2.1]
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/396830
-  def up
-    prepare_async_index_removal :events, :action, name: 'index_events_on_action'
-  end
-
-  def down
-    unprepare_async_index :events, :action, name: 'index_events_on_action'
-  end
-end
diff --git a/db/post_migrate/20230316014651_remove_index_on_events_action.rb b/db/post_migrate/20230316014651_remove_index_on_events_action.rb
deleted file mode 100644
index 61a3077c330c5..0000000000000
--- a/db/post_migrate/20230316014651_remove_index_on_events_action.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexOnEventsAction < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index :events, :action, name: 'index_events_on_action'
-  end
-
-  def down
-    add_concurrent_index :events, :action, name: 'index_events_on_action'
-  end
-end
diff --git a/db/post_migrate/20230316073726_backfill_current_value_with_progress_work_item_progresses.rb b/db/post_migrate/20230316073726_backfill_current_value_with_progress_work_item_progresses.rb
deleted file mode 100644
index cad5c74bb8a32..0000000000000
--- a/db/post_migrate/20230316073726_backfill_current_value_with_progress_work_item_progresses.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillCurrentValueWithProgressWorkItemProgresses < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    each_batch('work_item_progresses', connection: connection) do |relation|
-      min, max = relation.pick('MIN(issue_id), MAX(issue_id)')
-
-      execute(<<~SQL)
-        UPDATE work_item_progresses SET current_value = progress
-        WHERE issue_id BETWEEN #{min} AND #{max}
-      SQL
-    end
-  end
-
-  def down
-    # no-op as the columns are newly added
-  end
-end
diff --git a/db/post_migrate/20230316114426_swap_ci_runner_machine_builds_primary_key.rb b/db/post_migrate/20230316114426_swap_ci_runner_machine_builds_primary_key.rb
deleted file mode 100644
index ea23edf8eb564..0000000000000
--- a/db/post_migrate/20230316114426_swap_ci_runner_machine_builds_primary_key.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class SwapCiRunnerMachineBuildsPrimaryKey < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op. See https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8588 for details
-  end
-
-  def down
-    # no-op. See https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8588 for details
-  end
-end
diff --git a/db/post_migrate/20230316164917_remove_packages_events_package_id_fk.rb b/db/post_migrate/20230316164917_remove_packages_events_package_id_fk.rb
deleted file mode 100644
index 1b030741564ab..0000000000000
--- a/db/post_migrate/20230316164917_remove_packages_events_package_id_fk.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class RemovePackagesEventsPackageIdFk < Gitlab::Database::Migration[2.1]
-  FK_NAME = 'fk_rails_c6c20d0094'
-  SOURCE_TABLE = :packages_events
-  TARGET_TABLE = :packages_packages
-  COLUMN = :package_id
-
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE,
-        TARGET_TABLE,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(
-      SOURCE_TABLE,
-      TARGET_TABLE,
-      name: FK_NAME,
-      column: COLUMN,
-      on_delete: :nullify
-    )
-  end
-end
diff --git a/db/post_migrate/20230316185746_drop_packages_events_table.rb b/db/post_migrate/20230316185746_drop_packages_events_table.rb
deleted file mode 100644
index f8b37651249f5..0000000000000
--- a/db/post_migrate/20230316185746_drop_packages_events_table.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class DropPackagesEventsTable < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :packages_events, if_exists: true
-  end
-
-  def down
-    return if table_exists?(:packages_events)
-
-    create_table :packages_events do |t|
-      t.integer :event_type, limit: 2, null: false
-      t.integer :event_scope, limit: 2, null: false
-      t.integer :originator_type, limit: 2, null: false
-      t.bigint :originator
-      t.datetime_with_timezone :created_at, null: false
-      t.references :package,
-        index: true,
-        foreign_key: { to_table: :packages_packages, on_delete: :nullify },
-        type: :bigint
-    end
-  end
-end
diff --git a/db/post_migrate/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation.rb b/db/post_migrate/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation.rb
deleted file mode 100644
index 22ef3381c1747..0000000000000
--- a/db/post_migrate/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation.rb
+++ /dev/null
@@ -1,135 +0,0 @@
-# frozen_string_literal: true
-
-class MigrateDailyRedisHllEventsToWeeklyAggregation < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  DAILY_EVENTS =
-    %w[g_edit_by_web_ide
-      g_edit_by_sfe
-      g_edit_by_snippet_ide
-      g_edit_by_live_preview
-      wiki_action
-      design_action
-      project_action
-      git_write_action
-      merge_request_action
-      i_source_code_code_intelligence
-      g_project_management_issue_title_changed
-      g_project_management_issue_description_changed
-      g_project_management_issue_assignee_changed
-      g_project_management_issue_made_confidential
-      g_project_management_issue_made_visible
-      g_project_management_issue_created
-      g_project_management_issue_closed
-      g_project_management_issue_reopened
-      g_project_management_issue_label_changed
-      g_project_management_issue_milestone_changed
-      g_project_management_issue_cross_referenced
-      g_project_management_issue_moved
-      g_project_management_issue_related
-      g_project_management_issue_unrelated
-      g_project_management_issue_marked_as_duplicate
-      g_project_management_issue_locked
-      g_project_management_issue_unlocked
-      g_project_management_issue_designs_added
-      g_project_management_issue_designs_modified
-      g_project_management_issue_designs_removed
-      g_project_management_issue_due_date_changed
-      g_project_management_issue_design_comments_removed
-      g_project_management_issue_time_estimate_changed
-      g_project_management_issue_time_spent_changed
-      g_project_management_issue_comment_added
-      g_project_management_issue_comment_edited
-      g_project_management_issue_comment_removed
-      g_project_management_issue_cloned
-      g_geo_proxied_requests
-      approval_project_rule_created
-      g_project_management_issue_added_to_epic
-      g_project_management_issue_changed_epic
-      g_project_management_issue_health_status_changed
-      g_project_management_issue_iteration_changed
-      g_project_management_issue_removed_from_epic
-      g_project_management_issue_weight_changed
-      g_geo_proxied_requests
-      g_project_management_users_creating_epic_boards
-      g_project_management_users_viewing_epic_boards
-      g_project_management_users_updating_epic_board_names
-      g_project_management_epic_created
-      project_management_users_unchecking_epic_task
-      project_management_users_checking_epic_task
-      g_project_management_users_updating_epic_titles
-      g_project_management_users_updating_epic_descriptions
-      g_project_management_users_creating_epic_notes
-      g_project_management_users_updating_epic_notes
-      g_project_management_users_destroying_epic_notes
-      g_project_management_users_awarding_epic_emoji
-      g_project_management_users_removing_epic_emoji
-      g_project_management_users_setting_epic_start_date_as_fixed
-      g_project_management_users_updating_fixed_epic_start_date
-      g_project_management_users_setting_epic_start_date_as_inherited
-      g_project_management_users_setting_epic_due_date_as_fixed
-      g_project_management_users_updating_fixed_epic_due_date
-      g_project_management_users_setting_epic_due_date_as_inherited
-      g_project_management_epic_issue_added
-      g_project_management_epic_issue_removed
-      g_project_management_epic_issue_moved_from_project
-      g_project_management_users_updating_epic_parent
-      g_project_management_epic_closed
-      g_project_management_epic_reopened
-      g_project_management_issue_promoted_to_epic
-      g_project_management_users_setting_epic_confidential
-      g_project_management_users_setting_epic_visible
-      g_project_management_epic_users_changing_labels
-      g_project_management_epic_destroyed
-      g_project_management_epic_cross_referenced
-      g_project_management_users_epic_issue_added_from_epic
-      g_project_management_epic_related_added
-      g_project_management_epic_related_removed
-      g_project_management_epic_blocking_added
-      g_project_management_epic_blocking_removed
-      g_project_management_epic_blocked_added
-      g_project_management_epic_blocked_removed].freeze
-
-  def up
-    days_back = 29.days
-    start_date = Date.today - days_back - 1.day
-    end_date = Date.today + 1.day
-    keys = {}
-
-    Gitlab::UsageDataCounters::HLLRedisCounter.known_events.each do |event|
-      next unless DAILY_EVENTS.include?(event[:name].to_s)
-
-      (start_date..end_date).each do |date|
-        daily_key = redis_key(event, date, :daily)
-        weekly_key = redis_key(event, date, :weekly)
-
-        keys.key?(weekly_key) ? keys[weekly_key] << daily_key : keys[weekly_key] = [daily_key]
-      end
-    end
-
-    keys.each do |weekly_key, daily_keys|
-      Gitlab::Redis::SharedState.with do |redis|
-        redis.pfmerge(weekly_key, *daily_keys)
-        redis.expire(weekly_key, 6.weeks)
-      end
-    end
-  end
-
-  def down
-    # no-op
-  end
-
-  # can't set daily key in HLLRedisCounter anymore, so need to duplicate logic here
-  def redis_key(event, time, aggregation)
-    key = "{hll_counters}_#{event[:name]}"
-    if aggregation.to_sym == :daily
-      year_day = time.strftime('%G-%j')
-      "#{year_day}-#{key}"
-    else
-      year_week = time.strftime('%G-%V')
-      "#{key}-#{year_week}"
-    end
-  end
-end
diff --git a/db/post_migrate/20230317075852_add_tmp_unique_packages_index_when_debian.rb b/db/post_migrate/20230317075852_add_tmp_unique_packages_index_when_debian.rb
deleted file mode 100644
index 9ea8d35836647..0000000000000
--- a/db/post_migrate/20230317075852_add_tmp_unique_packages_index_when_debian.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class AddTmpUniquePackagesIndexWhenDebian < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :packages_packages
-  PACKAGE_TYPE_DEBIAN = 9
-  PACKAGE_STATUS_PENDING_DESTRUCTION = 4
-  TMP_DEBIAN_UNIQUE_INDEX_NAME = 'tmp_unique_packages_project_id_and_name_and_version_when_debian'
-
-  disable_ddl_transaction!
-
-  def up
-    # This index will disallow further duplicates while we're deduplicating the data.
-    add_concurrent_index TABLE_NAME, [:project_id, :name, :version],
-      where: "package_type = #{PACKAGE_TYPE_DEBIAN} AND status != #{PACKAGE_STATUS_PENDING_DESTRUCTION} AND
-        created_at > TIMESTAMP WITH TIME ZONE '#{Time.now.utc}'",
-      unique: true,
-      name: TMP_DEBIAN_UNIQUE_INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, TMP_DEBIAN_UNIQUE_INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230317080000_ensure_unique_debian_packages.rb b/db/post_migrate/20230317080000_ensure_unique_debian_packages.rb
deleted file mode 100644
index 250e0cb2369b0..0000000000000
--- a/db/post_migrate/20230317080000_ensure_unique_debian_packages.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureUniqueDebianPackages < Gitlab::Database::Migration[2.1]
-  BATCH_SIZE = 1_000
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class Package < MigrationRecord
-    include EachBatch
-
-    self.table_name = 'packages_packages'
-
-    enum package_type: { debian: 9 }
-
-    enum status: { pending_destruction: 4 }
-  end
-
-  def up
-    Package.distinct_each_batch(column: :project_id) do |package_projects|
-      project_ids = package_projects.pluck(:project_id)
-      duplicates = Package.debian
-                          .not_pending_destruction
-                          .where(project_id: project_ids)
-                          .select('project_id, name, version, MAX(id) as last_id')
-                          .group(:project_id, :name, :version)
-                          .having('count(id) > 1')
-      loop do
-        duplicates.limit(BATCH_SIZE).each do |duplicate|
-          Package.debian
-                .not_pending_destruction
-                .where(
-                  project_id: duplicate.project_id,
-                  name: duplicate.name,
-                  version: duplicate.version,
-                  id: ..duplicate.last_id - 1
-                ).update_all status: :pending_destruction
-        end
-        break unless duplicates.exists?
-      end
-    end
-  end
-
-  def down
-    # nothing to do
-  end
-end
diff --git a/db/post_migrate/20230317080137_add_unique_packages_index_when_debian.rb b/db/post_migrate/20230317080137_add_unique_packages_index_when_debian.rb
deleted file mode 100644
index b079e860c0f84..0000000000000
--- a/db/post_migrate/20230317080137_add_unique_packages_index_when_debian.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniquePackagesIndexWhenDebian < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :packages_packages
-  PACKAGE_TYPE_DEBIAN = 9
-  PACKAGE_STATUS_PENDING_DESTRUCTION = 4
-  TMP_DEBIAN_UNIQUE_INDEX_NAME = 'tmp_unique_packages_project_id_and_name_and_version_when_debian'
-  DEBIAN_UNIQUE_INDEX_NAME = 'unique_packages_project_id_and_name_and_version_when_debian'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index TABLE_NAME, [:project_id, :name, :version],
-      where: "package_type = #{PACKAGE_TYPE_DEBIAN} AND status != #{PACKAGE_STATUS_PENDING_DESTRUCTION}",
-      unique: true,
-      name: DEBIAN_UNIQUE_INDEX_NAME
-    remove_concurrent_index_by_name TABLE_NAME, TMP_DEBIAN_UNIQUE_INDEX_NAME
-  end
-
-  def down
-    # This index will disallow further duplicates while we're deduplicating the data.
-    add_concurrent_index TABLE_NAME, [:project_id, :name, :version],
-      where: "package_type = #{PACKAGE_TYPE_DEBIAN} AND status != #{PACKAGE_STATUS_PENDING_DESTRUCTION} AND
-        created_at > TIMESTAMP WITH TIME ZONE '#{Time.now.utc}'",
-      unique: true,
-      name: TMP_DEBIAN_UNIQUE_INDEX_NAME
-    remove_concurrent_index_by_name TABLE_NAME, DEBIAN_UNIQUE_INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230317151841_remove_from_to_state_constraint.rb b/db/post_migrate/20230317151841_remove_from_to_state_constraint.rb
deleted file mode 100644
index 21913d394d19b..0000000000000
--- a/db/post_migrate/20230317151841_remove_from_to_state_constraint.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFromToStateConstraint < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    constraint_name = check_constraint_name(
-      'vulnerability_state_transitions',
-      'fully_qualified_table_name',
-      'state_not_equal')
-    remove_check_constraint(:vulnerability_state_transitions, constraint_name)
-  end
-
-  def down
-    constraint_name = check_constraint_name(
-      'vulnerability_state_transitions',
-      'fully_qualified_table_name',
-      'state_not_equal')
-    add_check_constraint(:vulnerability_state_transitions, '(from_state != to_state)', constraint_name)
-  end
-end
diff --git a/db/post_migrate/20230317195228_prepare_async_sent_notifications_index.rb b/db/post_migrate/20230317195228_prepare_async_sent_notifications_index.rb
deleted file mode 100644
index ea035b3ee585a..0000000000000
--- a/db/post_migrate/20230317195228_prepare_async_sent_notifications_index.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncSentNotificationsIndex < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :sent_notifications
-  COLUMN_NAME = :id_convert_to_bigint
-  INDEX_NAME = :index_sent_notifications_on_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_index TABLE_NAME, COLUMN_NAME, name: INDEX_NAME, unique: true
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_index TABLE_NAME, COLUMN_NAME, name: INDEX_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230319105436_remove_member_role_download_code.rb b/db/post_migrate/20230319105436_remove_member_role_download_code.rb
deleted file mode 100644
index 34921b8d806f4..0000000000000
--- a/db/post_migrate/20230319105436_remove_member_role_download_code.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveMemberRoleDownloadCode < Gitlab::Database::Migration[2.1]
-  def change
-    remove_column :member_roles, :download_code, :boolean, default: false
-  end
-end
diff --git a/db/post_migrate/20230320110802_add_index_to_vulnerability_findings_on_uuid.rb b/db/post_migrate/20230320110802_add_index_to_vulnerability_findings_on_uuid.rb
deleted file mode 100644
index 6795a7ecbe74a..0000000000000
--- a/db/post_migrate/20230320110802_add_index_to_vulnerability_findings_on_uuid.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToVulnerabilityFindingsOnUuid < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_vuln_findings_on_uuid_including_vuln_id'
-
-  disable_ddl_transaction!
-
-  # TODO: Index to be created synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/397740
-
-  def up
-    prepare_async_index_from_sql <<-SQL
-      CREATE UNIQUE INDEX CONCURRENTLY #{INDEX_NAME} ON vulnerability_occurrences (uuid) include (vulnerability_id);
-    SQL
-  end
-
-  def down
-    unprepare_async_index_by_name(:vulnerability_occurrences, INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230320155635_add_index_to_namespace_details.rb b/db/post_migrate/20230320155635_add_index_to_namespace_details.rb
deleted file mode 100644
index de00c57836b55..0000000000000
--- a/db/post_migrate/20230320155635_add_index_to_namespace_details.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToNamespaceDetails < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_fuc_over_limit_notified_at'
-  TABLE_NAME = 'namespace_details'
-  COLUMN_NAME = 'free_user_cap_over_limit_notified_at'
-
-  def up
-    add_concurrent_index TABLE_NAME, COLUMN_NAME, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230321003252_swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230321003252_swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 6b75ca44cc228..0000000000000
--- a/db/post_migrate/20230321003252_swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-# frozen_string_literal: true
-
-class SwapCommitUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'commit_user_mentions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing commit_user_mentions_on_commit_id_and_note_id_unique_index
-    add_concurrent_index TABLE_NAME, [:commit_id, :note_id_convert_to_bigint], unique: true,
-      name: 'commit_user_mentions_on_commit_id_and_note_id_convert_to_bigint'
-
-    # This will replace the existing index_commit_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_commit_user_mentions_on_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_rails_a6760813e0
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_commit_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults
-      change_column_default TABLE_NAME, :note_id, nil
-      change_column_default TABLE_NAME, :note_id_convert_to_bigint, 0
-
-      execute 'DROP INDEX IF EXISTS commit_user_mentions_on_commit_id_and_note_id_unique_index'
-      rename_index TABLE_NAME, 'commit_user_mentions_on_commit_id_and_note_id_convert_to_bigint',
-        'commit_user_mentions_on_commit_id_and_note_id_unique_index'
-
-      execute 'DROP INDEX IF EXISTS index_commit_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_commit_user_mentions_on_note_id_convert_to_bigint',
-        'index_commit_user_mentions_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_a6760813e0"
-      rename_constraint(TABLE_NAME, 'fk_commit_user_mentions_note_id_convert_to_bigint', 'fk_rails_a6760813e0')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321011529_ensure_vum_bigint_backfill_is_finished_for_gl_dot_com.rb b/db/post_migrate/20230321011529_ensure_vum_bigint_backfill_is_finished_for_gl_dot_com.rb
deleted file mode 100644
index be4eb05634a63..0000000000000
--- a/db/post_migrate/20230321011529_ensure_vum_bigint_backfill_is_finished_for_gl_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureVumBigintBackfillIsFinishedForGlDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'vulnerability_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321011903_swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230321011903_swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 6c5c001fe0fcf..0000000000000
--- a/db/post_migrate/20230321011903_swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# frozen_string_literal: true
-
-class SwapVulnerabilityUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'vulnerability_user_mentions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing index_vulnerability_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_vulnerability_user_mentions_on_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    # This will replace the existing index_vulns_user_mentions_on_vulnerability_id
-    add_concurrent_index TABLE_NAME, :vulnerability_id, unique: true,
-      name: 'tmp_index_vulns_user_mentions_on_vulnerability_id',
-      where: 'note_id_convert_to_bigint IS NULL'
-
-    # This will replace the existing index_vulns_user_mentions_on_vulnerability_id_and_note_id
-    add_concurrent_index TABLE_NAME, [:vulnerability_id, :note_id_convert_to_bigint], unique: true,
-      name: 'tmp_index_vulns_user_mentions_on_vulnerability_id_and_note_id'
-
-    # This will replace the existing fk_rails_a18600f210
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_vulnerability_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS index_vulnerability_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_vulnerability_user_mentions_on_note_id_convert_to_bigint',
-        'index_vulnerability_user_mentions_on_note_id'
-
-      execute 'DROP INDEX IF EXISTS index_vulns_user_mentions_on_vulnerability_id'
-      rename_index TABLE_NAME, 'tmp_index_vulns_user_mentions_on_vulnerability_id',
-        'index_vulns_user_mentions_on_vulnerability_id'
-
-      execute 'DROP INDEX IF EXISTS index_vulns_user_mentions_on_vulnerability_id_and_note_id'
-      rename_index TABLE_NAME, 'tmp_index_vulns_user_mentions_on_vulnerability_id_and_note_id',
-        'index_vulns_user_mentions_on_vulnerability_id_and_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_a18600f210"
-      rename_constraint(TABLE_NAME, 'fk_vulnerability_user_mentions_note_id_convert_to_bigint', 'fk_rails_a18600f210')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321024333_ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230321024333_ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index 175bc317406c9..0000000000000
--- a/db/post_migrate/20230321024333_ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureDesignUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'design_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321024903_swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230321024903_swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index ead6adc2e80c9..0000000000000
--- a/db/post_migrate/20230321024903_swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-# frozen_string_literal: true
-
-class SwapDesignUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'design_user_mentions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing design_user_mentions_on_design_id_and_note_id_unique_index
-    add_concurrent_index TABLE_NAME, [:design_id, :note_id_convert_to_bigint], unique: true,
-      name: 'design_um_on_design_id_and_note_id_convert_to_bigint_unique'
-
-    # This will replace the existing index_design_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_design_user_mentions_on_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_rails_8de8c6d632
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_design_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults
-      change_column_default TABLE_NAME, :note_id, nil
-      change_column_default TABLE_NAME, :note_id_convert_to_bigint, 0
-
-      execute 'DROP INDEX IF EXISTS design_user_mentions_on_design_id_and_note_id_unique_index'
-      rename_index TABLE_NAME, 'design_um_on_design_id_and_note_id_convert_to_bigint_unique',
-        'design_user_mentions_on_design_id_and_note_id_unique_index'
-
-      execute 'DROP INDEX IF EXISTS index_design_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_design_user_mentions_on_note_id_convert_to_bigint',
-        'index_design_user_mentions_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_8de8c6d632"
-      rename_constraint(TABLE_NAME, 'fk_design_user_mentions_note_id_convert_to_bigint', 'fk_rails_8de8c6d632')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321095759_remove_namespaces_broadcast_messages_namespace_id_fk.rb b/db/post_migrate/20230321095759_remove_namespaces_broadcast_messages_namespace_id_fk.rb
deleted file mode 100644
index b22fb1d547dd5..0000000000000
--- a/db/post_migrate/20230321095759_remove_namespaces_broadcast_messages_namespace_id_fk.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveNamespacesBroadcastMessagesNamespaceIdFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    return unless foreign_key_exists?(:broadcast_messages, :namespaces, name: "fk_7bf2ec43da")
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(:broadcast_messages, :namespaces,
-        name: "fk_7bf2ec43da", reverse_lock_order: true)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(:broadcast_messages, :namespaces,
-      name: "fk_7bf2ec43da", column: :namespace_id,
-      target_column: :id, on_delete: :cascade)
-  end
-end
diff --git a/db/post_migrate/20230321124837_remove_ci_builds_partition_id_default.rb b/db/post_migrate/20230321124837_remove_ci_builds_partition_id_default.rb
deleted file mode 100644
index a3a80fc611037..0000000000000
--- a/db/post_migrate/20230321124837_remove_ci_builds_partition_id_default.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveCiBuildsPartitionIdDefault < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    # no-op. See https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8588 for details.
-  end
-
-  def down
-    # no-op. See https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8588 for details.
-  end
-end
diff --git a/db/post_migrate/20230321153035_add_package_id_created_at_desc_index_to_package_files.rb b/db/post_migrate/20230321153035_add_package_id_created_at_desc_index_to_package_files.rb
deleted file mode 100644
index cb8fae7029547..0000000000000
--- a/db/post_migrate/20230321153035_add_package_id_created_at_desc_index_to_package_files.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddPackageIdCreatedAtDescIndexToPackageFiles < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_packages_package_files_on_package_id_and_created_at_desc'
-
-  def up
-    add_concurrent_index :packages_package_files, 'package_id, created_at DESC', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :packages_package_files, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230321153337_cleanup_ml_candidates_iid_rename.rb b/db/post_migrate/20230321153337_cleanup_ml_candidates_iid_rename.rb
deleted file mode 100644
index 9db01b45dedc8..0000000000000
--- a/db/post_migrate/20230321153337_cleanup_ml_candidates_iid_rename.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupMlCandidatesIidRename < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    cleanup_concurrent_column_rename :ml_candidates, :iid, :eid
-  end
-
-  def down
-    undo_cleanup_concurrent_column_rename :ml_candidates, :iid, :eid
-  end
-end
diff --git a/db/post_migrate/20230321163547_cleanup_conversion_big_int_ci_build_needs.rb b/db/post_migrate/20230321163547_cleanup_conversion_big_int_ci_build_needs.rb
deleted file mode 100644
index 680a496e63926..0000000000000
--- a/db/post_migrate/20230321163547_cleanup_conversion_big_int_ci_build_needs.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupConversionBigIntCiBuildNeeds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :ci_build_needs
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, :id)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, :id)
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230321163947_backfill_ml_candidates_project_id.rb b/db/post_migrate/20230321163947_backfill_ml_candidates_project_id.rb
deleted file mode 100644
index cfcc8a4978de0..0000000000000
--- a/db/post_migrate/20230321163947_backfill_ml_candidates_project_id.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillMlCandidatesProjectId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    sql = <<-SQL
-      UPDATE ml_candidates
-      SET project_id = temp.project_id
-      FROM (
-          SELECT ml_candidates.id AS id, ml_experiments.project_id AS project_id
-          FROM ml_candidates INNER JOIN ml_experiments ON ml_candidates.experiment_id = ml_experiments.id
-      ) AS temp
-      WHERE ml_candidates.id = temp.id
-    SQL
-
-    execute(sql)
-  end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230321170823_backfill_ml_candidates_internal_id.rb b/db/post_migrate/20230321170823_backfill_ml_candidates_internal_id.rb
deleted file mode 100644
index b66f846bddb5b..0000000000000
--- a/db/post_migrate/20230321170823_backfill_ml_candidates_internal_id.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillMlCandidatesInternalId < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    sql = <<-SQL
-      UPDATE ml_candidates
-      SET internal_id = temp.internal_id_num
-      FROM (
-        SELECT id, ROW_NUMBER() OVER (PARTITION BY project_id ORDER BY internal_id, id ASC) AS internal_id_num
-        FROM ml_candidates
-      ) AS temp
-      WHERE ml_candidates.id = temp.id
-    SQL
-
-    execute(sql)
-  end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230322011220_ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230322011220_ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index c4a936777d62b..0000000000000
--- a/db/post_migrate/20230322011220_ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureSnippetUserMentionsBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'snippet_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230322012209_swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230322012209_swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 3a79adb748813..0000000000000
--- a/db/post_migrate/20230322012209_swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# frozen_string_literal: true
-
-class SwapSnippetUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'snippet_user_mentions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing index_snippet_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_snippet_user_mentions_on_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    # This will replace the existing snippet_user_mentions_on_snippet_id_and_note_id_index
-    add_concurrent_index TABLE_NAME, [:snippet_id, :note_id_convert_to_bigint], unique: true,
-      name: 'tmp_snippet_user_mentions_on_snippet_id_and_note_id_index'
-
-    # This will replace the existing snippet_user_mentions_on_snippet_id_index
-    add_concurrent_index TABLE_NAME, :snippet_id, unique: true,
-      name: 'tmp_snippet_user_mentions_on_snippet_id_index',
-      where: 'note_id_convert_to_bigint IS NULL'
-
-    # This will replace the existing fk_rails_4d3f96b2cb
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_snippet_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS index_snippet_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_snippet_user_mentions_on_note_id_convert_to_bigint',
-        'index_snippet_user_mentions_on_note_id'
-
-      execute 'DROP INDEX IF EXISTS snippet_user_mentions_on_snippet_id_and_note_id_index'
-      rename_index TABLE_NAME, 'tmp_snippet_user_mentions_on_snippet_id_and_note_id_index',
-        'snippet_user_mentions_on_snippet_id_and_note_id_index'
-
-      execute 'DROP INDEX IF EXISTS snippet_user_mentions_on_snippet_id_index'
-      rename_index TABLE_NAME, 'tmp_snippet_user_mentions_on_snippet_id_index',
-        'snippet_user_mentions_on_snippet_id_index'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_4d3f96b2cb"
-      rename_constraint(TABLE_NAME, 'fk_snippet_user_mentions_note_id_convert_to_bigint', 'fk_rails_4d3f96b2cb')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230322023442_ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230322023442_ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index 40b4967b30666..0000000000000
--- a/db/post_migrate/20230322023442_ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureNoteDiffFilesBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'note_diff_files',
-      column_name: 'id',
-      job_arguments: [['diff_note_id'], ['diff_note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230322085041_remove_user_namespace_records_from_vsa_aggregation.rb b/db/post_migrate/20230322085041_remove_user_namespace_records_from_vsa_aggregation.rb
deleted file mode 100644
index 6fc23c742b918..0000000000000
--- a/db/post_migrate/20230322085041_remove_user_namespace_records_from_vsa_aggregation.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveUserNamespaceRecordsFromVsaAggregation < Gitlab::Database::Migration[2.1]
-  BATCH_SIZE = 100
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    aggregations_model = define_batchable_model('analytics_cycle_analytics_aggregations')
-    namespaces_model = define_batchable_model('namespaces')
-
-    aggregations_model.each_batch(of: BATCH_SIZE) do |relation|
-      inner_query = namespaces_model
-        .where(type: 'Group')
-        .where(aggregations_model.arel_table[:group_id].eq(namespaces_model.arel_table[:id]))
-
-      relation.where('NOT EXISTS (?)', inner_query).delete_all
-    end
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230322085852_validate_partitioning_constraint_on_ci_builds.rb b/db/post_migrate/20230322085852_validate_partitioning_constraint_on_ci_builds.rb
deleted file mode 100644
index 01612c82be523..0000000000000
--- a/db/post_migrate/20230322085852_validate_partitioning_constraint_on_ci_builds.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class ValidatePartitioningConstraintOnCiBuilds < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    validate_check_constraint :ci_builds, :partitioning_constraint
-  end
-
-  # No-op
-  def down; end
-end
diff --git a/db/post_migrate/20230322151635_cleanup_bigint_conversion_for_merge_request_metrics.rb b/db/post_migrate/20230322151635_cleanup_bigint_conversion_for_merge_request_metrics.rb
deleted file mode 100644
index d3ff224dbd7db..0000000000000
--- a/db/post_migrate/20230322151635_cleanup_bigint_conversion_for_merge_request_metrics.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForMergeRequestMetrics < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE = :merge_request_metrics
-
-  def up
-    return unless should_run?
-
-    # rubocop:disable Migration/WithLockRetriesDisallowedMethod
-    with_lock_retries do
-      cleanup_conversion_of_integer_to_bigint(TABLE, :id)
-    end
-    # rubocop:enable Migration/WithLockRetriesDisallowedMethod
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, :id)
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230322203927_change_user_type_default.rb b/db/post_migrate/20230322203927_change_user_type_default.rb
deleted file mode 100644
index 792e9717c9f98..0000000000000
--- a/db/post_migrate/20230322203927_change_user_type_default.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeUserTypeDefault < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    change_column_default :users, :user_type, 0
-  end
-
-  def down
-    change_column_default :users, :user_type, nil
-  end
-end
diff --git a/db/post_migrate/20230323005730_add_unique_index_diff_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230323005730_add_unique_index_diff_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 2550b5b07e958..0000000000000
--- a/db/post_migrate/20230323005730_add_unique_index_diff_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexDiffNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :note_diff_files
-  INDEX_NAME = :index_note_diff_files_on_diff_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing index_note_diff_files_on_diff_note_id
-    add_concurrent_index TABLE_NAME, :diff_note_id_convert_to_bigint, unique: true,
-      name: INDEX_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230323010111_add_fk_on_diff_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230323010111_add_fk_on_diff_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index d2c833fd8d63e..0000000000000
--- a/db/post_migrate/20230323010111_add_fk_on_diff_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkOnDiffNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :note_diff_files
-  TARGET_TABLE_NAME = :notes
-  FK_NAME = :fk_note_diff_files_diff_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing fk_rails_3d66047aeb
-    # when we swap the integer and bigint columns
-    add_concurrent_foreign_key SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :diff_note_id_convert_to_bigint,
-      name: FK_NAME,
-      on_delete: :cascade,
-      reverse_lock_order: true,
-      validate: false
-  end
-
-  def down
-    return unless should_run?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230323013251_async_validate_fk_note_diff_files_diff_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230323013251_async_validate_fk_note_diff_files_diff_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 1e65fae223abe..0000000000000
--- a/db/post_migrate/20230323013251_async_validate_fk_note_diff_files_diff_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class AsyncValidateFkNoteDiffFilesDiffNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :note_diff_files
-  COLUMN = :diff_note_id_convert_to_bigint
-  FK_NAME = :fk_note_diff_files_diff_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230323131521_remove_machine_id_from_builds_metadata.rb b/db/post_migrate/20230323131521_remove_machine_id_from_builds_metadata.rb
deleted file mode 100644
index 41d2373580795..0000000000000
--- a/db/post_migrate/20230323131521_remove_machine_id_from_builds_metadata.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveMachineIdFromBuildsMetadata < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'p_ci_builds_metadata_on_runner_machine_id_idx'
-
-  def up
-    with_lock_retries do
-      remove_column :p_ci_builds_metadata, :runner_machine_id, if_exists: true
-    end
-  end
-
-  def down
-    add_column :p_ci_builds_metadata, :runner_machine_id, :bigint, if_not_exists: true
-
-    add_concurrent_partitioned_index :p_ci_builds_metadata, :runner_machine_id, name: INDEX_NAME,
-      where: 'runner_machine_id IS NOT NULL'
-  end
-end
diff --git a/db/post_migrate/20230323153433_fix_application_setting_push_rule_id_fk.rb b/db/post_migrate/20230323153433_fix_application_setting_push_rule_id_fk.rb
deleted file mode 100644
index 235959bfa0cce..0000000000000
--- a/db/post_migrate/20230323153433_fix_application_setting_push_rule_id_fk.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class FixApplicationSettingPushRuleIdFk < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  # This migration fixes missing `track_record_deletions(:push_rules)`
-  # where the `application_settings.push_rule_id` would not be reset
-  # after removing push rule.
-
-  def up
-    execute <<~SQL
-      UPDATE application_settings SET push_rule_id=NULL
-      WHERE push_rule_id IS NOT NULL AND NOT EXISTS (
-        SELECT * FROM push_rules WHERE push_rules.id = application_settings.push_rule_id
-      )
-    SQL
-  end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230327103401_queue_migrate_human_user_type.rb b/db/post_migrate/20230327103401_queue_migrate_human_user_type.rb
deleted file mode 100644
index d686c70cb5aca..0000000000000
--- a/db/post_migrate/20230327103401_queue_migrate_human_user_type.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class QueueMigrateHumanUserType < Gitlab::Database::Migration[2.1]
-  MIGRATION = "MigrateHumanUserType"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 2000
-  SUB_BATCH_SIZE = 10
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :users,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :users, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230327125705_add_index_to_vulnerability_finding_signatures_on_signature_sha.rb b/db/post_migrate/20230327125705_add_index_to_vulnerability_finding_signatures_on_signature_sha.rb
deleted file mode 100644
index 1b2f156ce3ce8..0000000000000
--- a/db/post_migrate/20230327125705_add_index_to_vulnerability_finding_signatures_on_signature_sha.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToVulnerabilityFindingSignaturesOnSignatureSha < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_vulnerability_finding_signatures_on_signature_sha'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :vulnerability_finding_signatures, :signature_sha, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_finding_signatures, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230327144152_remove_ci_builds_partition_id_default_v2.rb b/db/post_migrate/20230327144152_remove_ci_builds_partition_id_default_v2.rb
deleted file mode 100644
index 188f597805fc0..0000000000000
--- a/db/post_migrate/20230327144152_remove_ci_builds_partition_id_default_v2.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveCiBuildsPartitionIdDefaultV2 < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    change_column_default :ci_builds, :partition_id, from: 100, to: nil
-  end
-
-  def down
-    change_column_default :ci_builds, :partition_id, from: nil, to: 100
-  end
-end
diff --git a/db/post_migrate/20230328023554_backfill_award_emoji_awardable_id_for_bigint_conversion.rb b/db/post_migrate/20230328023554_backfill_award_emoji_awardable_id_for_bigint_conversion.rb
deleted file mode 100644
index c083b0a8e4c5b..0000000000000
--- a/db/post_migrate/20230328023554_backfill_award_emoji_awardable_id_for_bigint_conversion.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillAwardEmojiAwardableIdForBigintConversion < Gitlab::Database::Migration[2.1]
-  TABLE = :award_emoji
-  COLUMNS = %i[awardable_id]
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/post_migrate/20230328030101_add_secureflag_training_provider.rb b/db/post_migrate/20230328030101_add_secureflag_training_provider.rb
deleted file mode 100644
index 4b32570ea56d2..0000000000000
--- a/db/post_migrate/20230328030101_add_secureflag_training_provider.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class AddSecureflagTrainingProvider < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  SECUREFLAG_DATA = {
-    name: 'SecureFlag',
-    description: "Get remediation advice with example code and recommended hands-on labs in a fully
-    interactive virtualised environment.",
-    url: "https://knowledge-base-api.secureflag.com/gitlab"
-  }
-
-  class TrainingProvider < MigrationRecord
-    self.table_name = 'security_training_providers'
-  end
-
-  def up
-    current_time = Time.current
-    timestamps = { created_at: current_time, updated_at: current_time }
-
-    TrainingProvider.reset_column_information
-    TrainingProvider.upsert(SECUREFLAG_DATA.merge(timestamps))
-  end
-
-  def down
-    TrainingProvider.reset_column_information
-    TrainingProvider.find_by(name: SECUREFLAG_DATA[:name])&.destroy
-  end
-end
diff --git a/db/post_migrate/20230328031838_backfill_events_target_id_for_bigint_conversion.rb b/db/post_migrate/20230328031838_backfill_events_target_id_for_bigint_conversion.rb
deleted file mode 100644
index 711eb1d2e67a2..0000000000000
--- a/db/post_migrate/20230328031838_backfill_events_target_id_for_bigint_conversion.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillEventsTargetIdForBigintConversion < Gitlab::Database::Migration[2.1]
-  TABLE = :events
-  COLUMNS = %i[target_id]
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS, batch_size: 100_000, sub_batch_size: 500)
-  end
-
-  def down
-    revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/post_migrate/20230328100534_truncate_error_tracking_tables.rb b/db/post_migrate/20230328100534_truncate_error_tracking_tables.rb
deleted file mode 100644
index 3b26330379553..0000000000000
--- a/db/post_migrate/20230328100534_truncate_error_tracking_tables.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class TruncateErrorTrackingTables < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    # Only truncate tables on Gitlab.com environments.
-    # TRUNCATE is a DDL statement (it drops the table and re-creates it), so we want to run the
-    # migration in DDL mode, but we also don't want to execute it against all schemas because
-    # it's considered a write operation. So, we'll manually check and skip the migration if
-    # it's on not `:gitlab_main`.
-    return unless Gitlab.com? && Gitlab::Database.gitlab_schemas_for_connection(connection).include?(:gitlab_main)
-
-    execute('TRUNCATE table error_tracking_errors CASCADE')
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230328111013_re_migrate_redis_slot_keys.rb b/db/post_migrate/20230328111013_re_migrate_redis_slot_keys.rb
deleted file mode 100644
index a4061c3c7c6e7..0000000000000
--- a/db/post_migrate/20230328111013_re_migrate_redis_slot_keys.rb
+++ /dev/null
@@ -1,179 +0,0 @@
-# frozen_string_literal: true
-
-class ReMigrateRedisSlotKeys < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  KEY_EXPIRY_LENGTH = 6.weeks
-
-  DAILY_EVENTS =
-    %w[g_edit_by_web_ide
-      g_edit_by_sfe
-      g_edit_by_snippet_ide
-      g_edit_by_live_preview
-      wiki_action
-      design_action
-      project_action
-      git_write_action
-      merge_request_action
-      i_source_code_code_intelligence
-      g_project_management_issue_title_changed
-      g_project_management_issue_description_changed
-      g_project_management_issue_assignee_changed
-      g_project_management_issue_made_confidential
-      g_project_management_issue_made_visible
-      g_project_management_issue_created
-      g_project_management_issue_closed
-      g_project_management_issue_reopened
-      g_project_management_issue_label_changed
-      g_project_management_issue_milestone_changed
-      g_project_management_issue_cross_referenced
-      g_project_management_issue_moved
-      g_project_management_issue_related
-      g_project_management_issue_unrelated
-      g_project_management_issue_marked_as_duplicate
-      g_project_management_issue_locked
-      g_project_management_issue_unlocked
-      g_project_management_issue_designs_added
-      g_project_management_issue_designs_modified
-      g_project_management_issue_designs_removed
-      g_project_management_issue_due_date_changed
-      g_project_management_issue_design_comments_removed
-      g_project_management_issue_time_estimate_changed
-      g_project_management_issue_time_spent_changed
-      g_project_management_issue_comment_added
-      g_project_management_issue_comment_edited
-      g_project_management_issue_comment_removed
-      g_project_management_issue_cloned
-      g_geo_proxied_requests
-      approval_project_rule_created
-      g_project_management_issue_added_to_epic
-      g_project_management_issue_changed_epic
-      g_project_management_issue_health_status_changed
-      g_project_management_issue_iteration_changed
-      g_project_management_issue_removed_from_epic
-      g_project_management_issue_weight_changed
-      g_geo_proxied_requests
-      g_project_management_users_creating_epic_boards
-      g_project_management_users_viewing_epic_boards
-      g_project_management_users_updating_epic_board_names
-      g_project_management_epic_created
-      project_management_users_unchecking_epic_task
-      project_management_users_checking_epic_task
-      g_project_management_users_updating_epic_titles
-      g_project_management_users_updating_epic_descriptions
-      g_project_management_users_creating_epic_notes
-      g_project_management_users_updating_epic_notes
-      g_project_management_users_destroying_epic_notes
-      g_project_management_users_awarding_epic_emoji
-      g_project_management_users_removing_epic_emoji
-      g_project_management_users_setting_epic_start_date_as_fixed
-      g_project_management_users_updating_fixed_epic_start_date
-      g_project_management_users_setting_epic_start_date_as_inherited
-      g_project_management_users_setting_epic_due_date_as_fixed
-      g_project_management_users_updating_fixed_epic_due_date
-      g_project_management_users_setting_epic_due_date_as_inherited
-      g_project_management_epic_issue_added
-      g_project_management_epic_issue_removed
-      g_project_management_epic_issue_moved_from_project
-      g_project_management_users_updating_epic_parent
-      g_project_management_epic_closed
-      g_project_management_epic_reopened
-      g_project_management_issue_promoted_to_epic
-      g_project_management_users_setting_epic_confidential
-      g_project_management_users_setting_epic_visible
-      g_project_management_epic_users_changing_labels
-      g_project_management_epic_destroyed
-      g_project_management_epic_cross_referenced
-      g_project_management_users_epic_issue_added_from_epic
-      g_project_management_epic_related_added
-      g_project_management_epic_related_removed
-      g_project_management_epic_blocking_added
-      g_project_management_epic_blocking_removed
-      g_project_management_epic_blocked_added
-      g_project_management_epic_blocked_removed].freeze
-
-  def up
-    Gitlab::UsageDataCounters::HLLRedisCounter.known_events.each do |event|
-      if DAILY_EVENTS.include?(event[:name].to_s)
-        migrate_daily_aggregated(event)
-      else
-        migrate_weekly_aggregated(event)
-      end
-    end
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def migrate_daily_aggregated(event)
-    days_back = 29.days
-    start_date = Date.today - days_back - 1.day
-    end_date = Date.today + 1.day
-
-    (start_date..end_date).each do |date|
-      rename_key(event, date)
-    end
-  end
-
-  def migrate_weekly_aggregated(event)
-    weeks_back = KEY_EXPIRY_LENGTH
-    start_date = (Date.today - weeks_back).beginning_of_week - 1.day
-    end_date = Date.today.end_of_week + 1.day
-
-    (start_date..end_date).step(7).each { |date| rename_key(event, date) }
-  end
-
-  def rename_key(event, date)
-    old_key = old_redis_key(event, date)
-    new_key = new_redis_key(event, date)
-
-    # cannot simply rename due to different slots
-    Gitlab::Redis::SharedState.with do |redis|
-      hll_blob = redis.get(old_key)
-
-      break unless hll_blob
-
-      temp_key = new_key + "_#{Time.current.to_i}"
-      ttl = redis.ttl(old_key)
-      ttl = ttl > 0 ? ttl : KEY_EXPIRY_LENGTH
-
-      redis.multi do |multi|
-        multi.set(temp_key, hll_blob, ex: 1.day.to_i)
-        multi.pfmerge(new_key, new_key, temp_key)
-        multi.expire(new_key, ttl)
-      end
-
-      redis.del(temp_key)
-    end
-  end
-
-  def old_redis_key(event, time)
-    name_with_slot = if event[:redis_slot].present?
-                       event[:name].to_s.gsub(event[:redis_slot], "{#{event[:redis_slot]}}")
-                     else
-                       "{#{event[:name]}}"
-                     end
-
-    apply_time_aggregation(name_with_slot, time, event)
-  end
-
-  def new_redis_key(event, time)
-    key = "{hll_counters}_#{event[:name]}"
-    apply_time_aggregation(key, time, event)
-  end
-
-  def apply_time_aggregation(key, time, event)
-    if DAILY_EVENTS.include?(event[:name].to_s)
-      year_day = time.strftime('%G-%j')
-      "#{year_day}-#{key}"
-    else
-      year_week = time.strftime('%G-%V')
-      "#{key}-#{year_week}"
-    end
-  end
-end
diff --git a/db/post_migrate/20230328151756_prepare_async_index_for_security_scans_on_pipeline_id_and_scan_type.rb b/db/post_migrate/20230328151756_prepare_async_index_for_security_scans_on_pipeline_id_and_scan_type.rb
deleted file mode 100644
index d8d3360221ca4..0000000000000
--- a/db/post_migrate/20230328151756_prepare_async_index_for_security_scans_on_pipeline_id_and_scan_type.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncIndexForSecurityScansOnPipelineIdAndScanType < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_security_scans_on_pipeline_id_and_scan_type'
-
-  disable_ddl_transaction!
-
-  # TODO: Index to be created synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/402978
-  def up
-    prepare_async_index :security_scans, [:pipeline_id, :scan_type], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :security_scans, [:pipeline_id, :scan_type], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230328184031_swap_sent_notifications_id_columns.rb b/db/post_migrate/20230328184031_swap_sent_notifications_id_columns.rb
deleted file mode 100644
index b6215565b504c..0000000000000
--- a/db/post_migrate/20230328184031_swap_sent_notifications_id_columns.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# frozen_string_literal: true
-
-class SwapSentNotificationsIdColumns < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :sent_notifications
-  COLUMN_NAME = :id_convert_to_bigint
-  INDEX_NAME = :index_sent_notifications_on_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    add_concurrent_index TABLE_NAME, COLUMN_NAME, unique: true, name: INDEX_NAME
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      # Swap Columns
-      temp_name = quote_column_name(:id_tmp)
-      id_name = quote_column_name(:id)
-      id_convert_to_bigint_name = quote_column_name(COLUMN_NAME)
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_name} TO #{temp_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_convert_to_bigint_name} TO #{id_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{temp_name} TO #{id_convert_to_bigint_name}"
-
-      # Reset trigger
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger.on_table(TABLE_NAME, connection: connection)
-        .name(:id, :id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute "ALTER SEQUENCE #{TABLE_NAME}_id_seq OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('#{TABLE_NAME}_id_seq'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT #{TABLE_NAME}_pkey CASCADE"
-      rename_index TABLE_NAME, INDEX_NAME, "#{TABLE_NAME}_pkey"
-      execute "ALTER TABLE #{TABLE_NAME} ADD CONSTRAINT #{TABLE_NAME}_pkey PRIMARY KEY USING INDEX #{TABLE_NAME}_pkey"
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230329091107_truncate_p_ci_runner_machine_builds.rb b/db/post_migrate/20230329091107_truncate_p_ci_runner_machine_builds.rb
deleted file mode 100644
index bf5d17857f616..0000000000000
--- a/db/post_migrate/20230329091107_truncate_p_ci_runner_machine_builds.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class TruncatePCiRunnerMachineBuilds < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    truncate_tables!('p_ci_runner_machine_builds')
-  end
-
-  # no-op
-  def down; end
-end
diff --git a/db/post_migrate/20230329091300_swap_ci_runner_machine_builds_primary_key_v2.rb b/db/post_migrate/20230329091300_swap_ci_runner_machine_builds_primary_key_v2.rb
deleted file mode 100644
index ad40ed118b138..0000000000000
--- a/db/post_migrate/20230329091300_swap_ci_runner_machine_builds_primary_key_v2.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-# frozen_string_literal: true
-
-class SwapCiRunnerMachineBuildsPrimaryKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :p_ci_runner_machine_builds
-  BUILDS_TABLE = :ci_builds
-
-  def up
-    reorder_primary_key_columns([:build_id, :partition_id])
-  end
-
-  def down
-    reorder_primary_key_columns([:partition_id, :build_id])
-  end
-
-  private
-
-  def reorder_primary_key_columns(columns)
-    with_lock_retries(raise_on_exhaustion: true) do
-      connection.execute(<<~SQL)
-        LOCK TABLE #{BUILDS_TABLE}, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE;
-      SQL
-
-      partitions = Gitlab::Database::PostgresPartitionedTable.each_partition(TABLE_NAME).to_a
-      partitions.each { |partition| drop_table partition.identifier }
-
-      execute <<~SQL
-        ALTER TABLE #{TABLE_NAME}
-          DROP CONSTRAINT p_ci_runner_machine_builds_pkey CASCADE;
-
-        ALTER TABLE #{TABLE_NAME}
-          ADD PRIMARY KEY (#{columns.join(', ')});
-      SQL
-
-      partitions.each do |partition|
-        connection.execute(<<~SQL)
-          CREATE TABLE IF NOT EXISTS #{partition.identifier}
-            PARTITION OF #{partition.parent_identifier} #{partition.condition};
-        SQL
-      end
-    end
-  end
-end
diff --git a/db/post_migrate/20230329100222_drop_software_licenses_temp_index.rb b/db/post_migrate/20230329100222_drop_software_licenses_temp_index.rb
deleted file mode 100644
index 3013de7c31ba2..0000000000000
--- a/db/post_migrate/20230329100222_drop_software_licenses_temp_index.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DropSoftwareLicensesTempIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = :software_licenses
-  INDEX_NAME = 'tmp_index_for_software_licenses_spdx_identifier_cleanup'
-
-  def up
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  def down
-    add_concurrent_index TABLE_NAME, :spdx_identifier, where: 'spdx_identifier IS NULL', name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230329163232_add_index_to_security_scans_on_pipeline_id_and_scan_type.rb b/db/post_migrate/20230329163232_add_index_to_security_scans_on_pipeline_id_and_scan_type.rb
deleted file mode 100644
index d5d7b375cdac3..0000000000000
--- a/db/post_migrate/20230329163232_add_index_to_security_scans_on_pipeline_id_and_scan_type.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToSecurityScansOnPipelineIdAndScanType < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_security_scans_on_pipeline_id_and_scan_type'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :security_scans, [:pipeline_id, :scan_type], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :security_scans, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230330080731_remove_tmp_index_vuln_occurrences_on_report_type.rb b/db/post_migrate/20230330080731_remove_tmp_index_vuln_occurrences_on_report_type.rb
deleted file mode 100644
index 27e5b370efce9..0000000000000
--- a/db/post_migrate/20230330080731_remove_tmp_index_vuln_occurrences_on_report_type.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveTmpIndexVulnOccurrencesOnReportType < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op
-    # This migration was reverted as it removed a temporary index necessary for a background migration.
-    # The migration file is re-added to ensure that all environments have the same list of migrations.
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230330103104_reschedule_migrate_evidences.rb b/db/post_migrate/20230330103104_reschedule_migrate_evidences.rb
deleted file mode 100644
index 8590e58237388..0000000000000
--- a/db/post_migrate/20230330103104_reschedule_migrate_evidences.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RescheduleMigrateEvidences < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'MigrateEvidencesForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 10000
-
-  def up
-    # no-op as it has been rescheduled via db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb
-  end
-
-  def down
-    # no-op as it has been rescheduled via db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb
-  end
-end
diff --git a/db/post_migrate/20230403023828_swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230403023828_swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 6a453722de91e..0000000000000
--- a/db/post_migrate/20230403023828_swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,68 +0,0 @@
-# frozen_string_literal: true
-
-class SwapNoteDiffFilesNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'note_diff_files'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :diff_note_id_convert_to_bigint, unique: true,
-      name: 'index_note_diff_files_on_diff_note_id_convert_to_bigint'
-
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :diff_note_id_convert_to_bigint,
-      name: 'fk_note_diff_files_diff_note_id_convert_to_bigint',
-      on_delete: :cascade,
-      validate: false
-  end
-
-  def swap
-    # This will replace the existing index_note_diff_files_on_diff_note_id
-    add_concurrent_index TABLE_NAME, :diff_note_id_convert_to_bigint, unique: true,
-      name: 'index_note_diff_files_on_diff_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_rails_3d66047aeb
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :diff_note_id_convert_to_bigint,
-      name: 'fk_note_diff_files_diff_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN diff_note_id TO diff_note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN diff_note_id_convert_to_bigint TO diff_note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN diff_note_id_tmp TO diff_note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:diff_note_id, :diff_note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults
-      change_column_default TABLE_NAME, :diff_note_id, nil
-      change_column_default TABLE_NAME, :diff_note_id_convert_to_bigint, 0
-
-      execute 'DROP INDEX IF EXISTS index_note_diff_files_on_diff_note_id'
-      rename_index TABLE_NAME, 'index_note_diff_files_on_diff_note_id_convert_to_bigint',
-        'index_note_diff_files_on_diff_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_3d66047aeb"
-      rename_constraint(TABLE_NAME, 'fk_note_diff_files_diff_note_id_convert_to_bigint', 'fk_rails_3d66047aeb')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230403041642_ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230403041642_ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index b6f121994b28d..0000000000000
--- a/db/post_migrate/20230403041642_ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureIssueUserMentionsBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'issue_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230403041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230403041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index fb941e1cb516a..0000000000000
--- a/db/post_migrate/20230403041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class SwapIssueUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  # No-op, moved to db/post_migrate/20230413041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2.rb
-  def up; end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2.rb b/db/post_migrate/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2.rb
deleted file mode 100644
index e37d197ad6d70..0000000000000
--- a/db/post_migrate/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddTmpPartialIndexOnVulnerabilityReportTypes2 < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_idx_vulnerability_occurrences_on_id_where_report_type_7_99'
-  CLAUSE = 'report_type IN (7, 99)'
-
-  def up
-    return if index_exists?(:vulnerability_occurrences, :id, name: INDEX_NAME)
-
-    # Temporary index to be removed in 16.1 https://gitlab.com/gitlab-org/gitlab/-/issues/404408
-    prepare_async_index :vulnerability_occurrences, :id, where: CLAUSE, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :vulnerability_occurrences, :id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230403085958_add_sync_tmp_partial_index_on_vulnerability_report_types2.rb b/db/post_migrate/20230403085958_add_sync_tmp_partial_index_on_vulnerability_report_types2.rb
deleted file mode 100644
index a2905fa2635cc..0000000000000
--- a/db/post_migrate/20230403085958_add_sync_tmp_partial_index_on_vulnerability_report_types2.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddSyncTmpPartialIndexOnVulnerabilityReportTypes2 < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_idx_vulnerability_occurrences_on_id_where_report_type_7_99'
-
-  disable_ddl_transaction!
-
-  def up
-    # Temporary index to be removed in 16.1 https://gitlab.com/gitlab-org/gitlab/-/issues/404408
-    add_concurrent_index :vulnerability_occurrences, :id, where: 'report_type IN (7, 99)', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230403190527_add_index_to_security_scans_on_scan_type.rb b/db/post_migrate/20230403190527_add_index_to_security_scans_on_scan_type.rb
deleted file mode 100644
index b8a377e833c8b..0000000000000
--- a/db/post_migrate/20230403190527_add_index_to_security_scans_on_scan_type.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToSecurityScansOnScanType < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  TABLE_NAME = :security_scans
-  INDEX_NAME = 'index_for_security_scans_scan_type'
-  SUCCEEDED = 1
-
-  def up
-    add_concurrent_index TABLE_NAME, [:scan_type, :project_id, :pipeline_id], where: "status = #{SUCCEEDED}",
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230403221928_resync_scan_result_policies_for_namespaces.rb b/db/post_migrate/20230403221928_resync_scan_result_policies_for_namespaces.rb
deleted file mode 100644
index 34ab8ea3873f9..0000000000000
--- a/db/post_migrate/20230403221928_resync_scan_result_policies_for_namespaces.rb
+++ /dev/null
@@ -1,77 +0,0 @@
-# frozen_string_literal: true
-
-class ResyncScanResultPoliciesForNamespaces < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  BATCH_SIZE = 50
-
-  class Group < MigrationRecord
-    self.inheritance_column = :_type_disabled
-    self.table_name = 'namespaces'
-
-    def self.as_ids
-      select(Arel.sql('namespaces.traversal_ids[array_length(namespaces.traversal_ids, 1)]').as('id'))
-    end
-
-    def self_and_descendant_ids
-      self.class.where("traversal_ids @> ('{?}')", id).as_ids
-    end
-  end
-
-  class Project < MigrationRecord
-    self.table_name = 'projects'
-  end
-
-  class OrchestrationPolicyConfiguration < MigrationRecord
-    include EachBatch
-    self.table_name = 'security_orchestration_policy_configurations'
-  end
-
-  def up
-    return unless Gitlab.ee?
-    return unless process_scan_result_policy_worker
-
-    OrchestrationPolicyConfiguration
-      .where.not(namespace_id: nil)
-      .each_batch(column: :namespace_id, of: BATCH_SIZE) do |policy_configurations|
-        policy_configurations.each do |policy_configuration|
-          for_each_project(policy_configuration) do |project|
-            process_scan_result_policy_worker.perform_async(project.id, policy_configuration.id)
-          end
-        end
-      end
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def for_each_project(policy_configuration)
-    scope = Project.order(:id)
-    array_scope = Group.find(policy_configuration.namespace_id).self_and_descendant_ids
-    array_mapping_scope = ->(id_expression) do
-      Project.where(Project.arel_table[:namespace_id].eq(id_expression)).select(:id)
-    end
-
-    query_builder = Gitlab::Pagination::Keyset::InOperatorOptimization::QueryBuilder.new(
-      scope: scope,
-      array_scope: array_scope,
-      array_mapping_scope: array_mapping_scope
-    )
-
-    query_builder.execute.limit(BATCH_SIZE).each do |project|
-      yield(project) if block_given?
-    end
-  end
-
-  def process_scan_result_policy_worker
-    unless defined?(@process_scan_result_policy_worker)
-      @process_scan_result_policy_worker = 'Security::ProcessScanResultPolicyWorker'.safe_constantize
-    end
-
-    @process_scan_result_policy_worker
-  end
-end
diff --git a/db/post_migrate/20230403231455_add_unique_index_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230403231455_add_unique_index_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index d02a21f472e87..0000000000000
--- a/db/post_migrate/20230403231455_add_unique_index_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexIssueUserMentionsNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :issue_user_mentions
-  INDEX_NAME = :index_issue_user_mentions_on_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing index_issue_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: INDEX_NAME,
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230403231841_add_fk_on_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230403231841_add_fk_on_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index e2b5c6fcbe317..0000000000000
--- a/db/post_migrate/20230403231841_add_fk_on_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkOnIssueUserMentionsNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :issue_user_mentions
-  TARGET_TABLE_NAME = :notes
-  FK_NAME = :fk_issue_user_mentions_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing fk_rails_3861d9fefa
-    # when we swap the integer and bigint columns
-    add_concurrent_foreign_key SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :note_id_convert_to_bigint,
-      name: FK_NAME,
-      on_delete: :cascade,
-      reverse_lock_order: true,
-      validate: false
-  end
-
-  def down
-    return unless should_run?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230403232121_async_validate_fk_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230403232121_async_validate_fk_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index dd01689213c87..0000000000000
--- a/db/post_migrate/20230403232121_async_validate_fk_issue_user_mentions_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class AsyncValidateFkIssueUserMentionsNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :issue_user_mentions
-  COLUMN = :note_id_convert_to_bigint
-  FK_NAME = :fk_issue_user_mentions_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230404023648_ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230404023648_ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index adf33df6fc217..0000000000000
--- a/db/post_migrate/20230404023648_ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureSuggestionsNoteIdBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'suggestions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230404023915_swap_suggestions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230404023915_swap_suggestions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index fb5c379c015a4..0000000000000
--- a/db/post_migrate/20230404023915_swap_suggestions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,60 +0,0 @@
-# frozen_string_literal: true
-
-class SwapSuggestionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'suggestions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing index_suggestions_on_note_id_and_relative_order
-    add_concurrent_index TABLE_NAME, [:note_id_convert_to_bigint, :relative_order], unique: true,
-      name: 'index_suggestions_on_note_id_convert_to_bigint_relative_order'
-
-    # This will replace the existing fk_rails_33b03a535c
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_suggestions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults
-      change_column_default TABLE_NAME, :note_id, nil
-      change_column_default TABLE_NAME, :note_id_convert_to_bigint, 0
-
-      execute 'DROP INDEX IF EXISTS index_suggestions_on_note_id_and_relative_order'
-      rename_index TABLE_NAME, 'index_suggestions_on_note_id_convert_to_bigint_relative_order',
-        'index_suggestions_on_note_id_and_relative_order'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_33b03a535c"
-      rename_constraint(TABLE_NAME, 'fk_suggestions_note_id_convert_to_bigint', 'fk_rails_33b03a535c')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230404030757_ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230404030757_ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index 9b90d144042be..0000000000000
--- a/db/post_migrate/20230404030757_ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureEpicUserMentionsBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'epic_user_mentions',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230404031041_swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230404031041_swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 3d0478c15dd81..0000000000000
--- a/db/post_migrate/20230404031041_swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# frozen_string_literal: true
-
-class SwapEpicUserMentionsNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'epic_user_mentions'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing epic_user_mentions_on_epic_id_and_note_id_index
-    add_concurrent_index TABLE_NAME, [:epic_id, :note_id_convert_to_bigint], unique: true,
-      name: 'epic_user_mentions_on_epic_id_and_note_id_convert_to_bigint'
-
-    # This will replace the existing epic_user_mentions_on_epic_id_index
-    add_concurrent_index TABLE_NAME, :epic_id, unique: true,
-      name: 'tmp_epic_user_mentions_on_epic_id_index',
-      where: 'note_id_convert_to_bigint IS NULL'
-
-    # This will replace the existing index_epic_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_epic_user_mentions_on_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    # This will replace the existing fk_rails_1c65976a49
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_epic_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS epic_user_mentions_on_epic_id_and_note_id_index'
-      rename_index TABLE_NAME, 'epic_user_mentions_on_epic_id_and_note_id_convert_to_bigint',
-        'epic_user_mentions_on_epic_id_and_note_id_index'
-
-      execute 'DROP INDEX IF EXISTS epic_user_mentions_on_epic_id_index'
-      rename_index TABLE_NAME, 'tmp_epic_user_mentions_on_epic_id_index',
-        'epic_user_mentions_on_epic_id_index'
-
-      execute 'DROP INDEX IF EXISTS index_epic_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_epic_user_mentions_on_note_id_convert_to_bigint',
-        'index_epic_user_mentions_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_1c65976a49"
-      rename_constraint(TABLE_NAME, 'fk_epic_user_mentions_note_id_convert_to_bigint', 'fk_rails_1c65976a49')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230404044338_drop_async_index_ci_job_artifacts_on_expire_at_for_removal.rb b/db/post_migrate/20230404044338_drop_async_index_ci_job_artifacts_on_expire_at_for_removal.rb
deleted file mode 100644
index 7c3cb65c8849c..0000000000000
--- a/db/post_migrate/20230404044338_drop_async_index_ci_job_artifacts_on_expire_at_for_removal.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class DropAsyncIndexCiJobArtifactsOnExpireAtForRemoval < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_ci_job_artifacts_on_expire_at_for_removal'
-
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/393913
-  def up
-    prepare_async_index_removal :ci_job_artifacts, :expire_at, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :ci_job_artifacts, :expire_at, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230404050414_remove_unused_merge_request_jira_indexes.rb b/db/post_migrate/20230404050414_remove_unused_merge_request_jira_indexes.rb
deleted file mode 100644
index 619fd326d7a77..0000000000000
--- a/db/post_migrate/20230404050414_remove_unused_merge_request_jira_indexes.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveUnusedMergeRequestJiraIndexes < Gitlab::Database::Migration[2.1]
-  TITLE_INDEX = {
-    name: 'index_merge_requests_on_target_project_id_and_iid_jira_title',
-    where: "((title)::text ~ '[A-Z][A-Z_0-9]+-\d+'::text)"
-  }.freeze
-
-  DESCRIPTION_INDEX = {
-    name: 'index_merge_requests_on_target_project_id_iid_jira_description',
-    where: "(description ~ '[A-Z][A-Z_0-9]+-\d+'::text)"
-  }.freeze
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :merge_requests, name: TITLE_INDEX[:name]
-    remove_concurrent_index_by_name :merge_requests, name: DESCRIPTION_INDEX[:name]
-  end
-
-  def down
-    add_concurrent_index :merge_requests, [:target_project_id, :iid],
-      where: TITLE_INDEX[:where],
-      name: TITLE_INDEX[:name]
-    add_concurrent_index :merge_requests, [:target_project_id, :iid],
-      where: DESCRIPTION_INDEX[:where],
-      name: DESCRIPTION_INDEX[:name]
-  end
-end
diff --git a/db/post_migrate/20230404061832_drop_sync_index_ci_job_artifacts_on_expire_at_for_removal.rb b/db/post_migrate/20230404061832_drop_sync_index_ci_job_artifacts_on_expire_at_for_removal.rb
deleted file mode 100644
index 491ec0c02d524..0000000000000
--- a/db/post_migrate/20230404061832_drop_sync_index_ci_job_artifacts_on_expire_at_for_removal.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DropSyncIndexCiJobArtifactsOnExpireAtForRemoval < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_ci_job_artifacts_on_expire_at_for_removal'
-  CONDITIONS = 'locked = 0 AND expire_at IS NOT NULL'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :ci_job_artifacts, name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :ci_job_artifacts, [:expire_at], where: CONDITIONS, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230404132544_prepare_async_index_for_override_uuids_logic.rb b/db/post_migrate/20230404132544_prepare_async_index_for_override_uuids_logic.rb
deleted file mode 100644
index 59c2bdf947015..0000000000000
--- a/db/post_migrate/20230404132544_prepare_async_index_for_override_uuids_logic.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncIndexForOverrideUuidsLogic < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_vulnerability_occurrences_for_override_uuids_logic'
-
-  def up
-    prepare_async_index :vulnerability_occurrences, [:project_id, :report_type, :location_fingerprint], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index_by_name :vulnerability_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230404194907_remove_mr_mentions_temp_index.rb b/db/post_migrate/20230404194907_remove_mr_mentions_temp_index.rb
deleted file mode 100644
index 49a2b22df0afd..0000000000000
--- a/db/post_migrate/20230404194907_remove_mr_mentions_temp_index.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveMrMentionsTempIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'merge_request_mentions_temp_index'
-
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/402497
-  def up
-    prepare_async_index_removal :merge_requests, :id, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :merge_requests, :id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230404194908_remove_mr_state_id_temp_index.rb b/db/post_migrate/20230404194908_remove_mr_state_id_temp_index.rb
deleted file mode 100644
index 4b469666167cd..0000000000000
--- a/db/post_migrate/20230404194908_remove_mr_state_id_temp_index.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveMrStateIdTempIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'merge_requests_state_id_temp_index'
-
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/402497
-  def up
-    prepare_async_index_removal :merge_requests, :state_id, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :merge_requests, :state_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230405072302_remove_p_ci_builds_metadata_partition_id_default.rb b/db/post_migrate/20230405072302_remove_p_ci_builds_metadata_partition_id_default.rb
deleted file mode 100644
index 303210d85c726..0000000000000
--- a/db/post_migrate/20230405072302_remove_p_ci_builds_metadata_partition_id_default.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemovePCiBuildsMetadataPartitionIdDefault < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    change_column_default :p_ci_builds_metadata, :partition_id, from: 100, to: nil
-  end
-
-  def down
-    change_column_default :p_ci_builds_metadata, :partition_id, from: nil, to: 100
-  end
-end
diff --git a/db/post_migrate/20230405094230_create_index_for_override_uuids_logic_on_vulnerability_occurrences.rb b/db/post_migrate/20230405094230_create_index_for_override_uuids_logic_on_vulnerability_occurrences.rb
deleted file mode 100644
index fd6620d77feab..0000000000000
--- a/db/post_migrate/20230405094230_create_index_for_override_uuids_logic_on_vulnerability_occurrences.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateIndexForOverrideUuidsLogicOnVulnerabilityOccurrences < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_vulnerability_occurrences_for_override_uuids_logic'
-
-  def up
-    add_concurrent_index :vulnerability_occurrences,
-      [:project_id, :report_type, :location_fingerprint],
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerability_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230405132104_remove_saml_provider_and_identities_non_root_group.rb b/db/post_migrate/20230405132104_remove_saml_provider_and_identities_non_root_group.rb
deleted file mode 100644
index a3bf2cfda1794..0000000000000
--- a/db/post_migrate/20230405132104_remove_saml_provider_and_identities_non_root_group.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveSamlProviderAndIdentitiesNonRootGroup < Gitlab::Database::Migration[2.1]
-  BATCH_SIZE = 500
-
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    ::Gitlab::Database
-      .allow_cross_joins_across_databases(url: "https://gitlab.com/gitlab-org/gitlab/-/issues/419931") do
-      each_batch_range('saml_providers', scope: ->(table) { table.all }, of: BATCH_SIZE) do |min, max|
-        execute <<~SQL
-          DELETE FROM identities
-          WHERE identities.saml_provider_id
-          IN
-          (
-            SELECT saml_providers.id FROM saml_providers
-            INNER JOIN namespaces ON namespaces.id=saml_providers.group_id
-            AND namespaces.type='Group' AND namespaces.parent_id IS NOT NULL
-            AND saml_providers.id BETWEEN #{min} AND #{max}
-          );
-
-          DELETE FROM saml_providers
-          USING namespaces
-          WHERE namespaces.id=saml_providers.group_id
-          AND namespaces.type='Group' AND namespaces.parent_id IS NOT NULL
-          AND saml_providers.id BETWEEN #{min} AND #{max};
-        SQL
-      end
-    end
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230405132855_remove_scim_token_and_scim_identity_non_root_group.rb b/db/post_migrate/20230405132855_remove_scim_token_and_scim_identity_non_root_group.rb
deleted file mode 100644
index aa149acc5be81..0000000000000
--- a/db/post_migrate/20230405132855_remove_scim_token_and_scim_identity_non_root_group.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveScimTokenAndScimIdentityNonRootGroup < Gitlab::Database::Migration[2.1]
-  BATCH_SIZE = 500
-
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    each_batch_range('scim_oauth_access_tokens', scope: ->(table) { table.all }, of: BATCH_SIZE) do |min, max|
-      execute <<~SQL
-        DELETE FROM scim_identities
-        WHERE scim_identities.group_id
-        IN
-        (
-          SELECT namespaces.id FROM scim_oauth_access_tokens
-          INNER JOIN namespaces ON namespaces.id=scim_oauth_access_tokens.group_id
-          WHERE namespaces.type='Group' AND namespaces.parent_id IS NOT NULL
-          AND scim_oauth_access_tokens.id BETWEEN #{min} AND #{max}
-        );
-
-        DELETE FROM scim_oauth_access_tokens
-        USING namespaces
-        WHERE namespaces.id=scim_oauth_access_tokens.group_id
-        AND namespaces.type='Group' AND namespaces.parent_id IS NOT NULL
-        AND scim_oauth_access_tokens.id BETWEEN #{min} AND #{max};
-      SQL
-    end
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230405200858_requeue_backfill_project_wiki_repositories.rb b/db/post_migrate/20230405200858_requeue_backfill_project_wiki_repositories.rb
deleted file mode 100644
index 6a67110ce68b1..0000000000000
--- a/db/post_migrate/20230405200858_requeue_backfill_project_wiki_repositories.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-# rubocop:disable BackgroundMigration/DictionaryFile -- BackfillProjectWikiRepositories is rescheduled
-class RequeueBackfillProjectWikiRepositories < Gitlab::Database::Migration[2.1]
-  MIGRATION = "BackfillProjectWikiRepositories"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1000
-  SUB_BATCH_SIZE = 100
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    delete_batched_background_migration(MIGRATION, :projects, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :projects,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :projects, :id, [])
-  end
-end
-# rubocop:enable BackgroundMigration/DictionaryFile
diff --git a/db/post_migrate/20230406041555_allow_null_file_md5_to_debian_project_component_files.rb b/db/post_migrate/20230406041555_allow_null_file_md5_to_debian_project_component_files.rb
deleted file mode 100644
index d03f68e22ab72..0000000000000
--- a/db/post_migrate/20230406041555_allow_null_file_md5_to_debian_project_component_files.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AllowNullFileMd5ToDebianProjectComponentFiles < Gitlab::Database::Migration[2.1]
-  def up
-    change_column_null :packages_debian_project_component_files, :file_md5, true
-  end
-
-  def down
-    # There may now be nulls in the table, so we cannot re-add the constraint here.
-  end
-end
diff --git a/db/post_migrate/20230406041629_allow_null_file_md5_to_debian_group_component_files.rb b/db/post_migrate/20230406041629_allow_null_file_md5_to_debian_group_component_files.rb
deleted file mode 100644
index 15e8414f0bd2e..0000000000000
--- a/db/post_migrate/20230406041629_allow_null_file_md5_to_debian_group_component_files.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AllowNullFileMd5ToDebianGroupComponentFiles < Gitlab::Database::Migration[2.1]
-  def up
-    change_column_null :packages_debian_group_component_files, :file_md5, true
-  end
-
-  def down
-    # There may now be nulls in the table, so we cannot re-add the constraint here.
-  end
-end
diff --git a/db/post_migrate/20230406093640_requeue_backfill_admin_mode_scope_for_personal_access_tokens.rb b/db/post_migrate/20230406093640_requeue_backfill_admin_mode_scope_for_personal_access_tokens.rb
deleted file mode 100644
index 17ba9edef22d8..0000000000000
--- a/db/post_migrate/20230406093640_requeue_backfill_admin_mode_scope_for_personal_access_tokens.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class RequeueBackfillAdminModeScopeForPersonalAccessTokens < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'BackfillAdminModeScopeForPersonalAccessTokens'
-  DELAY_INTERVAL = 2.minutes
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    delete_batched_background_migration(MIGRATION, :personal_access_tokens, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :personal_access_tokens,
-      :id,
-      job_interval: DELAY_INTERVAL
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :personal_access_tokens, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230406121544_queue_backfill_design_management_repositories.rb b/db/post_migrate/20230406121544_queue_backfill_design_management_repositories.rb
deleted file mode 100644
index 22ff4c8df4581..0000000000000
--- a/db/post_migrate/20230406121544_queue_backfill_design_management_repositories.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillDesignManagementRepositories < Gitlab::Database::Migration[2.1]
-  MIGRATION = "BackfillDesignManagementRepositories"
-
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1000
-  SUB_BATCH_SIZE = 100
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :projects,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :projects, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230410111251_async_validate_fk_projects_creator_id.rb b/db/post_migrate/20230410111251_async_validate_fk_projects_creator_id.rb
deleted file mode 100644
index b1ac2469c78bc..0000000000000
--- a/db/post_migrate/20230410111251_async_validate_fk_projects_creator_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AsyncValidateFkProjectsCreatorId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :projects
-  COLUMN_NAME = :creator_id
-  FK_NAME = :fk_03ec10b0d3
-
-  def up
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN_NAME, name: FK_NAME
-  end
-
-  def down
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN_NAME, name: FK_NAME
-  end
-end
diff --git a/db/post_migrate/20230410123709_validate_fk_projects_creator_id.rb b/db/post_migrate/20230410123709_validate_fk_projects_creator_id.rb
deleted file mode 100644
index 7f522cd92ef5d..0000000000000
--- a/db/post_migrate/20230410123709_validate_fk_projects_creator_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkProjectsCreatorId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :projects
-  COLUMN_NAME = :creator_id
-  FK_NAME = :fk_03ec10b0d3
-
-  def up
-    validate_foreign_key TABLE_NAME, COLUMN_NAME, name: FK_NAME
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230411011959_add_temp_index_to_null_dismissed_info_vulnerabilities.rb b/db/post_migrate/20230411011959_add_temp_index_to_null_dismissed_info_vulnerabilities.rb
deleted file mode 100644
index fe62260cb8f89..0000000000000
--- a/db/post_migrate/20230411011959_add_temp_index_to_null_dismissed_info_vulnerabilities.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddTempIndexToNullDismissedInfoVulnerabilities < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_index_vulnerability_dismissal_info'
-
-  disable_ddl_transaction!
-
-  def up
-    # Temporary index to be removed in https://gitlab.com/gitlab-org/gitlab/-/issues/406653
-    add_concurrent_index :vulnerabilities, :id,
-      where: "state = 2 AND (dismissed_at IS NULL OR dismissed_by_id IS NULL)",
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :vulnerabilities, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230411153310_cleanup_bigint_conversion_for_sent_notifications.rb b/db/post_migrate/20230411153310_cleanup_bigint_conversion_for_sent_notifications.rb
deleted file mode 100644
index 567fe4fb3d2bd..0000000000000
--- a/db/post_migrate/20230411153310_cleanup_bigint_conversion_for_sent_notifications.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForSentNotifications < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :sent_notifications
-  COLUMNS = [:id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230412013251_ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230412013251_ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index a4ae604d66d6d..0000000000000
--- a/db/post_migrate/20230412013251_ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureSystemNoteMetadataBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'system_note_metadata',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230412104514_add_index_to_group_group_links.rb b/db/post_migrate/20230412104514_add_index_to_group_group_links.rb
deleted file mode 100644
index 655bff43b3c51..0000000000000
--- a/db/post_migrate/20230412104514_add_index_to_group_group_links.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToGroupGroupLinks < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_group_group_links_on_shared_with_group_and_group_access'
-  TABLE_NAME = :group_group_links
-
-  def up
-    add_concurrent_index TABLE_NAME, [:shared_with_group_id, :group_access], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb b/db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
deleted file mode 100644
index 8449acb33e1b4..0000000000000
--- a/db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RescheduleLinksAvoidingDuplication < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'MigrateLinksForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 10000
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    # no-op as it is rescheduled via db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
-  end
-
-  def down
-    # no-op as it is rescheduled via db/post_migrate/20230412141541_reschedule_links_avoiding_duplication.rb
-  end
-end
diff --git a/db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb b/db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb
deleted file mode 100644
index 1ee83486cc51a..0000000000000
--- a/db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToCiJobArtifactsFileFinalPath < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_text_limit :ci_job_artifacts, :file_final_path, 1024, constraint_name: constraint_name, validate: false
-    prepare_async_check_constraint_validation(:ci_job_artifacts, name: constraint_name)
-  end
-
-  def down
-    unprepare_async_check_constraint_validation(:ci_job_artifacts, name: constraint_name)
-    remove_text_limit :ci_job_artifacts, :file_final_path
-  end
-
-  private
-
-  def constraint_name
-    text_limit_name(:ci_job_artifacts, :file_final_path)
-  end
-end
diff --git a/db/post_migrate/20230412185837_queue_populate_vulnerability_dismissal_fields.rb b/db/post_migrate/20230412185837_queue_populate_vulnerability_dismissal_fields.rb
deleted file mode 100644
index d0924e8fdf8b0..0000000000000
--- a/db/post_migrate/20230412185837_queue_populate_vulnerability_dismissal_fields.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class QueuePopulateVulnerabilityDismissalFields < Gitlab::Database::Migration[2.1]
-  MIGRATION = "PopulateVulnerabilityDismissalFields"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1_000
-  MAX_BATCH_SIZE = 10_000
-  SUB_BATCH_SIZE = 200
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerabilities,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerabilities, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb b/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb
deleted file mode 100644
index e565583b3080d..0000000000000
--- a/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsCertManagersFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_cert_managers, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_cert_managers, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_9e4f2cb4b2'
-  end
-end
diff --git a/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb b/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb
deleted file mode 100644
index e1ebff390b72a..0000000000000
--- a/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsCiliumFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_cilium, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_cilium, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_59dc12eea6'
-  end
-end
diff --git a/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb b/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb
deleted file mode 100644
index 46687466be779..0000000000000
--- a/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsCrossplaneFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_crossplane, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_crossplane, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_87186702df'
-  end
-end
diff --git a/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb b/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb
deleted file mode 100644
index 6e2ccd536462d..0000000000000
--- a/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsHelmFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_helm, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_helm, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_3e2b1c06bc'
-  end
-end
diff --git a/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb b/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb
deleted file mode 100644
index d911b105a2488..0000000000000
--- a/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsIngressFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_ingress, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_ingress, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_753a7b41c1'
-  end
-end
diff --git a/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb b/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb
deleted file mode 100644
index 063a2e4c622ce..0000000000000
--- a/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsJupyterFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_jupyter, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_jupyter, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_17df21c98c'
-  end
-end
diff --git a/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb b/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb
deleted file mode 100644
index 8f97e886b8572..0000000000000
--- a/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsKnativeFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_knative, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_knative, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_54fc91e0a0'
-  end
-end
diff --git a/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb b/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb
deleted file mode 100644
index 735019bfe5a55..0000000000000
--- a/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsPrometheusFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_prometheus, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_prometheus, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_557e773639'
-  end
-end
diff --git a/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb b/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb
deleted file mode 100644
index 4921d0c874415..0000000000000
--- a/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsRunnersFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_runners, column: :cluster_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_runners, :clusters,
-      column: :cluster_id, on_delete: :cascade, name: 'fk_rails_22388594e9'
-  end
-end
diff --git a/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb b/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb
deleted file mode 100644
index 63474ebec36ba..0000000000000
--- a/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveClustersApplicationsJupyterOauthFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:clusters_applications_jupyter, column: :oauth_application_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :clusters_applications_jupyter, :oauth_applications,
-      column: :oauth_application_id, on_delete: :nullify, name: 'fk_rails_331f0aff78'
-  end
-end
diff --git a/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb b/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb
deleted file mode 100644
index 8f66714d03b21..0000000000000
--- a/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveServerlessDomainClusterPagesFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:serverless_domain_cluster, column: :pages_domain_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :serverless_domain_cluster, :pages_domains,
-      column: :pages_domain_id, on_delete: :cascade, name: 'fk_rails_c09009dee1'
-  end
-end
diff --git a/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb b/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb
deleted file mode 100644
index 1ac60de59d044..0000000000000
--- a/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveServerlessDomainClusterKnativeFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:serverless_domain_cluster, column: :clusters_applications_knative_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :serverless_domain_cluster, :clusters_applications_knative,
-      column: :clusters_applications_knative_id, on_delete: :cascade, name: 'fk_rails_e59e868733'
-  end
-end
diff --git a/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb b/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb
deleted file mode 100644
index 8d0b62c9f6ee8..0000000000000
--- a/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveServerlessDomainClusterCreatorFk < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(:serverless_domain_cluster, column: :creator_id)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key :serverless_domain_cluster, :users,
-      column: :creator_id, on_delete: :nullify, name: 'fk_rails_fbdba67eb1'
-  end
-end
diff --git a/db/post_migrate/20230412214119_finalize_encrypt_ci_trigger_token.rb b/db/post_migrate/20230412214119_finalize_encrypt_ci_trigger_token.rb
deleted file mode 100644
index e3e6dc43e0dc6..0000000000000
--- a/db/post_migrate/20230412214119_finalize_encrypt_ci_trigger_token.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeEncryptCiTriggerToken < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'EncryptCiTriggerToken'
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :ci_triggers,
-      column_name: :id,
-      job_arguments: [],
-      finalize: true
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230413012807_remove_index_sync_index_on_merge_requests_on_state_id_and_merge_status.rb b/db/post_migrate/20230413012807_remove_index_sync_index_on_merge_requests_on_state_id_and_merge_status.rb
deleted file mode 100644
index 664657015a7b7..0000000000000
--- a/db/post_migrate/20230413012807_remove_index_sync_index_on_merge_requests_on_state_id_and_merge_status.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexSyncIndexOnMergeRequestsOnStateIdAndMergeStatus < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :merge_requests, name: 'idx_merge_requests_on_state_id_and_merge_status'
-  end
-
-  def down
-    add_concurrent_index :merge_requests, [:state_id, :merge_status],
-      where: "((state_id = 1) AND ((merge_status)::text = 'can_be_merged'::text))",
-      name: 'idx_merge_requests_on_state_id_and_merge_status'
-  end
-end
diff --git a/db/post_migrate/20230413041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2.rb b/db/post_migrate/20230413041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2.rb
deleted file mode 100644
index cf6736fb6c11d..0000000000000
--- a/db/post_migrate/20230413041917_swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-# frozen_string_literal: true
-
-class SwapIssueUserMentionsNoteIdToBigintForGitlabDotCom2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'issue_user_mentions'
-
-  def up
-    return unless should_run?
-    return if columns_already_swapped?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-    return unless columns_already_swapped?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_issue_user_mentions_on_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_issue_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade,
-      validate: false
-  end
-
-  def swap
-    # This will replace the existing index_issue_user_mentions_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_issue_user_mentions_on_note_id_convert_to_bigint',
-      where: 'note_id_convert_to_bigint IS NOT NULL'
-
-    # This will replace the existing issue_user_mentions_on_issue_id_and_note_id_index
-    add_concurrent_index TABLE_NAME, [:issue_id, :note_id_convert_to_bigint], unique: true,
-      name: 'tmp_issue_user_mentions_on_issue_id_and_note_id_index'
-
-    # This will replace the existing issue_user_mentions_on_issue_id_index
-    add_concurrent_index TABLE_NAME, :issue_id, unique: true,
-      name: 'tmp_issue_user_mentions_on_issue_id_index',
-      where: 'note_id_convert_to_bigint IS NULL'
-
-    # This will replace the existing fk_rails_3861d9fefa
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_issue_user_mentions_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS index_issue_user_mentions_on_note_id'
-      rename_index TABLE_NAME, 'index_issue_user_mentions_on_note_id_convert_to_bigint',
-        'index_issue_user_mentions_on_note_id'
-
-      execute 'DROP INDEX IF EXISTS issue_user_mentions_on_issue_id_and_note_id_index'
-      rename_index TABLE_NAME, 'tmp_issue_user_mentions_on_issue_id_and_note_id_index',
-        'issue_user_mentions_on_issue_id_and_note_id_index'
-
-      execute 'DROP INDEX IF EXISTS issue_user_mentions_on_issue_id_index'
-      rename_index TABLE_NAME, 'tmp_issue_user_mentions_on_issue_id_index',
-        'issue_user_mentions_on_issue_id_index'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_rails_3861d9fefa"
-      rename_constraint(TABLE_NAME, 'fk_issue_user_mentions_note_id_convert_to_bigint', 'fk_rails_3861d9fefa')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-
-  def columns_already_swapped?
-    table_columns = columns(TABLE_NAME)
-    note_id = table_columns.find { |c| c.name == 'note_id' }
-    note_id_convert_to_bigint = table_columns.find { |c| c.name == 'note_id_convert_to_bigint' }
-
-    note_id_convert_to_bigint.sql_type == 'integer' && note_id.sql_type == 'bigint'
-  end
-end
diff --git a/db/post_migrate/20230413041918_add_unique_index_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230413041918_add_unique_index_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index b8ee6285a33ab..0000000000000
--- a/db/post_migrate/20230413041918_add_unique_index_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexSystemNoteMetadataNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :system_note_metadata
-  INDEX_NAME = :index_system_note_metadata_on_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing index_system_note_metadata_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_system_note_metadata_on_note_id_convert_to_bigint'
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230413041919_add_fk_on_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230413041919_add_fk_on_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 59ea8ca3c7f67..0000000000000
--- a/db/post_migrate/20230413041919_add_fk_on_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkOnSystemNoteMetadataNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :system_note_metadata
-  TARGET_TABLE_NAME = :notes
-  FK_NAME = :fk_system_note_metadata_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing fk_d83a918cb1
-    # when we swap the integer and bigint columns
-    add_concurrent_foreign_key SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :note_id_convert_to_bigint,
-      name: FK_NAME,
-      on_delete: :cascade,
-      reverse_lock_order: true,
-      validate: false
-  end
-
-  def down
-    return unless should_run?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230413041920_async_validate_fk_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230413041920_async_validate_fk_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index bba0f09dd78d0..0000000000000
--- a/db/post_migrate/20230413041920_async_validate_fk_system_note_metadata_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class AsyncValidateFkSystemNoteMetadataNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :system_note_metadata
-  COLUMN = :note_id_convert_to_bigint
-  FK_NAME = :fk_system_note_metadata_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230414075119_add_namespaces_by_top_level_namespace_index.rb b/db/post_migrate/20230414075119_add_namespaces_by_top_level_namespace_index.rb
deleted file mode 100644
index fda776f3bc5b3..0000000000000
--- a/db/post_migrate/20230414075119_add_namespaces_by_top_level_namespace_index.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class AddNamespacesByTopLevelNamespaceIndex < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op: re-implemented in AddNamespacesByTopLevelNamespaceIndexV2
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230414140202_add_issues_incident_type_temp_index_async_dot_com.rb b/db/post_migrate/20230414140202_add_issues_incident_type_temp_index_async_dot_com.rb
deleted file mode 100644
index 9caa6f1666964..0000000000000
--- a/db/post_migrate/20230414140202_add_issues_incident_type_temp_index_async_dot_com.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIssuesIncidentTypeTempIndexAsyncDotCom < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_index_issues_on_issue_type_and_id_only_incidents'
-  INCIDENT_ENUM_VALUE = 1
-
-  # TODO: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117728
-  def up
-    prepare_async_index :issues, [:issue_type, :id], name: INDEX_NAME, where: "issue_type = #{INCIDENT_ENUM_VALUE}"
-  end
-
-  def down
-    unprepare_async_index :issues, [:issue_type, :id], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230414150202_add_issues_incident_type_temp_index.rb b/db/post_migrate/20230414150202_add_issues_incident_type_temp_index.rb
deleted file mode 100644
index 7c89e454c0c69..0000000000000
--- a/db/post_migrate/20230414150202_add_issues_incident_type_temp_index.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddIssuesIncidentTypeTempIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'tmp_index_issues_on_issue_type_and_id_only_incidents'
-  INCIDENT_ENUM_VALUE = 1
-
-  def up
-    add_concurrent_index :issues, [:issue_type, :id], name: INDEX_NAME, where: "issue_type = #{INCIDENT_ENUM_VALUE}"
-  end
-
-  def down
-    remove_concurrent_index_by_name :issues, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230414200202_reschedule_incident_work_item_type_id_backfill.rb b/db/post_migrate/20230414200202_reschedule_incident_work_item_type_id_backfill.rb
deleted file mode 100644
index 0563ed93d1546..0000000000000
--- a/db/post_migrate/20230414200202_reschedule_incident_work_item_type_id_backfill.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# frozen_string_literal: true
-
-class RescheduleIncidentWorkItemTypeIdBackfill < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'BackfillWorkItemTypeIdForIssues'
-  BATCH_SIZE = 10_000
-  MAX_BATCH_SIZE = 30_000
-  SUB_BATCH_SIZE = 50
-  INTERVAL = 2.minutes
-  INCIDENT_ENUM_TYPE = 1
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class MigrationWorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  def up
-    incident_work_item_type = MigrationWorkItemType.find_by(namespace_id: nil, base_type: INCIDENT_ENUM_TYPE)
-
-    if incident_work_item_type.blank?
-      say(
-        'Incident work item type not found. Make sure the work_item_types table is populated' \
-        'before running this migration'
-      )
-      return
-    end
-
-    delete_batched_background_migration(MIGRATION, :issues, :id, [INCIDENT_ENUM_TYPE, incident_work_item_type.id])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :issues,
-      :id,
-      INCIDENT_ENUM_TYPE,
-      incident_work_item_type.id,
-      job_interval: INTERVAL,
-      batch_size: BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    # no-op
-    # no point on reverting this migration since UP is destructive
-    # (it will delete the originally scheduled job)
-  end
-end
diff --git a/db/post_migrate/20230418154454_change_code_suggestions_default_in_namespace_settings.rb b/db/post_migrate/20230418154454_change_code_suggestions_default_in_namespace_settings.rb
deleted file mode 100644
index 77e81a7c01b91..0000000000000
--- a/db/post_migrate/20230418154454_change_code_suggestions_default_in_namespace_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeCodeSuggestionsDefaultInNamespaceSettings < Gitlab::Database::Migration[2.1]
-  def change
-    change_column_default :namespace_settings, :code_suggestions, from: false, to: true
-  end
-end
diff --git a/db/post_migrate/20230418164957_queue_update_code_suggestions_for_namespace_settings.rb b/db/post_migrate/20230418164957_queue_update_code_suggestions_for_namespace_settings.rb
deleted file mode 100644
index 205219e4e2b17..0000000000000
--- a/db/post_migrate/20230418164957_queue_update_code_suggestions_for_namespace_settings.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class QueueUpdateCodeSuggestionsForNamespaceSettings < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op due to not running anywhere yet and business decision to revert the decision
-    # see: https://gitlab.com/gitlab-org/gitlab/-/issues/408104
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230419010332_ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230419010332_ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index d03fb0100e4b6..0000000000000
--- a/db/post_migrate/20230419010332_ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureTodosBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'todos',
-      column_name: 'id',
-      job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230419010551_add_index_todos_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230419010551_add_index_todos_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 4ac5eeb5a14c0..0000000000000
--- a/db/post_migrate/20230419010551_add_index_todos_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexTodosNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :todos
-  INDEX_NAME = :index_todos_on_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing index_todos_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, name: INDEX_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230419012426_add_fk_on_todos_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230419012426_add_fk_on_todos_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 0cbab6f93da6f..0000000000000
--- a/db/post_migrate/20230419012426_add_fk_on_todos_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class AddFkOnTodosNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  SOURCE_TABLE_NAME = :todos
-  TARGET_TABLE_NAME = :notes
-  FK_NAME = :fk_todos_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This will replace the existing fk_91d1f47b13
-    # when we swap the integer and bigint columns
-    add_concurrent_foreign_key SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :note_id_convert_to_bigint,
-      name: FK_NAME,
-      on_delete: :cascade,
-      reverse_lock_order: true,
-      validate: false
-  end
-
-  def down
-    return unless should_run?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        SOURCE_TABLE_NAME,
-        TARGET_TABLE_NAME,
-        name: FK_NAME,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230419012621_async_validate_fk_todos_note_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230419012621_async_validate_fk_todos_note_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index f7bef55ba0112..0000000000000
--- a/db/post_migrate/20230419012621_async_validate_fk_todos_note_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class AsyncValidateFkTodosNoteIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = :todos
-  COLUMN = :note_id_convert_to_bigint
-  FK_NAME = :fk_todos_note_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    prepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation TABLE_NAME, COLUMN, name: FK_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230419094535_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts.rb b/db/post_migrate/20230419094535_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts.rb
deleted file mode 100644
index decfdf0a3ca39..0000000000000
--- a/db/post_migrate/20230419094535_ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureMergeRequestMetricsIdBigintBackfillIsFinishedForSelfHosts < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  TABLE_NAME = 'merge_request_metrics'
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: TABLE_NAME,
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230419094939_swap_merge_request_metrics_id_to_bigint_for_self_hosts.rb b/db/post_migrate/20230419094939_swap_merge_request_metrics_id_to_bigint_for_self_hosts.rb
deleted file mode 100644
index f27cc34aef819..0000000000000
--- a/db/post_migrate/20230419094939_swap_merge_request_metrics_id_to_bigint_for_self_hosts.rb
+++ /dev/null
@@ -1,82 +0,0 @@
-# frozen_string_literal: true
-
-class SwapMergeRequestMetricsIdToBigintForSelfHosts < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'merge_request_metrics'
-  TMP_INDEX_NAME = 'tmp_index_mr_metrics_on_target_project_id_merged_at_nulls_last'
-  INDEX_NAME = 'index_mr_metrics_on_target_project_id_merged_at_nulls_last'
-  CONSTRAINT_NAME = 'merge_request_metrics_pkey'
-
-  def up
-    return if should_skip?
-    return if temporary_column_already_dropped?
-    return if columns_alredy_swapped?
-
-    swap
-  end
-
-  def down
-    return if should_skip?
-    return if temporary_column_already_dropped?
-    return unless columns_alredy_swapped?
-
-    swap
-  end
-
-  private
-
-  def swap
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true,
-      name: 'index_merge_request_metrics_on_id_convert_to_bigint'
-    add_concurrent_index TABLE_NAME, [:target_project_id, :merged_at, :id_convert_to_bigint],
-      name: TMP_INDEX_NAME, order: { merged_at: 'DESC NULLS LAST', id_convert_to_bigint: 'DESC' }
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id TO id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_convert_to_bigint TO id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_tmp TO id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:id, :id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults of the columns, and change ownership of the sequence to the new id
-      execute "ALTER SEQUENCE merge_request_metrics_id_seq OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('merge_request_metrics_id_seq'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      # Swap PK constraint
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS #{CONSTRAINT_NAME}"
-      rename_index TABLE_NAME, 'index_merge_request_metrics_on_id_convert_to_bigint', CONSTRAINT_NAME
-      execute "ALTER TABLE #{TABLE_NAME} ADD CONSTRAINT #{CONSTRAINT_NAME} PRIMARY KEY USING INDEX #{CONSTRAINT_NAME}"
-
-      # Rename the rest of the indexes (we already hold an exclusive lock, so no need to use DROP INDEX CONCURRENTLY)
-      execute "DROP INDEX IF EXISTS #{INDEX_NAME}"
-      rename_index TABLE_NAME, TMP_INDEX_NAME, INDEX_NAME
-    end
-  end
-
-  def should_skip?
-    com_or_dev_or_test_but_not_jh?
-  end
-
-  def columns_alredy_swapped?
-    table_columns = columns(TABLE_NAME)
-    column_id = table_columns.find { |c| c.name == 'id' }
-    column_id_convert_to_bigint = table_columns.find { |c| c.name == 'id_convert_to_bigint' }
-
-    column_id.sql_type == 'bigint' && column_id_convert_to_bigint.sql_type == 'integer'
-  end
-
-  def temporary_column_already_dropped?
-    table_columns = columns(TABLE_NAME)
-
-    !table_columns.find { |c| c.name == 'id_convert_to_bigint' }
-  end
-end
diff --git a/db/post_migrate/20230419121943_add_namespaces_by_top_level_namespace_index_v2.rb b/db/post_migrate/20230419121943_add_namespaces_by_top_level_namespace_index_v2.rb
deleted file mode 100644
index 5433313407d74..0000000000000
--- a/db/post_migrate/20230419121943_add_namespaces_by_top_level_namespace_index_v2.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddNamespacesByTopLevelNamespaceIndexV2 < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_on_namespaces_namespaces_by_top_level_namespace'
-
-  def up
-    unprepare_async_index_by_name :namespaces, INDEX_NAME
-    prepare_async_index :namespaces, '(traversal_ids[1]), type, id', name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index_by_name :namespaces, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb b/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb
deleted file mode 100644
index 51042995af0f7..0000000000000
--- a/db/post_migrate/20230419164438_change_code_suggestions_default_false_in_namespace_settings.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeCodeSuggestionsDefaultFalseInNamespaceSettings < Gitlab::Database::Migration[2.1]
-  def change
-    change_column_default :namespace_settings, :code_suggestions, from: true, to: false
-  end
-end
diff --git a/db/post_migrate/20230420002547_swap_todos_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230420002547_swap_todos_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index f01ea5c1da208..0000000000000
--- a/db/post_migrate/20230420002547_swap_todos_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-# frozen_string_literal: true
-
-class SwapTodosNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'todos'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint,
-      name: 'index_todos_on_note_id_convert_to_bigint'
-
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_todos_note_id_convert_to_bigint',
-      on_delete: :cascade, validate: false
-  end
-
-  def swap
-    # This will replace the existing index_todos_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint,
-      name: 'index_todos_on_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_91d1f47b13
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_todos_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS index_todos_on_note_id'
-      rename_index TABLE_NAME, 'index_todos_on_note_id_convert_to_bigint',
-        'index_todos_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_91d1f47b13"
-      rename_constraint(TABLE_NAME, 'fk_todos_note_id_convert_to_bigint', 'fk_91d1f47b13')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230420005610_ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230420005610_ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index cfad789036e11..0000000000000
--- a/db/post_migrate/20230420005610_ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureAwardEmojiBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'award_emoji',
-      column_name: 'id',
-      job_arguments: [['awardable_id'], ['awardable_id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230420005930_swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230420005930_swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index f49805fd52746..0000000000000
--- a/db/post_migrate/20230420005930_swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# frozen_string_literal: true
-
-class SwapAwardEmojiNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'award_emoji'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-  end
-
-  def swap
-    # This will replace the existing idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id
-    add_concurrent_index TABLE_NAME, [:user_id, :name, :awardable_type, :awardable_id_convert_to_bigint],
-      name: 'tmp_award_emoji_on_user_emoji_name_awardable_type_awardable_id'
-
-    # This will replace the existing index_award_emoji_on_awardable_type_and_awardable_id
-    add_concurrent_index TABLE_NAME, [:awardable_type, :awardable_id_convert_to_bigint],
-      name: 'tmp_index_award_emoji_on_awardable_type_and_awardable_id'
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN awardable_id TO awardable_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN awardable_id_convert_to_bigint TO awardable_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN awardable_id_tmp TO awardable_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:awardable_id, :awardable_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      execute 'DROP INDEX IF EXISTS idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id'
-      rename_index TABLE_NAME, 'tmp_award_emoji_on_user_emoji_name_awardable_type_awardable_id',
-        'idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id'
-
-      execute 'DROP INDEX IF EXISTS index_award_emoji_on_awardable_type_and_awardable_id'
-      rename_index TABLE_NAME, 'tmp_index_award_emoji_on_awardable_type_and_awardable_id',
-        'index_award_emoji_on_awardable_type_and_awardable_id'
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230420041344_backfill_ci_pipelines_for_bigint_conversion.rb b/db/post_migrate/20230420041344_backfill_ci_pipelines_for_bigint_conversion.rb
deleted file mode 100644
index 7e9d900eeca03..0000000000000
--- a/db/post_migrate/20230420041344_backfill_ci_pipelines_for_bigint_conversion.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillCiPipelinesForBigintConversion < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  TABLE = :ci_pipelines
-  COLUMNS = %i[id]
-
-  def up
-    backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS, sub_batch_size: 250)
-  end
-
-  def down
-    revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/post_migrate/20230420065656_finalize_fix_incoherent_packages_size_on_project_statistics.rb b/db/post_migrate/20230420065656_finalize_fix_incoherent_packages_size_on_project_statistics.rb
deleted file mode 100644
index 8932c52d44510..0000000000000
--- a/db/post_migrate/20230420065656_finalize_fix_incoherent_packages_size_on_project_statistics.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeFixIncoherentPackagesSizeOnProjectStatistics < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'FixIncoherentPackagesSizeOnProjectStatistics'
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :project_statistics,
-      column_name: :id,
-      job_arguments: [],
-      finalize: true
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230420070009_drop_tmp_idx_package_files_on_non_zero_size.rb b/db/post_migrate/20230420070009_drop_tmp_idx_package_files_on_non_zero_size.rb
deleted file mode 100644
index 8279cff7afb49..0000000000000
--- a/db/post_migrate/20230420070009_drop_tmp_idx_package_files_on_non_zero_size.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DropTmpIdxPackageFilesOnNonZeroSize < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'tmp_idx_package_files_on_non_zero_size'
-
-  def up
-    remove_concurrent_index :packages_package_files, %i[package_id size], name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :packages_package_files, %i[package_id size], where: 'size IS NOT NULL', name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230420120431_create_namespaces_by_top_level_namespace_index.rb b/db/post_migrate/20230420120431_create_namespaces_by_top_level_namespace_index.rb
deleted file mode 100644
index 37af68ac68e25..0000000000000
--- a/db/post_migrate/20230420120431_create_namespaces_by_top_level_namespace_index.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateNamespacesByTopLevelNamespaceIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_on_namespaces_namespaces_by_top_level_namespace'
-
-  # rubocop:disable Migration/PreventIndexCreation
-  def up
-    add_concurrent_index :namespaces, '(traversal_ids[1]), type, id', name: INDEX_NAME
-  end
-  # rubocop:enable Migration/PreventIndexCreation
-
-  def down
-    remove_concurrent_index_by_name :namespaces, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230420144418_drop_index_security_scans_on_pipeline_id.rb b/db/post_migrate/20230420144418_drop_index_security_scans_on_pipeline_id.rb
deleted file mode 100644
index 5d379a8a58261..0000000000000
--- a/db/post_migrate/20230420144418_drop_index_security_scans_on_pipeline_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DropIndexSecurityScansOnPipelineId < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_security_scans_on_pipeline_id'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index :security_scans, :pipeline_id, name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :security_scans, :pipeline_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230422013640_swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230422013640_swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 4113bae22e1c5..0000000000000
--- a/db/post_migrate/20230422013640_swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-# frozen_string_literal: true
-
-class SwapSystemNoteMetadataNoteIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'system_note_metadata'
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_system_note_metadata_on_note_id_convert_to_bigint'
-
-    add_concurrent_foreign_key TABLE_NAME, :notes,
-      column: :note_id_convert_to_bigint,
-      name: :fk_system_note_metadata_note_id_convert_to_bigint,
-      on_delete: :cascade,
-      validate: false
-  end
-
-  def swap
-    # This will replace the existing index_system_note_metadata_on_note_id
-    add_concurrent_index TABLE_NAME, :note_id_convert_to_bigint, unique: true,
-      name: 'index_system_note_metadata_on_note_id_convert_to_bigint'
-
-    # This will replace the existing fk_d83a918cb1
-    add_concurrent_foreign_key TABLE_NAME, :notes, column: :note_id_convert_to_bigint,
-      name: 'fk_system_note_metadata_note_id_convert_to_bigint',
-      on_delete: :cascade
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      execute "LOCK TABLE notes, #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id TO note_id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_convert_to_bigint TO note_id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN note_id_tmp TO note_id_convert_to_bigint"
-
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:note_id, :note_id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults
-      change_column_default TABLE_NAME, :note_id, nil
-      change_column_default TABLE_NAME, :note_id_convert_to_bigint, 0
-
-      execute 'DROP INDEX IF EXISTS index_system_note_metadata_on_note_id'
-      rename_index TABLE_NAME, 'index_system_note_metadata_on_note_id_convert_to_bigint',
-        'index_system_note_metadata_on_note_id'
-
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT IF EXISTS fk_d83a918cb1"
-      rename_constraint(TABLE_NAME, 'fk_system_note_metadata_note_id_convert_to_bigint', 'fk_d83a918cb1')
-    end
-  end
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230425114355_remove_application_settings_clickhouse_connection_string.rb b/db/post_migrate/20230425114355_remove_application_settings_clickhouse_connection_string.rb
deleted file mode 100644
index 3c27c48a7f3df..0000000000000
--- a/db/post_migrate/20230425114355_remove_application_settings_clickhouse_connection_string.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveApplicationSettingsClickhouseConnectionString < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    remove_column :application_settings, :clickhouse_connection_string
-  end
-
-  def down
-    unless column_exists?(:application_settings, :clickhouse_connection_string)
-      add_column :application_settings, :clickhouse_connection_string, :text
-    end
-
-    add_text_limit :application_settings, :clickhouse_connection_string, 1024
-  end
-end
diff --git a/db/post_migrate/20230425521418_drop_merge_request_mentions_temp_index.rb b/db/post_migrate/20230425521418_drop_merge_request_mentions_temp_index.rb
deleted file mode 100644
index a13c994d954f2..0000000000000
--- a/db/post_migrate/20230425521418_drop_merge_request_mentions_temp_index.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DropMergeRequestMentionsTempIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'merge_request_mentions_temp_index'
-  INDEX_CONDITION = "description like '%@%' OR title like '%@%'"
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index(:merge_requests, :id, where: INDEX_CONDITION, name: INDEX_NAME)
-  end
-
-  def down
-    add_concurrent_index(:merge_requests, :id, where: INDEX_CONDITION, name: INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230426030342_index_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb b/db/post_migrate/20230426030342_index_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
deleted file mode 100644
index 2b21a25311fac..0000000000000
--- a/db/post_migrate/20230426030342_index_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class IndexSystemNoteMetadataOnIdForRelateAndUnrelateActions < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_index_for_backfilling_resource_link_events'
-  CONDITION = "action='relate_to_parent' OR action='unrelate_from_parent'"
-
-  disable_ddl_transaction!
-
-  def up
-    # Temporary index to be removed in https://gitlab.com/gitlab-org/gitlab/-/issues/408797
-    add_concurrent_index :system_note_metadata, :id,
-      where: CONDITION,
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :system_note_metadata, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230426085615_queue_backfill_resource_link_events.rb b/db/post_migrate/20230426085615_queue_backfill_resource_link_events.rb
deleted file mode 100644
index fe4ea099d2e1f..0000000000000
--- a/db/post_migrate/20230426085615_queue_backfill_resource_link_events.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillResourceLinkEvents < Gitlab::Database::Migration[2.1]
-  MIGRATION = "BackfillResourceLinkEvents"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 5000
-  SUB_BATCH_SIZE = 10
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  class SystemNoteMetadata < MigrationRecord
-    self.table_name = 'system_note_metadata'
-
-    def self.batch_start_id
-      SystemNoteMetadata
-        .select(:id)
-        .where("action='relate_to_parent' OR action='unrelate_from_parent'")
-        .order(id: :asc)
-        .limit(1)
-        .first&.id
-    end
-  end
-
-  def up
-    batch_min_value = SystemNoteMetadata.batch_start_id
-
-    return unless batch_min_value
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :system_note_metadata,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE,
-      batch_min_value: batch_min_value
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :system_note_metadata, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230427065942_backfill_ci_pipeline_variables_for_bigint_conversion.rb b/db/post_migrate/20230427065942_backfill_ci_pipeline_variables_for_bigint_conversion.rb
deleted file mode 100644
index c73c29bbbad00..0000000000000
--- a/db/post_migrate/20230427065942_backfill_ci_pipeline_variables_for_bigint_conversion.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillCiPipelineVariablesForBigintConversion < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-
-  TABLE = :ci_pipeline_variables
-  COLUMNS = %i[id]
-
-  def up
-    backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS, sub_batch_size: 500)
-  end
-
-  def down
-    revert_backfill_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-end
diff --git a/db/post_migrate/20230427190005_drop_foreign_keys_from_cycle_analytics_unused_tables.rb b/db/post_migrate/20230427190005_drop_foreign_keys_from_cycle_analytics_unused_tables.rb
deleted file mode 100644
index a0a6679f13677..0000000000000
--- a/db/post_migrate/20230427190005_drop_foreign_keys_from_cycle_analytics_unused_tables.rb
+++ /dev/null
@@ -1,67 +0,0 @@
-# frozen_string_literal: true
-
-class DropForeignKeysFromCycleAnalyticsUnusedTables < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key :analytics_cycle_analytics_project_stages, column: :stage_event_hash_id
-      remove_foreign_key :analytics_cycle_analytics_project_stages, column: :project_id
-      remove_foreign_key :analytics_cycle_analytics_project_stages, column: :start_event_label_id
-      remove_foreign_key :analytics_cycle_analytics_project_stages, column: :end_event_label_id
-      remove_foreign_key :analytics_cycle_analytics_project_stages, column: :project_value_stream_id
-
-      remove_foreign_key :analytics_cycle_analytics_project_value_streams, column: :project_id
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_stages,
-      :analytics_cycle_analytics_stage_event_hashes,
-      name: "fk_c3339bdfc9",
-      column: :stage_event_hash_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_stages,
-      :labels,
-      name: "fk_rails_1722574860",
-      column: :start_event_label_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_stages,
-      :projects,
-      name: "fk_rails_3829e49b66",
-      column: :project_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_stages,
-      :labels,
-      name: "fk_rails_3ec9fd7912",
-      column: :end_event_label_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_stages,
-      :analytics_cycle_analytics_project_value_streams,
-      name: "fk_rails_796a7dbc9c",
-      column: :project_value_stream_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-
-    add_concurrent_foreign_key(:analytics_cycle_analytics_project_value_streams,
-      :projects,
-      name: "fk_rails_669f4ba293",
-      column: :project_id,
-      target_column: :id,
-      on_delete: :cascade
-    )
-  end
-end
diff --git a/db/post_migrate/20230427194552_drop_cycle_analytics_unused_tables.rb b/db/post_migrate/20230427194552_drop_cycle_analytics_unused_tables.rb
deleted file mode 100644
index be3f80389b063..0000000000000
--- a/db/post_migrate/20230427194552_drop_cycle_analytics_unused_tables.rb
+++ /dev/null
@@ -1,80 +0,0 @@
-# frozen_string_literal: true
-
-class DropCycleAnalyticsUnusedTables < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    drop_table :analytics_cycle_analytics_project_stages
-    drop_table :analytics_cycle_analytics_project_value_streams
-  end
-
-  def down
-    create_analytics_cycle_analytics_project_value_streams_table
-    create_analytics_cycle_analytics_project_stages_table
-  end
-
-  def create_analytics_cycle_analytics_project_value_streams_table
-    index_name = 'index_analytics_ca_project_value_streams_on_project_id_and_name'
-
-    # rubocop:disable Migration/SchemaAdditionMethodsNoPost
-    # rubocop:disable Migration/AddLimitToTextColumns
-    create_table :analytics_cycle_analytics_project_value_streams do |t|
-      t.timestamps_with_timezone
-      t.references(:project,
-        null: false,
-        index: false,
-        foreign_key: { to_table: :projects, on_delete: :cascade }
-      )
-      t.text :name, null: false
-      t.index [:project_id, :name], unique: true, name: index_name
-    end
-    # rubocop:enable Migration/SchemaAdditionMethodsNoPost
-    # rubocop:enable Migration/AddLimitToTextColumns
-
-    add_text_limit :analytics_cycle_analytics_project_value_streams, :name, 100
-  end
-
-  def create_analytics_cycle_analytics_project_stages_table
-    index_prefix = 'index_analytics_ca_project_stages_'
-
-    # rubocop:disable Migration/SchemaAdditionMethodsNoPost
-    create_table :analytics_cycle_analytics_project_stages do |t|
-      t.timestamps_with_timezone
-      t.integer :relative_position
-      t.integer :start_event_identifier, null: false
-      t.integer :end_event_identifier, null: false
-      t.references(:project, null: false,
-        foreign_key: { to_table: :projects, on_delete: :cascade },
-        index: { name: "#{index_prefix}on_project_id" }
-      )
-      t.references(:start_event_label,
-        foreign_key: { to_table: :labels, on_delete: :cascade },
-        index: { name: "#{index_prefix}on_start_event_label_id" }
-      )
-      t.references(:end_event_label,
-        foreign_key: { to_table: :labels, on_delete: :cascade },
-        index: { name: "#{index_prefix}on_end_event_label_id" }
-      )
-      t.boolean :hidden, default: false, null: false
-      t.boolean :custom, default: true, null: false
-      t.string :name, null: false, limit: 255 # rubocop: disable Migration/PreventStrings
-      t.references(:project_value_stream, null: false,
-        foreign_key: { to_table: :analytics_cycle_analytics_project_value_streams, on_delete: :cascade },
-        index: { name: "#{index_prefix}on_value_stream_id" }
-      )
-      t.references(:stage_event_hash,
-        foreign_key: { to_table: :analytics_cycle_analytics_stage_event_hashes, on_delete: :cascade },
-        index: { name: 'index_project_stages_on_stage_event_hash_id' }
-      )
-    end
-    # rubocop:enable Migration/SchemaAdditionMethodsNoPost
-
-    add_check_constraint :analytics_cycle_analytics_project_stages, 'stage_event_hash_id IS NOT NULL',
-      'check_8f6019de1e'
-
-    add_index :analytics_cycle_analytics_project_stages, [:project_id, :name], unique: true,
-      name: "#{index_prefix}on_project_id_and_name"
-    add_index :analytics_cycle_analytics_project_stages, [:relative_position],
-      name: "#{index_prefix}on_relative_position"
-  end
-end
diff --git a/db/post_migrate/20230428065426_prepare_index_to_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb b/db/post_migrate/20230428065426_prepare_index_to_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
deleted file mode 100644
index bff52308271c5..0000000000000
--- a/db/post_migrate/20230428065426_prepare_index_to_system_note_metadata_on_id_for_relate_and_unrelate_actions.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareIndexToSystemNoteMetadataOnIdForRelateAndUnrelateActions < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'tmp_index_for_backfilling_resource_link_events'
-  CLAUSE = "action='relate_to_parent' OR action='unrelate_from_parent'"
-
-  disable_ddl_transaction!
-
-  def up
-    return if index_exists?(:system_note_metadata, :id, name: INDEX_NAME)
-
-    # Temporary index to be removed https://gitlab.com/gitlab-org/gitlab/-/issues/408797
-    # Sync index to be created in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119019
-    prepare_async_index :system_note_metadata, :id, where: CLAUSE, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index_by_name :system_note_metadata, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230428085332_remove_shimo_zentao_integration_records.rb b/db/post_migrate/20230428085332_remove_shimo_zentao_integration_records.rb
deleted file mode 100644
index 079f1527e014d..0000000000000
--- a/db/post_migrate/20230428085332_remove_shimo_zentao_integration_records.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveShimoZentaoIntegrationRecords < Gitlab::Database::Migration[2.1]
-  TYPES = %w[Integrations::Shimo Integrations::Zentao]
-  BATCH_SIZE = 100
-
-  disable_ddl_transaction!
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    return if Gitlab.jh?
-
-    define_batchable_model(:integrations)
-      .where(type_new: TYPES)
-      .each_batch(of: BATCH_SIZE) { |relation, _index| relation.delete_all }
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230501090213_convert_ci_builds_to_list_partitioning.rb b/db/post_migrate/20230501090213_convert_ci_builds_to_list_partitioning.rb
deleted file mode 100644
index 2361ee1b97e7f..0000000000000
--- a/db/post_migrate/20230501090213_convert_ci_builds_to_list_partitioning.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ConvertCiBuildsToListPartitioning < Gitlab::Database::Migration[2.1]
-  def up
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/13818
-  end
-
-  def down
-    # no-op to mitigate https://gitlab.com/gitlab-com/gl-infra/production/-/issues/13818
-  end
-end
diff --git a/db/post_migrate/20230501094322_prepare_removal_partial_index_deployments_for_project_id_and_tag.rb b/db/post_migrate/20230501094322_prepare_removal_partial_index_deployments_for_project_id_and_tag.rb
deleted file mode 100644
index 1c0edcd5c4424..0000000000000
--- a/db/post_migrate/20230501094322_prepare_removal_partial_index_deployments_for_project_id_and_tag.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareRemovalPartialIndexDeploymentsForProjectIdAndTag < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'partial_index_deployments_for_project_id_and_tag'
-
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/402516
-  def up
-    prepare_async_index_removal :deployments, :project_id, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :deployments, :project_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230501165244_remove_software_license_policies_without_scan_result_policy_id.rb b/db/post_migrate/20230501165244_remove_software_license_policies_without_scan_result_policy_id.rb
deleted file mode 100644
index 0e3b15a933c57..0000000000000
--- a/db/post_migrate/20230501165244_remove_software_license_policies_without_scan_result_policy_id.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveSoftwareLicensePoliciesWithoutScanResultPolicyId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  BATCH_SIZE = 1000
-
-  def up
-    each_batch_range('software_license_policies',
-      scope: ->(table) { table.where(scan_result_policy_id: nil) },
-      of: BATCH_SIZE) do |min, max|
-      execute("DELETE FROM software_license_policies WHERE id BETWEEN #{min} AND #{max}")
-    end
-  end
-
-  def down
-    # NO-OP
-  end
-end
diff --git a/db/post_migrate/20230501180958_drop_clusters_applications_cert_managers.rb b/db/post_migrate/20230501180958_drop_clusters_applications_cert_managers.rb
deleted file mode 100644
index 0d60a816c025f..0000000000000
--- a/db/post_migrate/20230501180958_drop_clusters_applications_cert_managers.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsCertManagers < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_cert_managers
-  end
-
-  # Based on init migration:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L680-L689
-  def down
-    create_table "clusters_applications_cert_managers", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.integer "status", null: false
-      t.string "version", null: false
-      t.string "email", null: false
-      t.datetime_with_timezone "created_at", null: false
-      t.datetime_with_timezone "updated_at", null: false
-      t.text "status_reason"
-      t.index ["cluster_id"], name: "index_clusters_applications_cert_managers_on_cluster_id", unique: true
-    end
-  end
-end
diff --git a/db/post_migrate/20230502014227_drop_partial_index_deployments_for_project_id_and_tag.rb b/db/post_migrate/20230502014227_drop_partial_index_deployments_for_project_id_and_tag.rb
deleted file mode 100644
index 864e0e74b9797..0000000000000
--- a/db/post_migrate/20230502014227_drop_partial_index_deployments_for_project_id_and_tag.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class DropPartialIndexDeploymentsForProjectIdAndTag < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'partial_index_deployments_for_project_id_and_tag'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :deployments, name: INDEX_NAME
-  end
-
-  def down
-    # This is based on the following `CREATE INDEX` command in db/init_structure.sql:
-    # CREATE INDEX partial_index_deployments_for_project_id_and_tag ON deployments
-    #   USING btree (project_id) WHERE (tag IS TRUE);
-    add_concurrent_index :deployments, :project_id, name: INDEX_NAME, where: 'tag IS TRUE'
-  end
-end
diff --git a/db/post_migrate/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level.rb b/db/post_migrate/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level.rb
deleted file mode 100644
index ce3f0fb8c7649..0000000000000
--- a/db/post_migrate/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleIndexToMembersOnSourceAndTypeAndAccessLevel < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_members_on_source_and_type_and_access_level'
-
-  def up
-    prepare_async_index :members, %i[source_id source_type type access_level], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :members, %i[source_id source_type type access_level], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230502102833_add_index_to_members_on_source_and_type_and_access_level.rb b/db/post_migrate/20230502102833_add_index_to_members_on_source_and_type_and_access_level.rb
deleted file mode 100644
index 2996085629955..0000000000000
--- a/db/post_migrate/20230502102833_add_index_to_members_on_source_and_type_and_access_level.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToMembersOnSourceAndTypeAndAccessLevel < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_members_on_source_and_type_and_access_level'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :members, %i[source_id source_type type access_level], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :members, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level.rb b/db/post_migrate/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level.rb
deleted file mode 100644
index 06ff40cdddebf..0000000000000
--- a/db/post_migrate/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleIndexToProjectAuthorizationsOnProjectUserAccessLevel < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_project_authorizations_on_project_user_access_level'
-
-  disable_ddl_transaction!
-
-  def up
-    prepare_async_index :project_authorizations, %i[project_id user_id access_level], unique: true, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :project_authorizations, %i[project_id user_id access_level], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230502120022_add_index_to_project_authorizations_on_project_user_access_level.rb b/db/post_migrate/20230502120022_add_index_to_project_authorizations_on_project_user_access_level.rb
deleted file mode 100644
index 3f8561b2be71d..0000000000000
--- a/db/post_migrate/20230502120022_add_index_to_project_authorizations_on_project_user_access_level.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToProjectAuthorizationsOnProjectUserAccessLevel < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_project_authorizations_on_project_user_access_level'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :project_authorizations, %i[project_id user_id access_level], name: INDEX_NAME, unique: true
-  end
-
-  def down
-    remove_concurrent_index_by_name :project_authorizations, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230502134532_drop_clusters_applications_cilium.rb b/db/post_migrate/20230502134532_drop_clusters_applications_cilium.rb
deleted file mode 100644
index e7755c940a5af..0000000000000
--- a/db/post_migrate/20230502134532_drop_clusters_applications_cilium.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsCilium < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_cilium
-  end
-
-  # Based on original migration:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20200615234047_create_clusters_applications_cilium.rb
-  def down
-    create_table :clusters_applications_cilium do |t|
-      t.references :cluster, null: false, index: { unique: true }
-      t.timestamps_with_timezone null: false
-      t.integer :status, null: false
-      t.text :status_reason # rubocop:disable Migration/AddLimitToTextColumns
-    end
-  end
-end
diff --git a/db/post_migrate/20230502182754_drop_clusters_applications_crossplane.rb b/db/post_migrate/20230502182754_drop_clusters_applications_crossplane.rb
deleted file mode 100644
index 9262f7d995594..0000000000000
--- a/db/post_migrate/20230502182754_drop_clusters_applications_crossplane.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsCrossplane < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_crossplane
-  end
-
-  # Based on original migration:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/8b1637296b286a5c46e0d8fdf6da42a43a7c9986/db/migrate/20191017191341_create_clusters_applications_crossplane.rb
-  def down
-    create_table :clusters_applications_crossplane, id: :integer do |t|
-      t.timestamps_with_timezone null: false
-      t.references :cluster, null: false, index: false
-      t.integer :status, null: false
-      t.string :version, null: false, limit: 255
-      t.string :stack, null: false, limit: 255
-      t.text :status_reason
-      t.index :cluster_id, unique: true
-    end
-  end
-end
diff --git a/db/post_migrate/20230502193525_drop_clusters_applications_helm.rb b/db/post_migrate/20230502193525_drop_clusters_applications_helm.rb
deleted file mode 100644
index 2efa53e5b3123..0000000000000
--- a/db/post_migrate/20230502193525_drop_clusters_applications_helm.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsHelm < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_helm
-  end
-
-  # Based on init schema:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L691-L702
-  # rubocop:disable Migration/Datetime
-  def down
-    create_table "clusters_applications_helm", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.datetime "created_at", null: false
-      t.datetime "updated_at", null: false
-      t.integer "status", null: false
-      t.string "version", null: false
-      t.text "status_reason"
-      t.text "encrypted_ca_key"
-      t.text "encrypted_ca_key_iv"
-      t.text "ca_cert"
-      t.index ["cluster_id"], name: "index_clusters_applications_helm_on_cluster_id", unique: true
-    end
-  end
-  # rubocop:enable Migration/Datetime
-end
diff --git a/db/post_migrate/20230502201251_drop_clusters_applications_ingress.rb b/db/post_migrate/20230502201251_drop_clusters_applications_ingress.rb
deleted file mode 100644
index 409c9c49b1cdc..0000000000000
--- a/db/post_migrate/20230502201251_drop_clusters_applications_ingress.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsIngress < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_ingress
-  end
-
-  # Based on init schema:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L704-L715
-  # rubocop:disable Migration/Datetime
-  def down
-    create_table "clusters_applications_ingress", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.datetime "created_at", null: false
-      t.datetime "updated_at", null: false
-      t.integer "status", null: false
-      t.integer "ingress_type", null: false
-      t.string "version", null: false
-      t.string "cluster_ip"
-      t.text "status_reason"
-      t.string "external_ip"
-      t.string "external_hostname"
-      t.index ["cluster_id"], name: "index_clusters_applications_ingress_on_cluster_id", unique: true
-    end
-  end
-  # rubocop:enable Migration/Datetime
-end
diff --git a/db/post_migrate/20230503032750_remove_redundant_index_from_container_repositories.rb b/db/post_migrate/20230503032750_remove_redundant_index_from_container_repositories.rb
deleted file mode 100644
index a538dc054bbd8..0000000000000
--- a/db/post_migrate/20230503032750_remove_redundant_index_from_container_repositories.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveRedundantIndexFromContainerRepositories < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_container_repositories_on_project_id'
-
-  def up
-    remove_concurrent_index_by_name :container_repositories, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :container_repositories, :project_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230503115918_drop_clusters_applications_jupyter.rb b/db/post_migrate/20230503115918_drop_clusters_applications_jupyter.rb
deleted file mode 100644
index 35bddba301adc..0000000000000
--- a/db/post_migrate/20230503115918_drop_clusters_applications_jupyter.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsJupyter < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_jupyter
-  end
-
-  # Based on init schema:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L717-L728
-  def down
-    create_table "clusters_applications_jupyter", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.integer "oauth_application_id"
-      t.integer "status", null: false
-      t.string "version", null: false
-      t.string "hostname"
-      t.datetime_with_timezone "created_at", null: false
-      t.datetime_with_timezone "updated_at", null: false
-      t.text "status_reason"
-      t.index ["cluster_id"], name: "index_clusters_applications_jupyter_on_cluster_id", unique: true
-      t.index ["oauth_application_id"], name: "index_clusters_applications_jupyter_on_oauth_application_id"
-    end
-  end
-end
diff --git a/db/post_migrate/20230503152349_drop_clusters_applications_knative.rb b/db/post_migrate/20230503152349_drop_clusters_applications_knative.rb
deleted file mode 100644
index 38f28eca109a9..0000000000000
--- a/db/post_migrate/20230503152349_drop_clusters_applications_knative.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsKnative < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_knative
-  end
-
-  # Based on init migration:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L730-L740
-  def down
-    create_table "clusters_applications_knative", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.datetime_with_timezone "created_at", null: false
-      t.datetime_with_timezone "updated_at", null: false
-      t.integer "status", null: false
-      t.string "version", null: false
-      t.string "hostname"
-      t.text "status_reason"
-      t.string "external_hostname"
-      t.string "external_ip"
-      t.index ["cluster_id"], name: "index_clusters_applications_knative_on_cluster_id", unique: true
-    end
-  end
-end
diff --git a/db/post_migrate/20230503173101_drop_clusters_applications_prometheus.rb b/db/post_migrate/20230503173101_drop_clusters_applications_prometheus.rb
deleted file mode 100644
index 35db7cbed4752..0000000000000
--- a/db/post_migrate/20230503173101_drop_clusters_applications_prometheus.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsPrometheus < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_prometheus
-  end
-
-  # Based on init schema:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L742-L750
-  def down
-    create_table "clusters_applications_prometheus", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.integer "status", null: false
-      t.string "version", null: false
-      t.text "status_reason"
-      t.datetime_with_timezone "created_at", null: false
-      t.datetime_with_timezone "updated_at", null: false
-      t.index ["cluster_id"], name: "index_clusters_applications_prometheus_on_cluster_id", unique: true
-      t.datetime_with_timezone "last_update_started_at"
-      t.string "encrypted_alert_manager_token"
-      t.string "encrypted_alert_manager_token_iv"
-      t.boolean "healthy"
-    end
-  end
-end
diff --git a/db/post_migrate/20230503175406_drop_clusters_applications_runners.rb b/db/post_migrate/20230503175406_drop_clusters_applications_runners.rb
deleted file mode 100644
index fb177b5a1de9e..0000000000000
--- a/db/post_migrate/20230503175406_drop_clusters_applications_runners.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class DropClustersApplicationsRunners < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :clusters_applications_runners
-  end
-
-  # Based on init schema:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/b237f836df215a4ada92b9406733e6cd2483ca2d/db/migrate/20181228175414_init_schema.rb#L752-L763
-  def down
-    create_table "clusters_applications_runners", id: :serial, force: :cascade do |t|
-      t.integer "cluster_id", null: false
-      t.integer "runner_id"
-      t.integer "status", null: false
-      t.datetime_with_timezone "created_at", null: false
-      t.datetime_with_timezone "updated_at", null: false
-      t.string "version", null: false
-      t.text "status_reason"
-      t.boolean "privileged", default: true, null: false
-      t.index ["cluster_id"], name: "index_clusters_applications_runners_on_cluster_id", unique: true
-      t.index ["runner_id"], name: "index_clusters_applications_runners_on_runner_id"
-    end
-  end
-end
diff --git a/db/post_migrate/20230503181808_drop_serverless_domain_cluster.rb b/db/post_migrate/20230503181808_drop_serverless_domain_cluster.rb
deleted file mode 100644
index b68b7e8528577..0000000000000
--- a/db/post_migrate/20230503181808_drop_serverless_domain_cluster.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class DropServerlessDomainCluster < Gitlab::Database::Migration[2.1]
-  def up
-    drop_table :serverless_domain_cluster
-  end
-
-  # Based on original migration:
-  # https://gitlab.com/gitlab-org/gitlab/-/blob/5f7bd5b1455d87e2f1a2d1ae2c1147d51e97aa55/db/migrate/20191127030005_create_serverless_domain_cluster.rb
-  def down
-    create_table :serverless_domain_cluster, id: false, primary_key: :uuid do |t|
-      t.string :uuid, null: false, limit: 14, primary_key: true
-      t.bigint :pages_domain_id, null: false
-      t.bigint :clusters_applications_knative_id, null: false
-      t.bigint :creator_id
-      t.datetime_with_timezone :created_at, null: false
-      t.datetime_with_timezone :updated_at, null: false
-      t.text :encrypted_key
-      t.string :encrypted_key_iv, limit: 255
-      t.text :certificate
-      t.index :clusters_applications_knative_id,
-        unique: true,
-        name: 'idx_serverless_domain_cluster_on_clusters_applications_knative'
-      t.index :pages_domain_id, name: 'index_serverless_domain_cluster_on_pages_domain_id'
-      t.index :creator_id, name: 'index_serverless_domain_cluster_on_creator_id'
-    end
-  end
-end
diff --git a/db/post_migrate/20230504010535_ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com.rb b/db/post_migrate/20230504010535_ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com.rb
deleted file mode 100644
index b9d3dc5566185..0000000000000
--- a/db/post_migrate/20230504010535_ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureNotesBigintBackfillIsFinishedForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: 'notes',
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230508034422_notes_bigint_create_indexes_async_for_gitlab_dot_com.rb b/db/post_migrate/20230508034422_notes_bigint_create_indexes_async_for_gitlab_dot_com.rb
deleted file mode 100644
index b8e8c995713ac..0000000000000
--- a/db/post_migrate/20230508034422_notes_bigint_create_indexes_async_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# frozen_string_literal: true
-
-class NotesBigintCreateIndexesAsyncForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  TABLE_NAME = 'notes'
-  PK_INDEX_NAME = 'index_notes_on_id_convert_to_bigint'
-
-  SECONDARY_INDEXES = [
-    {
-      name: :index_notes_on_author_id_created_at_id_convert_to_bigint,
-      columns: [:author_id, :created_at, :id_convert_to_bigint],
-      options: {}
-    },
-    {
-      name: :index_notes_on_id_convert_to_bigint_where_confidential,
-      columns: [:id_convert_to_bigint],
-      options: { where: 'confidential = true' }
-    },
-    {
-      name: :index_notes_on_id_convert_to_bigint_where_internal,
-      columns: [:id_convert_to_bigint],
-      options: { where: 'internal = true' }
-    },
-    {
-      name: :index_notes_on_project_id_id_convert_to_bigint_system_false,
-      columns: [:project_id, :id_convert_to_bigint],
-      options: { where: 'NOT system' }
-    },
-    {
-      name: :note_mentions_temp_index_convert_to_bigint,
-      columns: [:id_convert_to_bigint, :noteable_type],
-      options: { where: "note ~~ '%@%'::text" }
-    }
-  ]
-
-  # Indexes will be created synchronously in
-  # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119705
-  def up
-    return unless should_run?
-
-    prepare_async_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: PK_INDEX_NAME
-
-    SECONDARY_INDEXES.each do |index|
-      prepare_async_index TABLE_NAME, index[:columns], **index[:options].merge(name: index[:name])
-    end
-  end
-
-  def down
-    return unless should_run?
-
-    SECONDARY_INDEXES.each do |index|
-      unprepare_async_index TABLE_NAME, index[:columns], name: index[:name]
-    end
-
-    unprepare_async_index TABLE_NAME, :id_convert_to_bigint, name: PK_INDEX_NAME
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230508093910_create_package_manager_name_index.rb b/db/post_migrate/20230508093910_create_package_manager_name_index.rb
deleted file mode 100644
index e15f253a4174a..0000000000000
--- a/db/post_migrate/20230508093910_create_package_manager_name_index.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class CreatePackageManagerNameIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_on_sbom_sources_package_manager_name'
-
-  def up
-    return if index_exists_by_name?(:sbom_sources, INDEX_NAME)
-
-    disable_statement_timeout do
-      execute <<~SQL
-      CREATE INDEX CONCURRENTLY #{INDEX_NAME}
-      ON sbom_sources
-      USING BTREE ((source->'package_manager'->>'name'))
-      SQL
-    end
-  end
-
-  def down
-    remove_concurrent_index_by_name :sbom_sources, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb b/db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb
deleted file mode 100644
index 3ea17f81beec2..0000000000000
--- a/db/post_migrate/20230508150219_reschedule_evidences_handling_unicode.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-# rubocop:disable BackgroundMigration/DictionaryFile -- MigrateEvidencesForVulnerabilityFindings is rescheduled
-
-class RescheduleEvidencesHandlingUnicode < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'MigrateEvidencesForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 250
-  BATCH_SIZE = 4000
-  MAX_BATCH_SIZE = 8000
-
-  def up
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerability_occurrences,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE,
-      max_batch_size: MAX_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-  end
-end
-# rubocop:enable BackgroundMigration/DictionaryFile
diff --git a/db/post_migrate/20230508175057_backfill_corrected_secure_files_expirations.rb b/db/post_migrate/20230508175057_backfill_corrected_secure_files_expirations.rb
deleted file mode 100644
index d26fabb316ba7..0000000000000
--- a/db/post_migrate/20230508175057_backfill_corrected_secure_files_expirations.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-class BackfillCorrectedSecureFilesExpirations < Gitlab::Database::Migration[2.1]
-  # The contents of this migration have been removed but the structure has been
-  # left in place because this could be promlematic for some customers, but it has
-  # already been run in gitlab.com staging and production environments
-  def up; end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230510013754_cleanup_notes_bigint_preparation.rb b/db/post_migrate/20230510013754_cleanup_notes_bigint_preparation.rb
deleted file mode 100644
index b2b898059b850..0000000000000
--- a/db/post_migrate/20230510013754_cleanup_notes_bigint_preparation.rb
+++ /dev/null
@@ -1,51 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupNotesBigintPreparation < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    remove_concurrent_index_by_name(
-      :merge_request_user_mentions,
-      :index_merge_request_user_mentions_note_id_convert_to_bigint,
-      if_exists: true
-    )
-
-    remove_concurrent_index_by_name(
-      :issue_user_mentions,
-      :index_issue_user_mentions_on_note_id_convert_to_bigint,
-      if_exists: true
-    )
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        :issue_user_mentions,
-        :notes,
-        name: :fk_issue_user_mentions_note_id_convert_to_bigint,
-        reverse_lock_order: true
-      )
-    end
-
-    with_lock_retries do
-      remove_foreign_key_if_exists(
-        :merge_request_user_mentions,
-        :notes,
-        name: :fk_merge_request_user_mentions_note_id_convert_to_bigint,
-        reverse_lock_order: true
-      )
-    end
-  end
-
-  def down
-    # No-op
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230510062503_queue_cleanup_personal_access_tokens_with_nil_expires_at.rb b/db/post_migrate/20230510062503_queue_cleanup_personal_access_tokens_with_nil_expires_at.rb
deleted file mode 100644
index 859bdb8c3e4a0..0000000000000
--- a/db/post_migrate/20230510062503_queue_cleanup_personal_access_tokens_with_nil_expires_at.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class QueueCleanupPersonalAccessTokensWithNilExpiresAt < Gitlab::Database::Migration[2.1]
-  # per: https://docs.gitlab.com/ee/development/database/batched_background_migrations.html#requeuing-batched-background-migrations
-  # > When you requeue the batched background migration, turn the original queuing
-  # > into a no-op by clearing up the #up and #down methods of the migration
-  # > performing the requeuing. Otherwise, the batched background migration is
-  # > queued multiple times on systems that are upgrading multiple patch releases
-  # > at once.
-  #
-  # being re-run via https://gitlab.com/gitlab-org/gitlab/-/merge_requests/123002
-  def up; end
-
-  def down; end
-end
diff --git a/db/post_migrate/20230510130050_remove_ci_triggers_ref_column.rb b/db/post_migrate/20230510130050_remove_ci_triggers_ref_column.rb
deleted file mode 100644
index 84b69f7bc86e8..0000000000000
--- a/db/post_migrate/20230510130050_remove_ci_triggers_ref_column.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveCiTriggersRefColumn < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    remove_column :ci_triggers, :ref
-  end
-
-  def down
-    add_column :ci_triggers, :ref, :string, if_not_exists: true
-  end
-end
diff --git a/db/post_migrate/20230510152153_remove_mr_state_id_temp_index_with_right_column.rb b/db/post_migrate/20230510152153_remove_mr_state_id_temp_index_with_right_column.rb
deleted file mode 100644
index 57b21bcf4edfa..0000000000000
--- a/db/post_migrate/20230510152153_remove_mr_state_id_temp_index_with_right_column.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveMrStateIdTempIndexWithRightColumn < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'merge_requests_state_id_temp_index'
-
-  # TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/408766
-
-  def up
-    prepare_async_index_removal :merge_requests, :id, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :merge_requests, :id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230511132140_create_component_id_index.rb b/db/post_migrate/20230511132140_create_component_id_index.rb
deleted file mode 100644
index 3b466010f7c8f..0000000000000
--- a/db/post_migrate/20230511132140_create_component_id_index.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateComponentIdIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_sbom_occurrences_on_project_id_component_id'
-
-  def up
-    return if index_exists_by_name?(:sbom_occurrences, INDEX_NAME)
-
-    add_concurrent_index :sbom_occurrences, [:project_id, :component_id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :sbom_sources, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230512023321_prepare_audit_events_group_index.rb b/db/post_migrate/20230512023321_prepare_audit_events_group_index.rb
deleted file mode 100644
index c3b27d6a90950..0000000000000
--- a/db/post_migrate/20230512023321_prepare_audit_events_group_index.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAuditEventsGroupIndex < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :audit_events
-  COLUMN_NAMES = [:entity_id, :entity_type, :created_at, :id]
-  INDEX_NAME = 'index_audit_events_on_entity_id_and_entity_type_and_created_at'
-
-  disable_ddl_transaction!
-
-  def up
-    # Since audit_events is a partitioned table, we need to prepare the index
-    # for each partition individually. We can't use the `prepare_async_index`
-    # method directly because it will try to prepare the index for the whole
-    # table, which will fail.
-
-    # In a future migration after this one, we will create the index on the
-    # parent table itself.
-    # TODO: Issue for future migration https://gitlab.com/gitlab-org/gitlab/-/issues/411129
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      prepare_async_index(
-        partition.identifier,
-        COLUMN_NAMES,
-        name: partition_index_name
-      )
-    end
-  end
-
-  def down
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      unprepare_async_index_by_name(partition.identifier, partition_index_name)
-    end
-  end
-
-  private
-
-  def each_partition(table_name)
-    partitioned_table = find_partitioned_table(table_name)
-    partitioned_table.postgres_partitions.order(:name).each do |partition|
-      partition_index_name = generated_index_name(partition.identifier, INDEX_NAME)
-
-      yield partition, partition_index_name
-    end
-  end
-end
diff --git a/db/post_migrate/20230512104238_add_audit_events_group_index.rb b/db/post_migrate/20230512104238_add_audit_events_group_index.rb
deleted file mode 100644
index d1d7e5f26fc14..0000000000000
--- a/db/post_migrate/20230512104238_add_audit_events_group_index.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddAuditEventsGroupIndex < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :audit_events
-  COLUMN_NAMES = [:entity_id, :entity_type, :created_at, :id]
-  INDEX_NAME = 'index_audit_events_on_entity_id_and_entity_type_and_created_at'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_partitioned_index(TABLE_NAME, COLUMN_NAMES, name: INDEX_NAME)
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230512143000_remove_dependency_list_exports_project_id_not_null_constraint.rb b/db/post_migrate/20230512143000_remove_dependency_list_exports_project_id_not_null_constraint.rb
deleted file mode 100644
index d7077e9dfdd13..0000000000000
--- a/db/post_migrate/20230512143000_remove_dependency_list_exports_project_id_not_null_constraint.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveDependencyListExportsProjectIdNotNullConstraint < Gitlab::Database::Migration[2.1]
-  def up
-    change_column_null :dependency_list_exports, :project_id, true
-  end
-
-  def down
-    # no-op as there can be null values after the migration
-  end
-end
diff --git a/db/post_migrate/20230515101208_index_group_id_on_dependency_list_exports.rb b/db/post_migrate/20230515101208_index_group_id_on_dependency_list_exports.rb
deleted file mode 100644
index 6019074b1f790..0000000000000
--- a/db/post_migrate/20230515101208_index_group_id_on_dependency_list_exports.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class IndexGroupIdOnDependencyListExports < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_dependency_list_exports_on_group_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :dependency_list_exports, :group_id, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :dependency_list_exports, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230515102353_add_foreign_key_to_group_id_on_dependency_list_exports.rb b/db/post_migrate/20230515102353_add_foreign_key_to_group_id_on_dependency_list_exports.rb
deleted file mode 100644
index 2780c551b2de3..0000000000000
--- a/db/post_migrate/20230515102353_add_foreign_key_to_group_id_on_dependency_list_exports.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddForeignKeyToGroupIdOnDependencyListExports < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :dependency_list_exports,
-      :namespaces,
-      column: :group_id,
-      on_delete: :cascade,
-      reverse_lock_order: true
-  end
-
-  def down
-    remove_foreign_key_if_exists :dependency_list_exports, column: :group_id
-  end
-end
diff --git a/db/post_migrate/20230515142300_add_unique_index_for_ml_model_packages.rb b/db/post_migrate/20230515142300_add_unique_index_for_ml_model_packages.rb
deleted file mode 100644
index a776c2270329e..0000000000000
--- a/db/post_migrate/20230515142300_add_unique_index_for_ml_model_packages.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueIndexForMlModelPackages < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'uniq_idx_packages_packages_on_project_id_name_version_ml_model'
-  PACKAGE_TYPE_ML_MODEL = 14
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :packages_packages, [:project_id, :name, :version],
-      unique: true,
-      where: "package_type = #{PACKAGE_TYPE_ML_MODEL}",
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name(:packages_packages, INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230515153600_finalize_back_fill_prepared_at_merge_requests.rb b/db/post_migrate/20230515153600_finalize_back_fill_prepared_at_merge_requests.rb
deleted file mode 100644
index 2b5d742445029..0000000000000
--- a/db/post_migrate/20230515153600_finalize_back_fill_prepared_at_merge_requests.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class FinalizeBackFillPreparedAtMergeRequests < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'BackfillPreparedAtMergeRequests'
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :merge_requests,
-      column_name: :id,
-      job_arguments: []
-    )
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230516032545_add_unique_notes_id_convert_to_bigint_for_gitlab_com.rb b/db/post_migrate/20230516032545_add_unique_notes_id_convert_to_bigint_for_gitlab_com.rb
deleted file mode 100644
index 330bf23434dae..0000000000000
--- a/db/post_migrate/20230516032545_add_unique_notes_id_convert_to_bigint_for_gitlab_com.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class AddUniqueNotesIdConvertToBigintForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :notes
-  INDEX_NAME = :index_notes_on_id_convert_to_bigint
-
-  def up
-    return unless should_run?
-
-    # This was created async for GitLab.com with
-    # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119913
-    # and will replace the existing PK index when we swap the integer and bigint columns in
-    # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119705
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint,
-      unique: true,
-      name: INDEX_NAME
-  end
-
-  def down
-    return unless should_run?
-
-    remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230516033729_add_referencing_bigint_fks_for_notes_on_gitlab_com.rb b/db/post_migrate/20230516033729_add_referencing_bigint_fks_for_notes_on_gitlab_com.rb
deleted file mode 100644
index 0cc77d436254e..0000000000000
--- a/db/post_migrate/20230516033729_add_referencing_bigint_fks_for_notes_on_gitlab_com.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# frozen_string_literal: true
-
-class AddReferencingBigintFksForNotesOnGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  REFERENCING_FOREIGN_KEYS = [
-    [:todos, :fk_91d1f47b13, :note_id, :cascade],
-    [:incident_management_timeline_events, :fk_d606a2a890, :promoted_from_note_id, :nullify],
-    [:system_note_metadata, :fk_d83a918cb1, :note_id, :cascade],
-    [:diff_note_positions, :fk_rails_13c7212859, :note_id, :cascade],
-    [:epic_user_mentions, :fk_rails_1c65976a49, :note_id, :cascade],
-    [:suggestions, :fk_rails_33b03a535c, :note_id, :cascade],
-    [:issue_user_mentions, :fk_rails_3861d9fefa, :note_id, :cascade],
-    [:note_diff_files, :fk_rails_3d66047aeb, :diff_note_id, :cascade],
-    [:snippet_user_mentions, :fk_rails_4d3f96b2cb, :note_id, :cascade],
-    [:design_user_mentions, :fk_rails_8de8c6d632, :note_id, :cascade],
-    [:vulnerability_user_mentions, :fk_rails_a18600f210, :note_id, :cascade],
-    [:commit_user_mentions, :fk_rails_a6760813e0, :note_id, :cascade],
-    [:merge_request_user_mentions, :fk_rails_c440b9ea31, :note_id, :cascade],
-    [:note_metadata, :fk_rails_d853224d37, :note_id, :cascade],
-    [:alert_management_alert_user_mentions, :fk_rails_eb2de0cdef, :note_id, :cascade],
-    [:timelogs, :fk_timelogs_note_id, :note_id, :nullify]
-  ]
-
-  def up
-    return unless should_run?
-
-    REFERENCING_FOREIGN_KEYS.each do |(from_table, name, column, on_delete)|
-      temporary_name = "#{name}_tmp"
-
-      # This will replace the existing FKs when
-      # we swap the integer and bigint columns in
-      # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119705
-      add_concurrent_foreign_key(
-        from_table,
-        :notes,
-        column: column,
-        target_column: :id_convert_to_bigint,
-        name: temporary_name,
-        on_delete: on_delete,
-        reverse_lock_order: true,
-        validate: false)
-
-      prepare_async_foreign_key_validation from_table, column, name: temporary_name
-    end
-  end
-
-  def down
-    return unless should_run?
-
-    REFERENCING_FOREIGN_KEYS.each do |(from_table, name, column, _)|
-      temporary_name = "#{name}_tmp"
-
-      unprepare_async_foreign_key_validation from_table, column, name: temporary_name
-
-      with_lock_retries do
-        remove_foreign_key_if_exists(
-          from_table,
-          :notes,
-          name: temporary_name,
-          reverse_lock_order: true
-        )
-      end
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230516123202_create_routing_table_for_ci_builds.rb b/db/post_migrate/20230516123202_create_routing_table_for_ci_builds.rb
deleted file mode 100644
index b95c1307b1b17..0000000000000
--- a/db/post_migrate/20230516123202_create_routing_table_for_ci_builds.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-# frozen_string_literal: true
-
-class CreateRoutingTableForCiBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_builds
-  PARENT_TABLE_NAME = :p_ci_builds
-  FIRST_PARTITION = 100
-  PARTITION_COLUMN = :partition_id
-  FOREIGN_KEYS = {
-    p_ci_builds_metadata: :fk_e20479742e_p,
-    p_ci_runner_machine_builds: :fk_bb490f12fe_p
-  }
-
-  def up
-    return if connection.table_exists?(PARENT_TABLE_NAME) && partition_attached?
-
-    convert_table_to_first_list_partition(
-      table_name: TABLE_NAME,
-      partitioning_column: PARTITION_COLUMN,
-      parent_table_name: PARENT_TABLE_NAME,
-      initial_partitioning_value: FIRST_PARTITION,
-      lock_tables: %w[ci_pipelines ci_stages ci_builds ci_resource_groups]
-    )
-  end
-
-  def down
-    # rubocop:disable Migration/WithLockRetriesDisallowedMethod
-    with_lock_retries(raise_on_exhaustion: true) do
-      drop_foreign_keys
-
-      execute(<<~SQL)
-        ALTER TABLE #{PARENT_TABLE_NAME} DETACH PARTITION #{TABLE_NAME};
-        ALTER SEQUENCE ci_builds_id_seq OWNED BY #{TABLE_NAME}.id;
-      SQL
-
-      drop_table PARENT_TABLE_NAME
-      recreate_partition_foreign_keys
-    end
-    # rubocop:enable Migration/WithLockRetriesDisallowedMethod
-
-    finalize_foreign_keys_creation
-
-    prepare_constraint_for_list_partitioning(
-      table_name: TABLE_NAME,
-      partitioning_column: PARTITION_COLUMN,
-      parent_table_name: PARENT_TABLE_NAME,
-      initial_partitioning_value: FIRST_PARTITION
-    )
-  end
-
-  private
-
-  def partition_attached?
-    connection.select_value(<<~SQL)
-      SELECT true FROM postgres_partitions WHERE name = '#{TABLE_NAME}';
-    SQL
-  end
-
-  def drop_foreign_keys
-    FOREIGN_KEYS.each do |source, name|
-      remove_foreign_key_if_exists source, name: name
-    end
-  end
-
-  def recreate_partition_foreign_keys
-    FOREIGN_KEYS.each do |source, name|
-      Gitlab::Database::PostgresPartitionedTable.each_partition(source) do |partition|
-        execute(<<~SQL)
-          ALTER TABLE #{partition.identifier}
-            ADD CONSTRAINT #{name} FOREIGN KEY (partition_id, build_id)
-            REFERENCES #{TABLE_NAME}(partition_id, id)
-            ON UPDATE CASCADE ON DELETE CASCADE NOT VALID;
-        SQL
-      end
-    end
-  end
-
-  def finalize_foreign_keys_creation
-    FOREIGN_KEYS.each do |source, name|
-      add_concurrent_partitioned_foreign_key(source, TABLE_NAME,
-        column: [:partition_id, :build_id],
-        target_column: [:partition_id, :id],
-        reverse_lock_order: true,
-        on_update: :cascade,
-        on_delete: :cascade,
-        name: name
-      )
-    end
-  end
-end
diff --git a/db/post_migrate/20230516172446_prepare_issues_work_item_type_id_project_id_index.rb b/db/post_migrate/20230516172446_prepare_issues_work_item_type_id_project_id_index.rb
deleted file mode 100644
index 45f00e8292d41..0000000000000
--- a/db/post_migrate/20230516172446_prepare_issues_work_item_type_id_project_id_index.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareIssuesWorkItemTypeIdProjectIdIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_issues_on_work_item_type_id_project_id_created_at_state'
-
-  # TODO: Index to be created synchronously in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121297
-  def up
-    prepare_async_index :issues, [:work_item_type_id, :project_id, :created_at, :state_id], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :issues, [:work_item_type_id, :project_id, :created_at, :state_id], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230516192543_add_issues_work_item_type_id_project_id_index.rb b/db/post_migrate/20230516192543_add_issues_work_item_type_id_project_id_index.rb
deleted file mode 100644
index 2ae226bd85f12..0000000000000
--- a/db/post_migrate/20230516192543_add_issues_work_item_type_id_project_id_index.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIssuesWorkItemTypeIdProjectIdIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_issues_on_work_item_type_id_project_id_created_at_state'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :issues, [:work_item_type_id, :project_id, :created_at, :state_id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :issues, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230517001535_prepare_async_index_for_ci_pipeline_variables_bigint_id.rb b/db/post_migrate/20230517001535_prepare_async_index_for_ci_pipeline_variables_bigint_id.rb
deleted file mode 100644
index 55b4636987010..0000000000000
--- a/db/post_migrate/20230517001535_prepare_async_index_for_ci_pipeline_variables_bigint_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareAsyncIndexForCiPipelineVariablesBigintId < Gitlab::Database::Migration[2.1]
-  TABLE_NAME = :ci_pipeline_variables
-  INDEX_NAME = "index_#{TABLE_NAME}_on_id_convert_to_bigint"
-
-  # TODO: Index to be created synchronously in https://gitlab.com/gitlab-org/gitlab/-/issues/408936
-  def up
-    prepare_async_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230517005523_ensure_backfill_bigint_id_is_completed.rb b/db/post_migrate/20230517005523_ensure_backfill_bigint_id_is_completed.rb
deleted file mode 100644
index 850ac7bcf5d14..0000000000000
--- a/db/post_migrate/20230517005523_ensure_backfill_bigint_id_is_completed.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureBackfillBigintIdIsCompleted < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_ci
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_pipeline_variables
-
-  def up
-    ensure_batched_background_migration_is_finished(
-      job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-      table_name: TABLE_NAME,
-      column_name: 'id',
-      job_arguments: [['id'], ['id_convert_to_bigint']]
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes.rb b/db/post_migrate/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes.rb
deleted file mode 100644
index 6732e33d0a4ce..0000000000000
--- a/db/post_migrate/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillRootStorageStatisticsForkStorageSizes < Gitlab::Database::Migration[2.1]
-  MIGRATION = "BackfillRootStorageStatisticsForkStorageSizes"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1000
-  SUB_BATCH_SIZE = 100
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :namespace_root_storage_statistics,
-      :namespace_id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :namespace_root_storage_statistics, :namespace_id, [])
-  end
-end
diff --git a/db/post_migrate/20230518005523_add_concurrent_index_for_ci_pipeline_variables_bigint_id.rb b/db/post_migrate/20230518005523_add_concurrent_index_for_ci_pipeline_variables_bigint_id.rb
deleted file mode 100644
index 19c48f7bf113c..0000000000000
--- a/db/post_migrate/20230518005523_add_concurrent_index_for_ci_pipeline_variables_bigint_id.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddConcurrentIndexForCiPipelineVariablesBigintId < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = :ci_pipeline_variables
-  INDEX_NAME = "index_#{TABLE_NAME}_on_id_convert_to_bigint"
-
-  def up
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230518071251_queue_backfill_code_suggestions_namespace_settings.rb b/db/post_migrate/20230518071251_queue_backfill_code_suggestions_namespace_settings.rb
deleted file mode 100644
index bae143ddbb111..0000000000000
--- a/db/post_migrate/20230518071251_queue_backfill_code_suggestions_namespace_settings.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class QueueBackfillCodeSuggestionsNamespaceSettings < Gitlab::Database::Migration[2.1]
-  MIGRATION = "BackfillCodeSuggestionsNamespaceSettings"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 50_000
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :namespace_settings,
-      :namespace_id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :namespace_settings, :namespace_id, [])
-  end
-end
diff --git a/db/post_migrate/20230518121320_remove_time_format_in_24h_column.rb b/db/post_migrate/20230518121320_remove_time_format_in_24h_column.rb
deleted file mode 100644
index 489c2446fe278..0000000000000
--- a/db/post_migrate/20230518121320_remove_time_format_in_24h_column.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveTimeFormatIn24hColumn < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    remove_column :user_preferences, :time_format_in_24h
-  end
-
-  def down
-    add_column :user_preferences, :time_format_in_24h, :boolean
-  end
-end
diff --git a/db/post_migrate/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups.rb b/db/post_migrate/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups.rb
deleted file mode 100644
index c3bd64634cea2..0000000000000
--- a/db/post_migrate/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class ScheduleToRemoveInvalidDeployAccessLevelGroups < Gitlab::Database::Migration[2.1]
-  MIGRATION = "RemoveInvalidDeployAccessLevelGroups"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 1000
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :protected_environment_deploy_access_levels,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :protected_environment_deploy_access_levels, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230519023720_swap_ci_pipeline_variables_pk_with_bigint.rb b/db/post_migrate/20230519023720_swap_ci_pipeline_variables_pk_with_bigint.rb
deleted file mode 100644
index 6c088cd12a949..0000000000000
--- a/db/post_migrate/20230519023720_swap_ci_pipeline_variables_pk_with_bigint.rb
+++ /dev/null
@@ -1,75 +0,0 @@
-# frozen_string_literal: true
-
-class SwapCiPipelineVariablesPkWithBigint < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'ci_pipeline_variables'
-
-  def up
-    swap
-  end
-
-  def down
-    swap(stepping_down: true)
-  end
-
-  private
-
-  def swap(stepping_down: false)
-    # Prepare the names we need below
-    primary_key_constraint_name = "#{TABLE_NAME}_pkey"
-    sequence_name = "#{TABLE_NAME}_id_seq"
-    bigint_primary_key_index_name = "index_#{TABLE_NAME}_on_id_convert_to_bigint"
-    temp_name = quote_column_name(:id_tmp)
-    id_name = quote_column_name(:id)
-    id_convert_to_bigint_name = quote_column_name(:id_convert_to_bigint)
-    function_name = quote_table_name(
-      Gitlab::Database::UnidirectionalCopyTrigger.on_table(
-        TABLE_NAME, connection: Ci::ApplicationRecord.connection
-      ).name(:id, :id_convert_to_bigint)
-    )
-
-    # 2. Create indexes using the bigint columns that match the existing indexes using the integer column
-    # NOTE: this index is already created in:
-    # - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120946
-    # - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120950
-    # Therefore, this won't have any effect for `up` step, but will be used for `down` step.
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: bigint_primary_key_index_name
-
-    # 4. Inside a transaction, swap the columns
-    # When stepping up, it will swap the bigint column as the primary key and the int column as `bigint`
-    # When stepping down, it will swap the int column as the primary key and the bigint column as `bigint`
-    with_lock_retries(raise_on_exhaustion: true) do
-      # a. Lock the tables involved.
-      execute "LOCK TABLE #{TABLE_NAME} IN ACCESS EXCLUSIVE MODE"
-
-      # b. Rename the columns to swap names
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_name} TO #{temp_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{id_convert_to_bigint_name} TO #{id_name}"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN #{temp_name} TO #{id_convert_to_bigint_name}"
-
-      # c. Reset the trigger function
-      execute "ALTER FUNCTION #{function_name} RESET ALL"
-
-      # d. Swap the defaults
-      execute "ALTER SEQUENCE #{sequence_name} OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('#{sequence_name}'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      # e. Swap the PK constraint
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT #{primary_key_constraint_name} CASCADE"
-      rename_index TABLE_NAME, bigint_primary_key_index_name, primary_key_constraint_name
-      execute <<~SQL
-        ALTER TABLE #{TABLE_NAME}
-        ADD CONSTRAINT #{primary_key_constraint_name} PRIMARY KEY
-        USING INDEX #{primary_key_constraint_name}
-      SQL
-    end
-
-    return unless stepping_down
-
-    # For stepping down, we will need to recreate the index after the swap
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: bigint_primary_key_index_name
-  end
-end
diff --git a/db/post_migrate/20230521521419_drop_merge_request_state_id_temp_index.rb b/db/post_migrate/20230521521419_drop_merge_request_state_id_temp_index.rb
deleted file mode 100644
index 3411b374d7e90..0000000000000
--- a/db/post_migrate/20230521521419_drop_merge_request_state_id_temp_index.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class DropMergeRequestStateIdTempIndex < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'merge_requests_state_id_temp_index'
-  INDEX_CONDITION = "state_id IN (2, 3)"
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index(:merge_requests, :id, where: INDEX_CONDITION, name: INDEX_NAME)
-  end
-
-  def down
-    add_concurrent_index(:merge_requests, :id, where: INDEX_CONDITION, name: INDEX_NAME)
-  end
-end
diff --git a/db/post_migrate/20230522073230_add_not_null_constraint_to_personal_access_tokens_expires_at.rb b/db/post_migrate/20230522073230_add_not_null_constraint_to_personal_access_tokens_expires_at.rb
deleted file mode 100644
index 74dddb68d3b6e..0000000000000
--- a/db/post_migrate/20230522073230_add_not_null_constraint_to_personal_access_tokens_expires_at.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class AddNotNullConstraintToPersonalAccessTokensExpiresAt < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_not_null_constraint :personal_access_tokens, :expires_at, validate: false
-  end
-
-  def down
-    remove_not_null_constraint :personal_access_tokens, :expires_at
-  end
-end
diff --git a/db/post_migrate/20230522111534_reschedule_migration_for_links_from_metadata.rb b/db/post_migrate/20230522111534_reschedule_migration_for_links_from_metadata.rb
deleted file mode 100644
index 5178a2c574c1d..0000000000000
--- a/db/post_migrate/20230522111534_reschedule_migration_for_links_from_metadata.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-# rubocop:disable BackgroundMigration/DictionaryFile -- MigrateLinksForVulnerabilityFindings is rescheduled
-
-class RescheduleMigrationForLinksFromMetadata < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'MigrateLinksForVulnerabilityFindings'
-  DELAY_INTERVAL = 2.minutes
-  SUB_BATCH_SIZE = 500
-  BATCH_SIZE = 4000
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :vulnerability_occurrences,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :vulnerability_occurrences, :id, [])
-  end
-end
-# rubocop:enable BackgroundMigration/DictionaryFile
diff --git a/db/post_migrate/20230522220709_ensure_incident_work_item_type_backfill_is_finished.rb b/db/post_migrate/20230522220709_ensure_incident_work_item_type_backfill_is_finished.rb
deleted file mode 100644
index a93f5417dd02d..0000000000000
--- a/db/post_migrate/20230522220709_ensure_incident_work_item_type_backfill_is_finished.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-class EnsureIncidentWorkItemTypeBackfillIsFinished < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  MIGRATION = 'BackfillWorkItemTypeIdForIssues'
-  INCIDENT_ENUM_TYPE = 1
-
-  class MigrationWorkItemType < MigrationRecord
-    self.table_name = 'work_item_types'
-  end
-
-  def up
-    incident_work_item_type = MigrationWorkItemType.find_by(namespace_id: nil, base_type: INCIDENT_ENUM_TYPE)
-
-    if incident_work_item_type.blank?
-      say(
-        'Incident work item type not found. Make sure the work_item_types table is populated' \
-        'before running this migration'
-      )
-      return
-    end
-
-    ensure_batched_background_migration_is_finished(
-      job_class_name: MIGRATION,
-      table_name: :issues,
-      column_name: :id,
-      job_arguments: [INCIDENT_ENUM_TYPE, incident_work_item_type.id]
-    )
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230522225610_remove_tmp_index_issues_on_issue_type_and_id_only_incidents.rb b/db/post_migrate/20230522225610_remove_tmp_index_issues_on_issue_type_and_id_only_incidents.rb
deleted file mode 100644
index f6cbff24755c6..0000000000000
--- a/db/post_migrate/20230522225610_remove_tmp_index_issues_on_issue_type_and_id_only_incidents.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveTmpIndexIssuesOnIssueTypeAndIdOnlyIncidents < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'tmp_index_issues_on_issue_type_and_id_only_incidents'
-  INCIDENT_ENUM_VALUE = 1
-
-  def up
-    remove_concurrent_index_by_name :issues, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :issues, [:issue_type, :id], name: INDEX_NAME, where: "issue_type = #{INCIDENT_ENUM_VALUE}"
-  end
-end
diff --git a/db/post_migrate/20230523125245_remove_project_ci_cd_setting_opt_in_jwt_column.rb b/db/post_migrate/20230523125245_remove_project_ci_cd_setting_opt_in_jwt_column.rb
deleted file mode 100644
index 2826077d6f073..0000000000000
--- a/db/post_migrate/20230523125245_remove_project_ci_cd_setting_opt_in_jwt_column.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveProjectCiCdSettingOptInJwtColumn < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def up
-    remove_column(:project_ci_cd_settings, :opt_in_jwt)
-  end
-
-  def down
-    add_column(:project_ci_cd_settings, :opt_in_jwt, :boolean, default: false, null: false, if_not_exists: true)
-  end
-end
diff --git a/db/post_migrate/20230523131914_recreate_index_on_vulnerability_reads.rb b/db/post_migrate/20230523131914_recreate_index_on_vulnerability_reads.rb
deleted file mode 100644
index 13f30b5ef6e7a..0000000000000
--- a/db/post_migrate/20230523131914_recreate_index_on_vulnerability_reads.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class RecreateIndexOnVulnerabilityReads < Gitlab::Database::Migration[2.1]
-  OLD_INDEX_NAME = "index_vulnerability_reads_common_finder_query"
-  NEW_INDEX_NAME = "index_vulnerability_reads_common_finder_query_2"
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index(
-      :vulnerability_reads,
-      %i[project_id state report_type severity vulnerability_id dismissal_reason],
-      name: NEW_INDEX_NAME,
-      order: { vulnerability_id: :desc }
-    )
-    remove_concurrent_index_by_name(
-      :vulnerability_reads,
-      OLD_INDEX_NAME
-    )
-  end
-
-  def down
-    add_concurrent_index(
-      :vulnerability_reads,
-      %i[project_id state report_type severity vulnerability_id],
-      name: OLD_INDEX_NAME,
-      order: { vulnerability_id: :desc }
-    )
-    remove_concurrent_index_by_name(
-      :vulnerability_reads,
-      NEW_INDEX_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230523132647_recreate_index_on_vulnerability_reads2.rb b/db/post_migrate/20230523132647_recreate_index_on_vulnerability_reads2.rb
deleted file mode 100644
index 0624ad22cf2c7..0000000000000
--- a/db/post_migrate/20230523132647_recreate_index_on_vulnerability_reads2.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class RecreateIndexOnVulnerabilityReads2 < Gitlab::Database::Migration[2.1]
-  OLD_INDEX_NAME = "index_vulnerability_reads_common_finder_query_with_namespace_id"
-  NEW_INDEX_NAME = "index_vulnerability_reads_common_finder_query_w_namespace_id"
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index(
-      :vulnerability_reads,
-      %i[namespace_id state report_type severity vulnerability_id dismissal_reason],
-      name: NEW_INDEX_NAME,
-      order: { vulnerability_id: :desc }
-    )
-    remove_concurrent_index_by_name(
-      :vulnerability_reads,
-      OLD_INDEX_NAME
-    )
-  end
-
-  def down
-    add_concurrent_index(
-      :vulnerability_reads,
-      %i[namespace_id state report_type severity vulnerability_id],
-      name: OLD_INDEX_NAME,
-      order: { vulnerability_id: :desc }
-    )
-    remove_concurrent_index_by_name(
-      :vulnerability_reads,
-      NEW_INDEX_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230523210653_remove_file_md5_from_debian_project_component_files.rb b/db/post_migrate/20230523210653_remove_file_md5_from_debian_project_component_files.rb
deleted file mode 100644
index 9ffba2da108bf..0000000000000
--- a/db/post_migrate/20230523210653_remove_file_md5_from_debian_project_component_files.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFileMd5FromDebianProjectComponentFiles < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    remove_column :packages_debian_project_component_files, :file_md5, :bytea
-  end
-end
diff --git a/db/post_migrate/20230523210758_remove_file_md5_from_debian_group_component_files.rb b/db/post_migrate/20230523210758_remove_file_md5_from_debian_group_component_files.rb
deleted file mode 100644
index fb9e6da985040..0000000000000
--- a/db/post_migrate/20230523210758_remove_file_md5_from_debian_group_component_files.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFileMd5FromDebianGroupComponentFiles < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    remove_column :packages_debian_group_component_files, :file_md5, :bytea
-  end
-end
diff --git a/db/post_migrate/20230524093249_add_async_index_to_vsa_issues.rb b/db/post_migrate/20230524093249_add_async_index_to_vsa_issues.rb
deleted file mode 100644
index b11dcae4b8439..0000000000000
--- a/db/post_migrate/20230524093249_add_async_index_to_vsa_issues.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# frozen_string_literal: true
-
-class AddAsyncIndexToVsaIssues < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :analytics_cycle_analytics_issue_stage_events
-  COLUMN_NAMES = %I[stage_event_hash_id group_id end_event_timestamp issue_id]
-  INDEX_NAME = 'index_issue_stage_events_for_consistency_check'
-
-  disable_ddl_transaction!
-
-  def up
-    # The table is hash partitioned
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      prepare_async_index(
-        partition.identifier,
-        COLUMN_NAMES,
-        name: partition_index_name
-      )
-    end
-  end
-
-  def down
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      unprepare_async_index_by_name(partition.identifier, partition_index_name)
-    end
-  end
-
-  private
-
-  def each_partition(table_name)
-    partitioned_table = find_partitioned_table(table_name)
-    partitioned_table.postgres_partitions.order(:name).each do |partition|
-      partition_index_name = generated_index_name(partition.identifier, INDEX_NAME)
-
-      yield partition, partition_index_name
-    end
-  end
-end
diff --git a/db/post_migrate/20230524093355_add_async_index_to_vsa_mrs.rb b/db/post_migrate/20230524093355_add_async_index_to_vsa_mrs.rb
deleted file mode 100644
index 4104493cb362b..0000000000000
--- a/db/post_migrate/20230524093355_add_async_index_to_vsa_mrs.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# frozen_string_literal: true
-
-class AddAsyncIndexToVsaMrs < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :analytics_cycle_analytics_merge_request_stage_events
-  COLUMN_NAMES = %I[stage_event_hash_id group_id end_event_timestamp merge_request_id]
-  INDEX_NAME = 'index_mr_stage_events_for_consistency_check'
-
-  disable_ddl_transaction!
-
-  def up
-    # The table is hash partitioned
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      prepare_async_index(
-        partition.identifier,
-        COLUMN_NAMES,
-        name: partition_index_name
-      )
-    end
-  end
-
-  def down
-    each_partition(TABLE_NAME) do |partition, partition_index_name|
-      unprepare_async_index_by_name(partition.identifier, partition_index_name)
-    end
-  end
-
-  private
-
-  def each_partition(table_name)
-    partitioned_table = find_partitioned_table(table_name)
-    partitioned_table.postgres_partitions.order(:name).each do |partition|
-      partition_index_name = generated_index_name(partition.identifier, INDEX_NAME)
-
-      yield partition, partition_index_name
-    end
-  end
-end
diff --git a/db/post_migrate/20230524120241_add_temp_index_to_packages_on_project_id_when_npm_and_not_pending_destruction.rb b/db/post_migrate/20230524120241_add_temp_index_to_packages_on_project_id_when_npm_and_not_pending_destruction.rb
deleted file mode 100644
index 58a3a26d2ebca..0000000000000
--- a/db/post_migrate/20230524120241_add_temp_index_to_packages_on_project_id_when_npm_and_not_pending_destruction.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class AddTempIndexToPackagesOnProjectIdWhenNpmAndNotPendingDestruction < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'tmp_idx_packages_on_project_id_when_npm_not_pending_destruction'
-  NPM_PACKAGE_TYPE = 2
-  PENDING_DESTRUCTION_STATUS = 4
-
-  def up
-    # Temporary index to be removed in 16.2 https://gitlab.com/gitlab-org/gitlab/-/issues/414216
-    add_concurrent_index(
-      :packages_packages,
-      :project_id,
-      name: INDEX_NAME,
-      where: "package_type = #{NPM_PACKAGE_TYPE} AND status <> #{PENDING_DESTRUCTION_STATUS}"
-    )
-  end
-
-  def down
-    remove_concurrent_index_by_name :packages_packages, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230524135543_replace_ci_build_pending_states_foreign_key.rb b/db/post_migrate/20230524135543_replace_ci_build_pending_states_foreign_key.rb
deleted file mode 100644
index deceb923a4803..0000000000000
--- a/db/post_migrate/20230524135543_replace_ci_build_pending_states_foreign_key.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildPendingStatesForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_build_pending_states, :p_ci_builds,
-      name: 'temp_fk_861cd17da3_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_build_pending_states, name: 'temp_fk_861cd17da3_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_build_pending_states, name: 'temp_fk_861cd17da3_p'
-    remove_foreign_key :ci_build_pending_states, name: 'temp_fk_861cd17da3_p'
-  end
-end
diff --git a/db/post_migrate/20230524135555_replace_ci_build_trace_chunks_foreign_key.rb b/db/post_migrate/20230524135555_replace_ci_build_trace_chunks_foreign_key.rb
deleted file mode 100644
index d5e4dddd0fc3d..0000000000000
--- a/db/post_migrate/20230524135555_replace_ci_build_trace_chunks_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildTraceChunksForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_build_trace_chunks, :p_ci_builds,
-      name: 'temp_fk_89e29fa5ee_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_build_trace_chunks,
-      name: 'temp_fk_89e29fa5ee_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_build_trace_chunks, name: 'temp_fk_89e29fa5ee_p'
-    remove_foreign_key :ci_build_trace_chunks, name: 'temp_fk_89e29fa5ee_p'
-  end
-end
diff --git a/db/post_migrate/20230524135607_replace_ci_unit_test_failures_foreign_key.rb b/db/post_migrate/20230524135607_replace_ci_unit_test_failures_foreign_key.rb
deleted file mode 100644
index 5319118b9ef1f..0000000000000
--- a/db/post_migrate/20230524135607_replace_ci_unit_test_failures_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiUnitTestFailuresForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_unit_test_failures, :p_ci_builds,
-      name: 'temp_fk_9e0fc58930_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_unit_test_failures,
-      name: 'temp_fk_9e0fc58930_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_unit_test_failures, name: 'temp_fk_9e0fc58930_p'
-    remove_foreign_key :ci_unit_test_failures, name: 'temp_fk_9e0fc58930_p'
-  end
-end
diff --git a/db/post_migrate/20230524135620_replace_ci_sources_pipelines_foreign_key.rb b/db/post_migrate/20230524135620_replace_ci_sources_pipelines_foreign_key.rb
deleted file mode 100644
index b0251de7f007b..0000000000000
--- a/db/post_migrate/20230524135620_replace_ci_sources_pipelines_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiSourcesPipelinesForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_sources_pipelines, :p_ci_builds,
-      name: 'temp_fk_be5624bf37_p',
-      column: [:source_partition_id, :source_job_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_sources_pipelines,
-      name: 'temp_fk_be5624bf37_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_sources_pipelines, name: 'temp_fk_be5624bf37_p'
-    remove_foreign_key :ci_sources_pipelines, name: 'temp_fk_be5624bf37_p'
-  end
-end
diff --git a/db/post_migrate/20230524135632_replace_ci_resources_foreign_key.rb b/db/post_migrate/20230524135632_replace_ci_resources_foreign_key.rb
deleted file mode 100644
index adf99e73fdb2e..0000000000000
--- a/db/post_migrate/20230524135632_replace_ci_resources_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiResourcesForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_resources, :p_ci_builds,
-      name: 'temp_fk_e169a8e3d5_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :nullify,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_resources,
-      name: 'temp_fk_e169a8e3d5_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_resources, name: 'temp_fk_e169a8e3d5_p'
-    remove_foreign_key :ci_resources, name: 'temp_fk_e169a8e3d5_p'
-  end
-end
diff --git a/db/post_migrate/20230524135645_replace_ci_build_report_results_foreign_key.rb b/db/post_migrate/20230524135645_replace_ci_build_report_results_foreign_key.rb
deleted file mode 100644
index 9e54d1e28850d..0000000000000
--- a/db/post_migrate/20230524135645_replace_ci_build_report_results_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildReportResultsForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_build_report_results, :p_ci_builds,
-      name: 'temp_fk_rails_16cb1ff064_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_build_report_results,
-      name: 'temp_fk_rails_16cb1ff064_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_build_report_results, name: 'temp_fk_rails_16cb1ff064_p'
-    remove_foreign_key :ci_build_report_results, name: 'temp_fk_rails_16cb1ff064_p'
-  end
-end
diff --git a/db/post_migrate/20230524135658_replace_ci_build_needs_foreign_key.rb b/db/post_migrate/20230524135658_replace_ci_build_needs_foreign_key.rb
deleted file mode 100644
index a41bd6d78bf3d..0000000000000
--- a/db/post_migrate/20230524135658_replace_ci_build_needs_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildNeedsForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_build_needs, :p_ci_builds,
-      name: 'temp_fk_rails_3cf221d4ed_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_build_needs,
-      name: 'temp_fk_rails_3cf221d4ed_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_build_needs, name: 'temp_fk_rails_3cf221d4ed_p'
-    remove_foreign_key :ci_build_needs, name: 'temp_fk_rails_3cf221d4ed_p'
-  end
-end
diff --git a/db/post_migrate/20230524135711_replace_ci_builds_runner_session_foreign_key.rb b/db/post_migrate/20230524135711_replace_ci_builds_runner_session_foreign_key.rb
deleted file mode 100644
index 9ae6a84d28ce8..0000000000000
--- a/db/post_migrate/20230524135711_replace_ci_builds_runner_session_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildsRunnerSessionForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_builds_runner_session, :p_ci_builds,
-      name: 'temp_fk_rails_70707857d3_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_builds_runner_session,
-      name: 'temp_fk_rails_70707857d3_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_builds_runner_session, name: 'temp_fk_rails_70707857d3_p'
-    remove_foreign_key :ci_builds_runner_session, name: 'temp_fk_rails_70707857d3_p'
-  end
-end
diff --git a/db/post_migrate/20230524135724_replace_ci_pending_builds_foreign_key.rb b/db/post_migrate/20230524135724_replace_ci_pending_builds_foreign_key.rb
deleted file mode 100644
index 6717ea272377d..0000000000000
--- a/db/post_migrate/20230524135724_replace_ci_pending_builds_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiPendingBuildsForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_pending_builds, :p_ci_builds,
-      name: 'temp_fk_rails_725a2644a3_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_pending_builds,
-      name: 'temp_fk_rails_725a2644a3_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_pending_builds, name: 'temp_fk_rails_725a2644a3_p'
-    remove_foreign_key :ci_pending_builds, name: 'temp_fk_rails_725a2644a3_p'
-  end
-end
diff --git a/db/post_migrate/20230524135737_replace_ci_build_trace_metadata_foreign_key.rb b/db/post_migrate/20230524135737_replace_ci_build_trace_metadata_foreign_key.rb
deleted file mode 100644
index abf5700ec9834..0000000000000
--- a/db/post_migrate/20230524135737_replace_ci_build_trace_metadata_foreign_key.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiBuildTraceMetadataForeignKey < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_foreign_key :ci_build_trace_metadata, :p_ci_builds,
-      name: 'temp_fk_rails_aebc78111f_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_build_trace_metadata,
-      name: 'temp_fk_rails_aebc78111f_p'
-  end
-
-  def down
-    unprepare_async_foreign_key_validation :ci_build_trace_metadata, name: 'temp_fk_rails_aebc78111f_p'
-    remove_foreign_key :ci_build_trace_metadata, name: 'temp_fk_rails_aebc78111f_p'
-  end
-end
diff --git a/db/post_migrate/20230524135750_replace_ci_job_artifacts_foreign_key.rb b/db/post_migrate/20230524135750_replace_ci_job_artifacts_foreign_key.rb
deleted file mode 100644
index 48c07bceb6adf..0000000000000
--- a/db/post_migrate/20230524135750_replace_ci_job_artifacts_foreign_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiJobArtifactsForeignKey < Gitlab::Database::Migration[2.1]
-  def up
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-
-  def down
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-end
diff --git a/db/post_migrate/20230524135803_replace_ci_running_builds_foreign_key.rb b/db/post_migrate/20230524135803_replace_ci_running_builds_foreign_key.rb
deleted file mode 100644
index 5d3807242efb0..0000000000000
--- a/db/post_migrate/20230524135803_replace_ci_running_builds_foreign_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiRunningBuildsForeignKey < Gitlab::Database::Migration[2.1]
-  def up
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-
-  def down
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-end
diff --git a/db/post_migrate/20230524135815_replace_ci_job_variables_foreign_key.rb b/db/post_migrate/20230524135815_replace_ci_job_variables_foreign_key.rb
deleted file mode 100644
index baac0d495a7be..0000000000000
--- a/db/post_migrate/20230524135815_replace_ci_job_variables_foreign_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiJobVariablesForeignKey < Gitlab::Database::Migration[2.1]
-  def up
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-
-  def down
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-end
diff --git a/db/post_migrate/20230524135828_replace_p_ci_builds_metadata_foreign_key.rb b/db/post_migrate/20230524135828_replace_p_ci_builds_metadata_foreign_key.rb
deleted file mode 100644
index c398b457978b0..0000000000000
--- a/db/post_migrate/20230524135828_replace_p_ci_builds_metadata_foreign_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ReplacePCiBuildsMetadataForeignKey < Gitlab::Database::Migration[2.1]
-  def up
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-
-  def down
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-end
diff --git a/db/post_migrate/20230524135840_replace_p_ci_runner_machine_builds_foreign_key.rb b/db/post_migrate/20230524135840_replace_p_ci_runner_machine_builds_foreign_key.rb
deleted file mode 100644
index bc9d534ec1f7d..0000000000000
--- a/db/post_migrate/20230524135840_replace_p_ci_runner_machine_builds_foreign_key.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ReplacePCiRunnerMachineBuildsForeignKey < Gitlab::Database::Migration[2.1]
-  def up
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-
-  def down
-    # This migration was skipped in the ci database on gitlab.com as part of
-    # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/14888
-  end
-end
diff --git a/db/post_migrate/20230524150232_remove_index_user_details_on_user_id_for_enterprise_users_without_date.rb b/db/post_migrate/20230524150232_remove_index_user_details_on_user_id_for_enterprise_users_without_date.rb
deleted file mode 100644
index d1c56af1721b5..0000000000000
--- a/db/post_migrate/20230524150232_remove_index_user_details_on_user_id_for_enterprise_users_without_date.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexUserDetailsOnUserIdForEnterpriseUsersWithoutDate < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_user_details_on_user_id_for_enterprise_users_without_date'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :user_details, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index(
-      :user_details, :user_id,
-      where: 'provisioned_by_group_id IS NOT NULL AND provisioned_by_group_at IS NULL',
-      name: INDEX_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230524150438_remove_index_user_details_on_user_id_for_enterprise_users_with_date.rb b/db/post_migrate/20230524150438_remove_index_user_details_on_user_id_for_enterprise_users_with_date.rb
deleted file mode 100644
index 350c72ce20b49..0000000000000
--- a/db/post_migrate/20230524150438_remove_index_user_details_on_user_id_for_enterprise_users_with_date.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexUserDetailsOnUserIdForEnterpriseUsersWithDate < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_user_details_on_user_id_for_enterprise_users_with_date'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :user_details, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index(
-      :user_details, :user_id,
-      where: 'provisioned_by_group_id IS NOT NULL AND provisioned_by_group_at IS NOT NULL',
-      name: INDEX_NAME
-    )
-  end
-end
diff --git a/db/post_migrate/20230524201454_queue_mark_duplicate_npm_packages_for_destruction.rb b/db/post_migrate/20230524201454_queue_mark_duplicate_npm_packages_for_destruction.rb
deleted file mode 100644
index 7460d93fd49d3..0000000000000
--- a/db/post_migrate/20230524201454_queue_mark_duplicate_npm_packages_for_destruction.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# frozen_string_literal: true
-
-class QueueMarkDuplicateNpmPackagesForDestruction < Gitlab::Database::Migration[2.1]
-  MIGRATION = 'MarkDuplicateNpmPackagesForDestruction'
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 5000
-  BATCH_CLASS_NAME = 'LooseIndexScanBatchingStrategy'
-  SUB_BATCH_SIZE = 500
-
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    queue_batched_background_migration(
-      MIGRATION,
-      :packages_packages,
-      :project_id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE,
-      batch_class_name: BATCH_CLASS_NAME,
-      sub_batch_size: SUB_BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :packages_packages, :project_id, [])
-  end
-end
diff --git a/db/post_migrate/20230525180605_add_index_work_item_types_on_base_type_id.rb b/db/post_migrate/20230525180605_add_index_work_item_types_on_base_type_id.rb
deleted file mode 100644
index 620153f2a7bb1..0000000000000
--- a/db/post_migrate/20230525180605_add_index_work_item_types_on_base_type_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexWorkItemTypesOnBaseTypeId < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_work_item_types_on_base_type_and_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :work_item_types, [:base_type, :id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :work_item_types, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230529183648_remove_temporary_billable_index.rb b/db/post_migrate/20230529183648_remove_temporary_billable_index.rb
deleted file mode 100644
index 88940aad968ad..0000000000000
--- a/db/post_migrate/20230529183648_remove_temporary_billable_index.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveTemporaryBillableIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'migrate_index_users_for_active_billable_users'
-  def up
-    remove_concurrent_index_by_name :users, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :users, :id,
-      name: INDEX_NAME,
-      where: "((state)::text = 'active'::text) " \
-             "AND (user_type IS NULL OR user_type = 0 OR user_type = ANY (ARRAY[0, 6, 4, 13])) " \
-             "AND (user_type IS NULL OR user_type = 0 OR user_type = ANY (ARRAY[0, 4, 5]))"
-  end
-end
diff --git a/db/post_migrate/20230529185110_cleanup_temporary_activity_index.rb b/db/post_migrate/20230529185110_cleanup_temporary_activity_index.rb
deleted file mode 100644
index d3e75aa79752f..0000000000000
--- a/db/post_migrate/20230529185110_cleanup_temporary_activity_index.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupTemporaryActivityIndex < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'i_users_on_last_activity_for_active_human_service_migration'
-
-  def up
-    remove_concurrent_index_by_name :users, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :users, [:id, :last_activity_on],
-      name: INDEX_NAME,
-      where: "state = 'active' AND ((user_type IS NULL) OR (user_type = 0) OR (user_type = 4))"
-  end
-end
diff --git a/db/post_migrate/20230530003634_cleanup_tofa_settings.rb b/db/post_migrate/20230530003634_cleanup_tofa_settings.rb
deleted file mode 100644
index 0e580a52bfd87..0000000000000
--- a/db/post_migrate/20230530003634_cleanup_tofa_settings.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupTofaSettings < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    cleanup_concurrent_column_rename :application_settings, :encrypted_tofa_credentials,
-      :encrypted_vertex_ai_credentials
-    cleanup_concurrent_column_rename :application_settings, :encrypted_tofa_credentials_iv,
-      :encrypted_vertex_ai_credentials_iv
-    cleanup_concurrent_column_rename :application_settings, :vertex_project,
-      :vertex_ai_project
-  end
-
-  def down
-    undo_cleanup_concurrent_column_rename :application_settings, :encrypted_tofa_credentials,
-      :encrypted_vertex_ai_credentials
-    undo_cleanup_concurrent_column_rename :application_settings, :encrypted_tofa_credentials_iv,
-      :encrypted_vertex_ai_credentials_iv
-    undo_cleanup_concurrent_column_rename :application_settings, :vertex_project,
-      :vertex_ai_project
-  end
-end
diff --git a/db/post_migrate/20230530015535_swap_notes_id_to_bigint_for_gitlab_dot_com.rb b/db/post_migrate/20230530015535_swap_notes_id_to_bigint_for_gitlab_dot_com.rb
deleted file mode 100644
index 2dfeb80aba797..0000000000000
--- a/db/post_migrate/20230530015535_swap_notes_id_to_bigint_for_gitlab_dot_com.rb
+++ /dev/null
@@ -1,195 +0,0 @@
-# frozen_string_literal: true
-
-class SwapNotesIdToBigintForGitlabDotCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  disable_ddl_transaction!
-
-  TABLE_NAME = 'notes'
-  PK_INDEX_NAME = 'index_notes_on_id_convert_to_bigint'
-
-  SECONDARY_INDEXES = [
-    {
-      original_name: :index_notes_on_author_id_and_created_at_and_id,
-      temporary_name: :index_notes_on_author_id_created_at_id_convert_to_bigint,
-      columns: [:author_id, :created_at, :id_convert_to_bigint],
-      options: {}
-    },
-    {
-      original_name: :index_notes_on_id_where_confidential,
-      temporary_name: :index_notes_on_id_convert_to_bigint_where_confidential,
-      columns: [:id_convert_to_bigint],
-      options: { where: 'confidential = true' }
-    },
-    {
-      original_name: :index_notes_on_id_where_internal,
-      temporary_name: :index_notes_on_id_convert_to_bigint_where_internal,
-      columns: [:id_convert_to_bigint],
-      options: { where: 'internal = true' }
-    },
-    {
-      original_name: :index_notes_on_project_id_and_id_and_system_false,
-      temporary_name: :index_notes_on_project_id_id_convert_to_bigint_system_false,
-      columns: [:project_id, :id_convert_to_bigint],
-      options: { where: 'NOT system' }
-    },
-    {
-      original_name: :note_mentions_temp_index,
-      temporary_name: :note_mentions_temp_index_convert_to_bigint,
-      columns: [:id_convert_to_bigint, :noteable_type],
-      options: { where: "note ~~ '%@%'::text" }
-    }
-  ]
-
-  REFERENCING_FOREIGN_KEYS = [
-    [:todos, :fk_91d1f47b13, :note_id, :cascade],
-    [:incident_management_timeline_events, :fk_d606a2a890, :promoted_from_note_id, :nullify],
-    [:system_note_metadata, :fk_d83a918cb1, :note_id, :cascade],
-    [:diff_note_positions, :fk_rails_13c7212859, :note_id, :cascade],
-    [:epic_user_mentions, :fk_rails_1c65976a49, :note_id, :cascade],
-    [:suggestions, :fk_rails_33b03a535c, :note_id, :cascade],
-    [:issue_user_mentions, :fk_rails_3861d9fefa, :note_id, :cascade],
-    [:note_diff_files, :fk_rails_3d66047aeb, :diff_note_id, :cascade],
-    [:snippet_user_mentions, :fk_rails_4d3f96b2cb, :note_id, :cascade],
-    [:design_user_mentions, :fk_rails_8de8c6d632, :note_id, :cascade],
-    [:vulnerability_user_mentions, :fk_rails_a18600f210, :note_id, :cascade],
-    [:commit_user_mentions, :fk_rails_a6760813e0, :note_id, :cascade],
-    [:merge_request_user_mentions, :fk_rails_c440b9ea31, :note_id, :cascade],
-    [:note_metadata, :fk_rails_d853224d37, :note_id, :cascade],
-    [:alert_management_alert_user_mentions, :fk_rails_eb2de0cdef, :note_id, :cascade],
-    [:timelogs, :fk_timelogs_note_id, :note_id, :nullify]
-  ]
-
-  def up
-    return unless should_run?
-
-    swap
-  end
-
-  def down
-    return unless should_run?
-
-    swap
-
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: PK_INDEX_NAME
-
-    REFERENCING_FOREIGN_KEYS.each do |(from_table, name, column, on_delete)|
-      temporary_name = "#{name}_tmp"
-
-      add_concurrent_foreign_key(
-        from_table,
-        TABLE_NAME,
-        column: column,
-        target_column: :id_convert_to_bigint,
-        name: temporary_name,
-        on_delete: on_delete,
-        reverse_lock_order: true,
-        validate: false)
-    end
-  end
-
-  def swap
-    # Copy existing indexes from the original column to the new column
-    create_indexes
-
-    # Copy existing FKs from the original column to the new column
-    create_referencing_foreign_keys
-
-    # Remove existing FKs from the referencing tables, so we don't have to lock on them when we drop the existing PK
-    replace_referencing_foreign_keys
-
-    with_lock_retries(raise_on_exhaustion: true) do
-      # Swap the original and new column names
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id TO id_tmp"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_convert_to_bigint TO id"
-      execute "ALTER TABLE #{TABLE_NAME} RENAME COLUMN id_tmp TO id_convert_to_bigint"
-
-      # Reset the function so PG drops the plan cache for the incorrect integer type
-      function_name = Gitlab::Database::UnidirectionalCopyTrigger
-        .on_table(TABLE_NAME, connection: connection)
-        .name(:id, :id_convert_to_bigint)
-      execute "ALTER FUNCTION #{quote_table_name(function_name)} RESET ALL"
-
-      # Swap defaults of the two columns, and change ownership of the sequence to the new id
-      execute "ALTER SEQUENCE notes_id_seq OWNED BY #{TABLE_NAME}.id"
-      change_column_default TABLE_NAME, :id, -> { "nextval('notes_id_seq'::regclass)" }
-      change_column_default TABLE_NAME, :id_convert_to_bigint, 0
-
-      # Swap the PK constraint from the original column to the new column.
-      # We deliberately don't CASCADE here because the old FKs should be removed already
-      execute "ALTER TABLE #{TABLE_NAME} DROP CONSTRAINT notes_pkey"
-      rename_index TABLE_NAME, PK_INDEX_NAME, 'notes_pkey'
-      execute "ALTER TABLE #{TABLE_NAME} ADD CONSTRAINT notes_pkey PRIMARY KEY USING INDEX notes_pkey"
-
-      # Remove old column indexes and change new column indexes to have the original names
-      rename_secondary_indexes # rubocop:disable Migration/WithLockRetriesDisallowedMethod
-    end
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-
-  def create_indexes
-    add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: PK_INDEX_NAME
-
-    SECONDARY_INDEXES.each do |index_definition|
-      options = index_definition[:options]
-      options[:name] = index_definition[:temporary_name]
-
-      add_concurrent_index(TABLE_NAME, index_definition[:columns], options)
-    end
-  end
-
-  def rename_secondary_indexes
-    SECONDARY_INDEXES.each do |index_definition|
-      remove_index(TABLE_NAME, name: index_definition[:original_name], if_exists: true) # rubocop:disable Migration/RemoveIndex
-      rename_index(TABLE_NAME, index_definition[:temporary_name], index_definition[:original_name])
-    end
-  end
-
-  def create_referencing_foreign_keys
-    REFERENCING_FOREIGN_KEYS.each do |(from_table, name, column, on_delete)|
-      # Don't attempt to create the FK if one already exists from the table to the new column
-      # The check in `add_concurrent_foreign_key` already checks for this, but it looks for the foreign key
-      # with the new name only (containing the `_tmp` suffix).
-      #
-      # Since we might partially rename FKs and re-run the migration, we also have to check and see if a FK exists
-      # on those columns that might not match the `_tmp` name.
-      next if foreign_key_exists?(
-        from_table, TABLE_NAME, column: column,
-        primary_key: :id_convert_to_bigint, name: name)
-
-      temporary_name = "#{name}_tmp"
-
-      add_concurrent_foreign_key(
-        from_table,
-        TABLE_NAME,
-        column: column,
-        target_column: :id_convert_to_bigint,
-        name: temporary_name,
-        on_delete: on_delete,
-        reverse_lock_order: true)
-    end
-  end
-
-  def replace_referencing_foreign_keys
-    REFERENCING_FOREIGN_KEYS.each do |(from_table, name, column, _)|
-      # Don't attempt to replace the FK unless it exists and points at the original column.
-      # This could happen if the migration is re-run due to failing midway.
-      next unless foreign_key_exists?(from_table, TABLE_NAME, column: column, primary_key: :id, name: name)
-
-      with_lock_retries(raise_on_exhaustion: true) do
-        temporary_name = "#{name}_tmp"
-
-        # Explicitly lock table in order of parent, child to attempt to avoid deadlocks
-        execute "LOCK TABLE #{TABLE_NAME}, #{from_table} IN ACCESS EXCLUSIVE MODE"
-
-        remove_foreign_key(from_table, TABLE_NAME, column: column, primary_key: :id, name: name)
-        rename_constraint(from_table, temporary_name, name)
-      end
-    end
-  end
-end
diff --git a/db/post_migrate/20230530100400_change_user_type_null.rb b/db/post_migrate/20230530100400_change_user_type_null.rb
deleted file mode 100644
index a74e8c3a774a1..0000000000000
--- a/db/post_migrate/20230530100400_change_user_type_null.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeUserTypeNull < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  def up
-    add_not_null_constraint :users, :user_type, validate: false
-  end
-
-  def down
-    remove_not_null_constraint :users, :user_type
-  end
-end
diff --git a/db/post_migrate/20230530114845_cleanup_organizations_with_null_path.rb b/db/post_migrate/20230530114845_cleanup_organizations_with_null_path.rb
deleted file mode 100644
index 6d04bf6e4ecbc..0000000000000
--- a/db/post_migrate/20230530114845_cleanup_organizations_with_null_path.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupOrganizationsWithNullPath < Gitlab::Database::Migration[2.1]
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  module Organizations
-    class Organization < Gitlab::Database::Migration[2.1]::MigrationRecord
-    end
-  end
-
-  def up
-    Organizations::Organization.update_all("path = lower(name)")
-  end
-
-  def down
-    Organizations::Organization.update_all(path: '')
-  end
-end
diff --git a/db/post_migrate/20230530115830_remove_default_on_organization_path.rb b/db/post_migrate/20230530115830_remove_default_on_organization_path.rb
deleted file mode 100644
index 82c71d5fef35f..0000000000000
--- a/db/post_migrate/20230530115830_remove_default_on_organization_path.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveDefaultOnOrganizationPath < Gitlab::Database::Migration[2.1]
-  def up
-    change_column_default :organizations, :path, nil
-  end
-
-  def down
-    change_column_default :organizations, :path, ''
-  end
-end
diff --git a/db/post_migrate/20230530140456_validate_fk_ci_build_pending_states_p_ci_builds.rb b/db/post_migrate/20230530140456_validate_fk_ci_build_pending_states_p_ci_builds.rb
deleted file mode 100644
index 6104731152d44..0000000000000
--- a/db/post_migrate/20230530140456_validate_fk_ci_build_pending_states_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildPendingStatesPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_build_pending_states, nil, name: :temp_fk_861cd17da3_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140509_validate_fk_ci_build_trace_chunks_p_ci_builds.rb b/db/post_migrate/20230530140509_validate_fk_ci_build_trace_chunks_p_ci_builds.rb
deleted file mode 100644
index 40cef0428cfcc..0000000000000
--- a/db/post_migrate/20230530140509_validate_fk_ci_build_trace_chunks_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildTraceChunksPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_build_trace_chunks, nil, name: :temp_fk_89e29fa5ee_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140521_validate_fk_ci_unit_test_failures_p_ci_builds.rb b/db/post_migrate/20230530140521_validate_fk_ci_unit_test_failures_p_ci_builds.rb
deleted file mode 100644
index 948d9a837a592..0000000000000
--- a/db/post_migrate/20230530140521_validate_fk_ci_unit_test_failures_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiUnitTestFailuresPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_unit_test_failures, nil, name: :temp_fk_9e0fc58930_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140534_validate_fk_ci_sources_pipelines_p_ci_builds.rb b/db/post_migrate/20230530140534_validate_fk_ci_sources_pipelines_p_ci_builds.rb
deleted file mode 100644
index 7e92026f21f0a..0000000000000
--- a/db/post_migrate/20230530140534_validate_fk_ci_sources_pipelines_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiSourcesPipelinesPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_sources_pipelines, nil, name: :temp_fk_be5624bf37_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140546_validate_fk_ci_resources_p_ci_builds.rb b/db/post_migrate/20230530140546_validate_fk_ci_resources_p_ci_builds.rb
deleted file mode 100644
index 7cb58aed2ed0e..0000000000000
--- a/db/post_migrate/20230530140546_validate_fk_ci_resources_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiResourcesPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_resources, nil, name: :temp_fk_e169a8e3d5_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140558_validate_fk_ci_build_report_results_p_ci_builds.rb b/db/post_migrate/20230530140558_validate_fk_ci_build_report_results_p_ci_builds.rb
deleted file mode 100644
index f5188ab6bfe83..0000000000000
--- a/db/post_migrate/20230530140558_validate_fk_ci_build_report_results_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildReportResultsPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_build_report_results, nil, name: :temp_fk_rails_16cb1ff064_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140611_validate_fk_ci_build_needs_p_ci_builds.rb b/db/post_migrate/20230530140611_validate_fk_ci_build_needs_p_ci_builds.rb
deleted file mode 100644
index 6988e1027e5ad..0000000000000
--- a/db/post_migrate/20230530140611_validate_fk_ci_build_needs_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildNeedsPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_build_needs, nil, name: :temp_fk_rails_3cf221d4ed_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140623_validate_fk_ci_builds_runner_session_p_ci_builds.rb b/db/post_migrate/20230530140623_validate_fk_ci_builds_runner_session_p_ci_builds.rb
deleted file mode 100644
index 892df3ae00bbd..0000000000000
--- a/db/post_migrate/20230530140623_validate_fk_ci_builds_runner_session_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildsRunnerSessionPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_builds_runner_session, nil, name: :temp_fk_rails_70707857d3_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140634_validate_fk_ci_pending_builds_p_ci_builds.rb b/db/post_migrate/20230530140634_validate_fk_ci_pending_builds_p_ci_builds.rb
deleted file mode 100644
index 8f6113aea314f..0000000000000
--- a/db/post_migrate/20230530140634_validate_fk_ci_pending_builds_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiPendingBuildsPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_pending_builds, nil, name: :temp_fk_rails_725a2644a3_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230530140646_validate_fk_ci_build_trace_metadata_p_ci_builds.rb b/db/post_migrate/20230530140646_validate_fk_ci_build_trace_metadata_p_ci_builds.rb
deleted file mode 100644
index 00c015321ba59..0000000000000
--- a/db/post_migrate/20230530140646_validate_fk_ci_build_trace_metadata_p_ci_builds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ValidateFkCiBuildTraceMetadataPCiBuilds < Gitlab::Database::Migration[2.1]
-  def up
-    validate_foreign_key :ci_build_trace_metadata, nil, name: :temp_fk_rails_aebc78111f_p
-  end
-
-  def down
-    # no-op
-  end
-end
diff --git a/db/post_migrate/20230531165731_drop_index_issues_on_work_item_type_id.rb b/db/post_migrate/20230531165731_drop_index_issues_on_work_item_type_id.rb
deleted file mode 100644
index d200aecea6519..0000000000000
--- a/db/post_migrate/20230531165731_drop_index_issues_on_work_item_type_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DropIndexIssuesOnWorkItemTypeId < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_issues_on_work_item_type_id'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :issues, INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :issues, :work_item_type_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230601184234_drop_unnecessary_async_index_from_events.rb b/db/post_migrate/20230601184234_drop_unnecessary_async_index_from_events.rb
deleted file mode 100644
index f3ce879c70eab..0000000000000
--- a/db/post_migrate/20230601184234_drop_unnecessary_async_index_from_events.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-class DropUnnecessaryAsyncIndexFromEvents < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_on_events_to_improve_contribution_analytics_performance'
-
-  def up
-    prepare_async_index_removal :events, %i[project_id target_type action created_at author_id id], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :events, %i[project_id target_type action created_at author_id id], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230602063059_remove_broadcast_messages_namespace_id_column.rb b/db/post_migrate/20230602063059_remove_broadcast_messages_namespace_id_column.rb
deleted file mode 100644
index 144b16e480621..0000000000000
--- a/db/post_migrate/20230602063059_remove_broadcast_messages_namespace_id_column.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveBroadcastMessagesNamespaceIdColumn < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_broadcast_messages_on_namespace_id'
-
-  def up
-    remove_column :broadcast_messages, :namespace_id
-  end
-
-  def down
-    add_column :broadcast_messages, :namespace_id, :bigint unless column_exists?(:broadcast_messages, :namespace_id)
-
-    add_concurrent_index :broadcast_messages, :namespace_id, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230602112904_change_user_preferences_defaults.rb b/db/post_migrate/20230602112904_change_user_preferences_defaults.rb
deleted file mode 100644
index 98d939790396b..0000000000000
--- a/db/post_migrate/20230602112904_change_user_preferences_defaults.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeUserPreferencesDefaults < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    change_column_default(:user_preferences, :tab_width, from: nil, to: 8)
-    change_column_default(:user_preferences, :time_display_relative, from: nil, to: true)
-    change_column_default(:user_preferences, :render_whitespace_in_code, from: nil, to: false)
-  end
-end
diff --git a/db/post_migrate/20230602131429_change_notified_of_own_activity_default.rb b/db/post_migrate/20230602131429_change_notified_of_own_activity_default.rb
deleted file mode 100644
index d564ad9ab4c0b..0000000000000
--- a/db/post_migrate/20230602131429_change_notified_of_own_activity_default.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# frozen_string_literal: true
-
-class ChangeNotifiedOfOwnActivityDefault < Gitlab::Database::Migration[2.1]
-  enable_lock_retries!
-
-  def change
-    change_column_default(:users, :notified_of_own_activity, from: nil, to: false)
-  end
-end
diff --git a/db/post_migrate/20230605085936_add_new_index_to_vsa_issue_stage_events.rb b/db/post_migrate/20230605085936_add_new_index_to_vsa_issue_stage_events.rb
deleted file mode 100644
index 75f28f35fe237..0000000000000
--- a/db/post_migrate/20230605085936_add_new_index_to_vsa_issue_stage_events.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddNewIndexToVsaIssueStageEvents < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :analytics_cycle_analytics_issue_stage_events
-  COLUMN_NAMES = %I[stage_event_hash_id group_id end_event_timestamp issue_id].freeze
-  INDEX_NAME = 'index_issue_stage_events_for_consistency_check'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_partitioned_index TABLE_NAME, COLUMN_NAMES, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230605085957_add_new_index_to_vsa_mr_stage_events.rb b/db/post_migrate/20230605085957_add_new_index_to_vsa_mr_stage_events.rb
deleted file mode 100644
index b4ed38519c5ce..0000000000000
--- a/db/post_migrate/20230605085957_add_new_index_to_vsa_mr_stage_events.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddNewIndexToVsaMrStageEvents < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  TABLE_NAME = :analytics_cycle_analytics_merge_request_stage_events
-  COLUMN_NAMES = %I[stage_event_hash_id group_id end_event_timestamp merge_request_id]
-  INDEX_NAME = 'index_mr_stage_events_for_consistency_check'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_partitioned_index TABLE_NAME, COLUMN_NAMES, name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_partitioned_index_by_name TABLE_NAME, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230605093005_add_index_for_sbom_occurrences_on_project_id_source_id.rb b/db/post_migrate/20230605093005_add_index_for_sbom_occurrences_on_project_id_source_id.rb
deleted file mode 100644
index 868cf2763543b..0000000000000
--- a/db/post_migrate/20230605093005_add_index_for_sbom_occurrences_on_project_id_source_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexForSbomOccurrencesOnProjectIdSourceId < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'idx_sbom_occurrences_on_project_id_and_source_id'
-
-  def up
-    add_concurrent_index :sbom_occurrences, [:project_id, :source_id], name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :sbom_occurrences, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null.rb b/db/post_migrate/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null.rb
deleted file mode 100644
index b82c2dfb8ed75..0000000000000
--- a/db/post_migrate/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DropTmpIndexOauthAccessTokensOnIdWhereExpiresInNull < Gitlab::Database::Migration[2.1]
-  TMP_INDEX = 'tmp_index_oauth_access_tokens_on_id_where_expires_in_null'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :oauth_access_tokens, TMP_INDEX
-  end
-
-  def down
-    add_concurrent_index :oauth_access_tokens, :id, where: "expires_in IS NULL", name: TMP_INDEX
-  end
-end
diff --git a/db/post_migrate/20230606183327_add_index_user_details_on_enterprise_group_id.rb b/db/post_migrate/20230606183327_add_index_user_details_on_enterprise_group_id.rb
deleted file mode 100644
index d3b53867b4f1d..0000000000000
--- a/db/post_migrate/20230606183327_add_index_user_details_on_enterprise_group_id.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexUserDetailsOnEnterpriseGroupId < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_user_details_on_enterprise_group_id'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :user_details, :enterprise_group_id, name: INDEX_NAME
-
-    add_concurrent_foreign_key :user_details, :namespaces, column: :enterprise_group_id, on_delete: :nullify
-  end
-
-  def down
-    with_lock_retries do
-      remove_foreign_key :user_details, column: :enterprise_group_id
-    end
-
-    remove_concurrent_index_by_name :user_details, name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230606193037_create_index_alert_management_alerts_on_created_at_project_id_with_issue.rb b/db/post_migrate/20230606193037_create_index_alert_management_alerts_on_created_at_project_id_with_issue.rb
deleted file mode 100644
index 3038193e949bf..0000000000000
--- a/db/post_migrate/20230606193037_create_index_alert_management_alerts_on_created_at_project_id_with_issue.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class CreateIndexAlertManagementAlertsOnCreatedAtProjectIdWithIssue < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'idx_alert_management_alerts_on_created_at_project_id_with_issue'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :alert_management_alerts, [:created_at, :project_id],
-      where: 'issue_id IS NOT NULL',
-      name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :alert_management_alerts, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230607093222_remove_webauthn_registrations_u2f_registration_id_column.rb b/db/post_migrate/20230607093222_remove_webauthn_registrations_u2f_registration_id_column.rb
deleted file mode 100644
index 6e861fc258a26..0000000000000
--- a/db/post_migrate/20230607093222_remove_webauthn_registrations_u2f_registration_id_column.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveWebauthnRegistrationsU2fRegistrationIdColumn < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  INDEX_NAME = 'index_webauthn_registrations_on_u2f_registration_id'
-
-  def up
-    remove_column :webauthn_registrations, :u2f_registration_id
-  end
-
-  def down
-    add_column :webauthn_registrations, :u2f_registration_id, :integer
-
-    add_concurrent_index(
-      :webauthn_registrations,
-      :u2f_registration_id,
-      name: INDEX_NAME,
-      where: 'u2f_registration_id IS NOT NULL')
-  end
-end
diff --git a/db/post_migrate/20230607165632_remove_fk_on_project_id_on_project_wiki_repository_states.rb b/db/post_migrate/20230607165632_remove_fk_on_project_id_on_project_wiki_repository_states.rb
deleted file mode 100644
index a70cc3aeab69e..0000000000000
--- a/db/post_migrate/20230607165632_remove_fk_on_project_id_on_project_wiki_repository_states.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveFkOnProjectIdOnProjectWikiRepositoryStates < Gitlab::Database::Migration[2.1]
-  SOURCE_TABLE_NAME = :project_wiki_repository_states
-  TARGET_TABLE_NAME = :projects
-  FK_NAME = :fk_rails_9647227ce1
-
-  disable_ddl_transaction!
-
-  def up
-    with_lock_retries do
-      remove_foreign_key_if_exists(SOURCE_TABLE_NAME, TARGET_TABLE_NAME, name: FK_NAME)
-    end
-  end
-
-  def down
-    add_concurrent_foreign_key(SOURCE_TABLE_NAME, TARGET_TABLE_NAME,
-      column: :project_id, name: FK_NAME, on_delete: :cascade)
-  end
-end
diff --git a/db/post_migrate/20230607165718_drop_project_wiki_repository_states.rb b/db/post_migrate/20230607165718_drop_project_wiki_repository_states.rb
deleted file mode 100644
index 3ae92ca2dc1a7..0000000000000
--- a/db/post_migrate/20230607165718_drop_project_wiki_repository_states.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-class DropProjectWikiRepositoryStates < Gitlab::Database::Migration[2.1]
-  VERIFICATION_STATE_INDEX_NAME = "index_project_wiki_repository_states_on_verification_state"
-  PENDING_VERIFICATION_INDEX_NAME = "index_project_wiki_repository_states_pending_verification"
-  FAILED_VERIFICATION_INDEX_NAME = "index_project_wiki_repository_states_failed_verification"
-  NEEDS_VERIFICATION_INDEX_NAME = "index_project_wiki_repository_states_needs_verification"
-  PROJECT_WIKI_REPOSITORY_INDEX_NAME = "idx_project_wiki_repository_states_project_wiki_repository_id"
-
-  disable_ddl_transaction!
-
-  def up
-    drop_table :project_wiki_repository_states, if_exists: true
-  end
-
-  def down
-    unless table_exists?(:project_wiki_repository_states)
-      create_table :project_wiki_repository_states, id: false do |t| # rubocop:disable Migration/SchemaAdditionMethodsNoPost
-        t.datetime_with_timezone :verification_started_at
-        t.datetime_with_timezone :verification_retry_at
-        t.datetime_with_timezone :verified_at
-        t.bigint :project_id, primary_key: true, index: false
-        t.integer :verification_state, default: 0, limit: 2, null: false
-        t.integer :verification_retry_count, limit: 2
-        t.binary :verification_checksum, using: 'verification_checksum::bytea'
-        t.text :verification_failure, limit: 255
-        t.bigint :project_wiki_repository_id
-
-        t.index :verification_state,
-          name: VERIFICATION_STATE_INDEX_NAME
-
-        t.index :verified_at,
-          where: "(verification_state = 0)",
-          order: { verified_at: 'ASC NULLS FIRST' },
-          name: PENDING_VERIFICATION_INDEX_NAME
-
-        t.index :verification_retry_at,
-          where: "(verification_state = 3)",
-          order: { verification_retry_at: 'ASC NULLS FIRST' },
-          name: FAILED_VERIFICATION_INDEX_NAME
-
-        t.index :verification_state,
-          where: "(verification_state = 0 OR verification_state = 3)",
-          name: NEEDS_VERIFICATION_INDEX_NAME
-      end
-    end
-
-    add_concurrent_index :project_wiki_repository_states,
-      :project_wiki_repository_id,
-      name: PROJECT_WIKI_REPOSITORY_INDEX_NAME
-
-    add_concurrent_foreign_key :project_wiki_repository_states,
-      :project_wiki_repositories,
-      column: :project_wiki_repository_id,
-      on_delete: :cascade
-  end
-end
diff --git a/db/post_migrate/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at.rb b/db/post_migrate/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at.rb
deleted file mode 100644
index ec8cacc34abab..0000000000000
--- a/db/post_migrate/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class RequeueCleanupPersonalAccessTokensWithNilExpiresAt < Gitlab::Database::Migration[2.1]
-  MIGRATION = "CleanupPersonalAccessTokensWithNilExpiresAt"
-  DELAY_INTERVAL = 2.minutes
-  BATCH_SIZE = 50_000
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_main
-
-  def up
-    delete_batched_background_migration(MIGRATION, :personal_access_tokens, :id, [])
-
-    queue_batched_background_migration(
-      MIGRATION,
-      :personal_access_tokens,
-      :id,
-      job_interval: DELAY_INTERVAL,
-      batch_size: BATCH_SIZE
-    )
-  end
-
-  def down
-    delete_batched_background_migration(MIGRATION, :personal_access_tokens, :id, [])
-  end
-end
diff --git a/db/post_migrate/20230608081257_delete_index_members_on_source_id_and_source_type.rb b/db/post_migrate/20230608081257_delete_index_members_on_source_id_and_source_type.rb
deleted file mode 100644
index 5018d36184190..0000000000000
--- a/db/post_migrate/20230608081257_delete_index_members_on_source_id_and_source_type.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteIndexMembersOnSourceIdAndSourceType < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_members_on_source_id_and_source_type'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :members, name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :members, %i[source_id source_type], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230608081924_delete_index_unique_project_authorizations_on_project_id_user_id.rb b/db/post_migrate/20230608081924_delete_index_unique_project_authorizations_on_project_id_user_id.rb
deleted file mode 100644
index 722f58b836a37..0000000000000
--- a/db/post_migrate/20230608081924_delete_index_unique_project_authorizations_on_project_id_user_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class DeleteIndexUniqueProjectAuthorizationsOnProjectIdUserId < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_unique_project_authorizations_on_project_id_user_id'
-
-  disable_ddl_transaction!
-
-  def up
-    remove_concurrent_index_by_name :project_authorizations, name: INDEX_NAME
-  end
-
-  def down
-    add_concurrent_index :project_authorizations, %i[project_id user_id], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230608101503_add_ci_job_annotations_foreign_key.rb b/db/post_migrate/20230608101503_add_ci_job_annotations_foreign_key.rb
deleted file mode 100644
index b4548ed8c286b..0000000000000
--- a/db/post_migrate/20230608101503_add_ci_job_annotations_foreign_key.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class AddCiJobAnnotationsForeignKey < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_partitioned_foreign_key(
-      :p_ci_job_annotations, :p_ci_builds,
-      column: [:partition_id, :job_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      reverse_lock_order: true
-    )
-  end
-
-  def down
-    remove_foreign_key_if_exists :p_ci_job_annotations, :p_ci_builds
-  end
-end
diff --git a/db/post_migrate/20230608231452_cleanup_bigint_conversion_for_todos_for_gitlab_com.rb b/db/post_migrate/20230608231452_cleanup_bigint_conversion_for_todos_for_gitlab_com.rb
deleted file mode 100644
index 281b5f926fa78..0000000000000
--- a/db/post_migrate/20230608231452_cleanup_bigint_conversion_for_todos_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForTodosForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :todos
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230608232452_cleanup_bigint_conversion_for_system_note_metadata_for_gitlab_com.rb b/db/post_migrate/20230608232452_cleanup_bigint_conversion_for_system_note_metadata_for_gitlab_com.rb
deleted file mode 100644
index e52dd3e5da8fb..0000000000000
--- a/db/post_migrate/20230608232452_cleanup_bigint_conversion_for_system_note_metadata_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForSystemNoteMetadataForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :system_note_metadata
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230608233452_cleanup_bigint_conversion_for_epic_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230608233452_cleanup_bigint_conversion_for_epic_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index 733aaa62b31df..0000000000000
--- a/db/post_migrate/20230608233452_cleanup_bigint_conversion_for_epic_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForEpicUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :epic_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230608234452_cleanup_bigint_conversion_for_suggestions_for_gitlab_com.rb b/db/post_migrate/20230608234452_cleanup_bigint_conversion_for_suggestions_for_gitlab_com.rb
deleted file mode 100644
index 90f175bd35e85..0000000000000
--- a/db/post_migrate/20230608234452_cleanup_bigint_conversion_for_suggestions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForSuggestionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :suggestions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230608235452_cleanup_bigint_conversion_for_issue_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230608235452_cleanup_bigint_conversion_for_issue_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index 094a8f43eef4b..0000000000000
--- a/db/post_migrate/20230608235452_cleanup_bigint_conversion_for_issue_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForIssueUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :issue_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609000452_cleanup_bigint_conversion_for_note_diff_files_for_gitlab_com.rb b/db/post_migrate/20230609000452_cleanup_bigint_conversion_for_note_diff_files_for_gitlab_com.rb
deleted file mode 100644
index bdb6ef83ea729..0000000000000
--- a/db/post_migrate/20230609000452_cleanup_bigint_conversion_for_note_diff_files_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForNoteDiffFilesForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :note_diff_files
-  COLUMNS = [:diff_note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609001452_cleanup_bigint_conversion_for_snippet_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230609001452_cleanup_bigint_conversion_for_snippet_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index f4b7724567b08..0000000000000
--- a/db/post_migrate/20230609001452_cleanup_bigint_conversion_for_snippet_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForSnippetUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :snippet_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609002452_cleanup_bigint_conversion_for_design_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230609002452_cleanup_bigint_conversion_for_design_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index 2314cb4ac009d..0000000000000
--- a/db/post_migrate/20230609002452_cleanup_bigint_conversion_for_design_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForDesignUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :design_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609003452_cleanup_bigint_conversion_for_vulnerability_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230609003452_cleanup_bigint_conversion_for_vulnerability_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index 4722d3d24e86a..0000000000000
--- a/db/post_migrate/20230609003452_cleanup_bigint_conversion_for_vulnerability_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForVulnerabilityUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :vulnerability_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609004452_cleanup_bigint_conversion_for_commit_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230609004452_cleanup_bigint_conversion_for_commit_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index b7399f3a6dbd6..0000000000000
--- a/db/post_migrate/20230609004452_cleanup_bigint_conversion_for_commit_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForCommitUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :commit_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609005452_cleanup_bigint_conversion_for_merge_request_user_mentions_for_gitlab_com.rb b/db/post_migrate/20230609005452_cleanup_bigint_conversion_for_merge_request_user_mentions_for_gitlab_com.rb
deleted file mode 100644
index b4b66d218f0e2..0000000000000
--- a/db/post_migrate/20230609005452_cleanup_bigint_conversion_for_merge_request_user_mentions_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForMergeRequestUserMentionsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :merge_request_user_mentions
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609010452_cleanup_bigint_conversion_for_timelogs_for_gitlab_com.rb b/db/post_migrate/20230609010452_cleanup_bigint_conversion_for_timelogs_for_gitlab_com.rb
deleted file mode 100644
index 6a9d5532716b2..0000000000000
--- a/db/post_migrate/20230609010452_cleanup_bigint_conversion_for_timelogs_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForTimelogsForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :timelogs
-  COLUMNS = [:note_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230609011452_cleanup_bigint_conversion_for_award_emoji_for_gitlab_com.rb b/db/post_migrate/20230609011452_cleanup_bigint_conversion_for_award_emoji_for_gitlab_com.rb
deleted file mode 100644
index 5edbd8ed212e9..0000000000000
--- a/db/post_migrate/20230609011452_cleanup_bigint_conversion_for_award_emoji_for_gitlab_com.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-class CleanupBigintConversionForAwardEmojiForGitlabCom < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::ConvertToBigint
-
-  enable_lock_retries!
-
-  TABLE = :award_emoji
-  COLUMNS = [:awardable_id]
-
-  def up
-    return unless should_run?
-
-    cleanup_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  def down
-    return unless should_run?
-
-    restore_conversion_of_integer_to_bigint(TABLE, COLUMNS)
-  end
-
-  private
-
-  def should_run?
-    com_or_dev_or_test_but_not_jh?
-  end
-end
diff --git a/db/post_migrate/20230612075608_replace_ci_job_artifacts_foreign_key_v2.rb b/db/post_migrate/20230612075608_replace_ci_job_artifacts_foreign_key_v2.rb
deleted file mode 100644
index 34a77316f6b78..0000000000000
--- a/db/post_migrate/20230612075608_replace_ci_job_artifacts_foreign_key_v2.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiJobArtifactsForeignKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    add_concurrent_foreign_key :ci_job_artifacts, :p_ci_builds,
-      name: 'temp_fk_rails_c5137cb2c1_p',
-      column: [:partition_id, :job_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_job_artifacts,
-      name: 'temp_fk_rails_c5137cb2c1_p'
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation :ci_job_artifacts, name: 'temp_fk_rails_c5137cb2c1_p'
-    remove_foreign_key_if_exists :ci_job_artifacts, name: 'temp_fk_rails_c5137cb2c1_p'
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_job_artifacts, :ci_builds)
-  end
-end
diff --git a/db/post_migrate/20230612083337_replace_ci_running_builds_foreign_key_v2.rb b/db/post_migrate/20230612083337_replace_ci_running_builds_foreign_key_v2.rb
deleted file mode 100644
index f8abe274610f4..0000000000000
--- a/db/post_migrate/20230612083337_replace_ci_running_builds_foreign_key_v2.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiRunningBuildsForeignKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    add_concurrent_foreign_key :ci_running_builds, :p_ci_builds,
-      name: 'temp_fk_rails_da45cfa165_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_running_builds,
-      name: 'temp_fk_rails_da45cfa165_p'
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation :ci_running_builds, name: 'temp_fk_rails_da45cfa165_p'
-    remove_foreign_key_if_exists :ci_running_builds, name: 'temp_fk_rails_da45cfa165_p'
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_running_builds, :ci_builds)
-  end
-end
diff --git a/db/post_migrate/20230612083655_replace_ci_job_variables_foreign_key_v2.rb b/db/post_migrate/20230612083655_replace_ci_job_variables_foreign_key_v2.rb
deleted file mode 100644
index df3593c530410..0000000000000
--- a/db/post_migrate/20230612083655_replace_ci_job_variables_foreign_key_v2.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceCiJobVariablesForeignKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    add_concurrent_foreign_key :ci_job_variables, :p_ci_builds,
-      name: 'temp_fk_rails_fbf3b34792_p',
-      column: [:partition_id, :job_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_async_foreign_key_validation :ci_job_variables,
-      name: 'temp_fk_rails_fbf3b34792_p'
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_async_foreign_key_validation :ci_job_variables, name: 'temp_fk_rails_fbf3b34792_p'
-    remove_foreign_key_if_exists :ci_job_variables, name: 'temp_fk_rails_fbf3b34792_p'
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_job_variables, :ci_builds)
-  end
-end
diff --git a/db/post_migrate/20230612083810_replace_p_ci_builds_metadata_foreign_key_v2.rb b/db/post_migrate/20230612083810_replace_p_ci_builds_metadata_foreign_key_v2.rb
deleted file mode 100644
index c97dd22eee18e..0000000000000
--- a/db/post_migrate/20230612083810_replace_p_ci_builds_metadata_foreign_key_v2.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-# frozen_string_literal: true
-
-class ReplacePCiBuildsMetadataForeignKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    add_concurrent_partitioned_foreign_key :p_ci_builds_metadata, :p_ci_builds,
-      name: 'temp_fk_e20479742e_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_partitioned_async_foreign_key_validation :p_ci_builds_metadata,
-      name: 'temp_fk_e20479742e_p'
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_partitioned_async_foreign_key_validation :p_ci_builds_metadata, name: 'temp_fk_e20479742e_p'
-
-    Gitlab::Database::PostgresPartitionedTable.each_partition(:p_ci_builds_metadata) do |partition|
-      execute "ALTER TABLE #{partition.identifier} DROP CONSTRAINT IF EXISTS temp_fk_e20479742e_p"
-    end
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_builds_metadata, :ci_builds)
-  end
-end
diff --git a/db/post_migrate/20230612084013_replace_p_ci_runner_machine_builds_foreign_key_v2.rb b/db/post_migrate/20230612084013_replace_p_ci_runner_machine_builds_foreign_key_v2.rb
deleted file mode 100644
index dbbf7263d87ee..0000000000000
--- a/db/post_migrate/20230612084013_replace_p_ci_runner_machine_builds_foreign_key_v2.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-# frozen_string_literal: true
-
-class ReplacePCiRunnerMachineBuildsForeignKeyV2 < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::PartitioningMigrationHelpers
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-
-    add_concurrent_partitioned_foreign_key :p_ci_runner_machine_builds, :p_ci_builds,
-      name: 'temp_fk_bb490f12fe_p',
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: false,
-      reverse_lock_order: true
-
-    prepare_partitioned_async_foreign_key_validation :p_ci_runner_machine_builds,
-      name: 'temp_fk_bb490f12fe_p'
-  end
-
-  def down
-    return unless should_run?
-
-    unprepare_partitioned_async_foreign_key_validation :p_ci_runner_machine_builds, name: 'temp_fk_bb490f12fe_p'
-
-    Gitlab::Database::PostgresPartitionedTable.each_partition(:p_ci_runner_machine_builds) do |partition|
-      execute "ALTER TABLE #{partition.identifier} DROP CONSTRAINT IF EXISTS temp_fk_bb490f12fe_p"
-    end
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_builds)
-  end
-end
diff --git a/db/post_migrate/20230612162643_pm_checkpoints_remove_advisory_entries.rb b/db/post_migrate/20230612162643_pm_checkpoints_remove_advisory_entries.rb
deleted file mode 100644
index 370441730b664..0000000000000
--- a/db/post_migrate/20230612162643_pm_checkpoints_remove_advisory_entries.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class PmCheckpointsRemoveAdvisoryEntries < Gitlab::Database::Migration[2.1]
-  disable_ddl_transaction!
-
-  restrict_gitlab_migration gitlab_schema: :gitlab_pm
-
-  def up
-    execute("DELETE FROM pm_checkpoints
-      WHERE data_type = #{Enums::PackageMetadata::DATA_TYPES[:licenses]} and version_format = 1")
-    execute("UPDATE pm_checkpoints SET data_type = #{Enums::PackageMetadata::DATA_TYPES[:licenses]}
-      WHERE data_type = #{Enums::PackageMetadata::DATA_TYPES[:advisories]} and version_format = 1")
-  end
-
-  def down
-    # noop
-  end
-end
diff --git a/db/post_migrate/20230614073136_restore_index_for_contribution_analytics_events.rb b/db/post_migrate/20230614073136_restore_index_for_contribution_analytics_events.rb
deleted file mode 100644
index 2ac485f8dc0f6..0000000000000
--- a/db/post_migrate/20230614073136_restore_index_for_contribution_analytics_events.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class RestoreIndexForContributionAnalyticsEvents < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_on_events_to_improve_contribution_analytics_performance'
-
-  disable_ddl_transaction!
-
-  def up
-    prepare_async_index :events, %i[project_id target_type action created_at author_id id], name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :events, %i[project_id target_type action created_at author_id id], name: INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230614181637_add_idx_issues_on_work_item_type_project_closed_at_where_closed.rb b/db/post_migrate/20230614181637_add_idx_issues_on_work_item_type_project_closed_at_where_closed.rb
deleted file mode 100644
index dd260b868e50e..0000000000000
--- a/db/post_migrate/20230614181637_add_idx_issues_on_work_item_type_project_closed_at_where_closed.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddIdxIssuesOnWorkItemTypeProjectClosedAtWhereClosed < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'idx_issues_on_project_work_item_type_closed_at_where_closed'
-
-  disable_ddl_transaction!
-
-  def up
-    add_concurrent_index :issues, [:project_id, :work_item_type_id, :closed_at], where: 'state_id = 2', name: INDEX_NAME
-  end
-
-  def down
-    remove_concurrent_index_by_name :issues, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230615083713_replace_old_fk_ci_build_pending_states_to_builds.rb b/db/post_migrate/20230615083713_replace_old_fk_ci_build_pending_states_to_builds.rb
deleted file mode 100644
index 82d88888442cc..0000000000000
--- a/db/post_migrate/20230615083713_replace_old_fk_ci_build_pending_states_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildPendingStatesToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_build_pending_states, :ci_builds,
-        name: :fk_861cd17da3_p, reverse_lock_order: true
-
-      rename_constraint :ci_build_pending_states, :temp_fk_861cd17da3_p, :fk_861cd17da3_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_build_pending_states, :ci_builds,
-      name: :temp_fk_861cd17da3_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_build_pending_states, :fk_861cd17da3_p, :temp_fk_861cd17da3_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_build_pending_states, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_build_pending_states, :p_ci_builds, name: :fk_861cd17da3_p)
-  end
-end
diff --git a/db/post_migrate/20230615083715_replace_old_fk_ci_build_trace_chunks_to_builds.rb b/db/post_migrate/20230615083715_replace_old_fk_ci_build_trace_chunks_to_builds.rb
deleted file mode 100644
index a5ca73e8124ff..0000000000000
--- a/db/post_migrate/20230615083715_replace_old_fk_ci_build_trace_chunks_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildTraceChunksToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_build_trace_chunks, :ci_builds,
-        name: :fk_89e29fa5ee_p, reverse_lock_order: true
-
-      rename_constraint :ci_build_trace_chunks, :temp_fk_89e29fa5ee_p, :fk_89e29fa5ee_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_build_trace_chunks, :ci_builds,
-      name: :temp_fk_89e29fa5ee_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_build_trace_chunks, :fk_89e29fa5ee_p, :temp_fk_89e29fa5ee_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_build_trace_chunks, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_build_trace_chunks, :p_ci_builds, name: :fk_89e29fa5ee_p)
-  end
-end
diff --git a/db/post_migrate/20230615083720_replace_old_fk_ci_unit_test_failures_to_builds.rb b/db/post_migrate/20230615083720_replace_old_fk_ci_unit_test_failures_to_builds.rb
deleted file mode 100644
index be527f7ae38ce..0000000000000
--- a/db/post_migrate/20230615083720_replace_old_fk_ci_unit_test_failures_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiUnitTestFailuresToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_unit_test_failures, :ci_builds,
-        name: :fk_9e0fc58930_p, reverse_lock_order: true
-
-      rename_constraint :ci_unit_test_failures, :temp_fk_9e0fc58930_p, :fk_9e0fc58930_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_unit_test_failures, :ci_builds,
-      name: :temp_fk_9e0fc58930_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_unit_test_failures, :fk_9e0fc58930_p, :temp_fk_9e0fc58930_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_unit_test_failures, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_unit_test_failures, :p_ci_builds, name: :fk_9e0fc58930_p)
-  end
-end
diff --git a/db/post_migrate/20230615083725_replace_old_fk_ci_sources_pipelines_to_builds.rb b/db/post_migrate/20230615083725_replace_old_fk_ci_sources_pipelines_to_builds.rb
deleted file mode 100644
index 990a4e2bbe4b3..0000000000000
--- a/db/post_migrate/20230615083725_replace_old_fk_ci_sources_pipelines_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiSourcesPipelinesToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_sources_pipelines, :ci_builds,
-        name: :fk_be5624bf37_p, reverse_lock_order: true
-
-      rename_constraint :ci_sources_pipelines, :temp_fk_be5624bf37_p, :fk_be5624bf37_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_sources_pipelines, :ci_builds,
-      name: :temp_fk_be5624bf37_p,
-      column: [:source_partition_id, :source_job_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_sources_pipelines, :fk_be5624bf37_p, :temp_fk_be5624bf37_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_sources_pipelines, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_sources_pipelines, :p_ci_builds, name: :fk_be5624bf37_p)
-  end
-end
diff --git a/db/post_migrate/20230615083730_replace_old_fk_ci_resources_to_builds.rb b/db/post_migrate/20230615083730_replace_old_fk_ci_resources_to_builds.rb
deleted file mode 100644
index 498b513c425b0..0000000000000
--- a/db/post_migrate/20230615083730_replace_old_fk_ci_resources_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiResourcesToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_resources, :ci_builds,
-        name: :fk_e169a8e3d5_p, reverse_lock_order: true
-
-      rename_constraint :ci_resources, :temp_fk_e169a8e3d5_p, :fk_e169a8e3d5_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_resources, :ci_builds,
-      name: :temp_fk_e169a8e3d5_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :nullify,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_resources, :fk_e169a8e3d5_p, :temp_fk_e169a8e3d5_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_resources, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_resources, :p_ci_builds, name: :fk_e169a8e3d5_p)
-  end
-end
diff --git a/db/post_migrate/20230615083734_replace_old_fk_ci_build_report_results_to_builds.rb b/db/post_migrate/20230615083734_replace_old_fk_ci_build_report_results_to_builds.rb
deleted file mode 100644
index 24b51a456134a..0000000000000
--- a/db/post_migrate/20230615083734_replace_old_fk_ci_build_report_results_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildReportResultsToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_build_report_results, :ci_builds,
-        name: :fk_rails_16cb1ff064_p, reverse_lock_order: true
-
-      rename_constraint :ci_build_report_results, :temp_fk_rails_16cb1ff064_p, :fk_rails_16cb1ff064_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_build_report_results, :ci_builds,
-      name: :temp_fk_rails_16cb1ff064_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_build_report_results, :fk_rails_16cb1ff064_p, :temp_fk_rails_16cb1ff064_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_build_report_results, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_build_report_results, :p_ci_builds, name: :fk_rails_16cb1ff064_p)
-  end
-end
diff --git a/db/post_migrate/20230615083738_replace_old_fk_ci_build_needs_to_builds.rb b/db/post_migrate/20230615083738_replace_old_fk_ci_build_needs_to_builds.rb
deleted file mode 100644
index 4a77ec0155139..0000000000000
--- a/db/post_migrate/20230615083738_replace_old_fk_ci_build_needs_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildNeedsToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_build_needs, :ci_builds,
-        name: :fk_rails_3cf221d4ed_p, reverse_lock_order: true
-
-      rename_constraint :ci_build_needs, :temp_fk_rails_3cf221d4ed_p, :fk_rails_3cf221d4ed_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_build_needs, :ci_builds,
-      name: :temp_fk_rails_3cf221d4ed_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_build_needs, :fk_rails_3cf221d4ed_p, :temp_fk_rails_3cf221d4ed_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_build_needs, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_build_needs, :p_ci_builds, name: :fk_rails_3cf221d4ed_p)
-  end
-end
diff --git a/db/post_migrate/20230615083741_replace_old_fk_ci_builds_runner_session_to_builds.rb b/db/post_migrate/20230615083741_replace_old_fk_ci_builds_runner_session_to_builds.rb
deleted file mode 100644
index 56a790aef6270..0000000000000
--- a/db/post_migrate/20230615083741_replace_old_fk_ci_builds_runner_session_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildsRunnerSessionToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_builds_runner_session, :ci_builds,
-        name: :fk_rails_70707857d3_p, reverse_lock_order: true
-
-      rename_constraint :ci_builds_runner_session, :temp_fk_rails_70707857d3_p, :fk_rails_70707857d3_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_builds_runner_session, :ci_builds,
-      name: :temp_fk_rails_70707857d3_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_builds_runner_session, :fk_rails_70707857d3_p, :temp_fk_rails_70707857d3_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_builds_runner_session, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_builds_runner_session, :p_ci_builds, name: :fk_rails_70707857d3_p)
-  end
-end
diff --git a/db/post_migrate/20230615083744_replace_old_fk_ci_pending_builds_to_builds.rb b/db/post_migrate/20230615083744_replace_old_fk_ci_pending_builds_to_builds.rb
deleted file mode 100644
index 42095da09e275..0000000000000
--- a/db/post_migrate/20230615083744_replace_old_fk_ci_pending_builds_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiPendingBuildsToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_pending_builds, :ci_builds,
-        name: :fk_rails_725a2644a3_p, reverse_lock_order: true
-
-      rename_constraint :ci_pending_builds, :temp_fk_rails_725a2644a3_p, :fk_rails_725a2644a3_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_pending_builds, :ci_builds,
-      name: :temp_fk_rails_725a2644a3_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_pending_builds, :fk_rails_725a2644a3_p, :temp_fk_rails_725a2644a3_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_pending_builds, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_pending_builds, :p_ci_builds, name: :fk_rails_725a2644a3_p)
-  end
-end
diff --git a/db/post_migrate/20230615083748_replace_old_fk_ci_build_trace_metadata_to_builds.rb b/db/post_migrate/20230615083748_replace_old_fk_ci_build_trace_metadata_to_builds.rb
deleted file mode 100644
index 72d598ae0b970..0000000000000
--- a/db/post_migrate/20230615083748_replace_old_fk_ci_build_trace_metadata_to_builds.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-class ReplaceOldFkCiBuildTraceMetadataToBuilds < Gitlab::Database::Migration[2.1]
-  include Gitlab::Database::MigrationHelpers::WraparoundAutovacuum
-
-  disable_ddl_transaction!
-
-  def up
-    return unless should_run?
-    return if new_foreign_key_exists?
-
-    with_lock_retries do
-      remove_foreign_key_if_exists :ci_build_trace_metadata, :ci_builds,
-        name: :fk_rails_aebc78111f_p, reverse_lock_order: true
-
-      rename_constraint :ci_build_trace_metadata, :temp_fk_rails_aebc78111f_p, :fk_rails_aebc78111f_p
-    end
-  end
-
-  def down
-    return unless should_run?
-    return unless new_foreign_key_exists?
-
-    add_concurrent_foreign_key :ci_build_trace_metadata, :ci_builds,
-      name: :temp_fk_rails_aebc78111f_p,
-      column: [:partition_id, :build_id],
-      target_column: [:partition_id, :id],
-      on_update: :cascade,
-      on_delete: :cascade,
-      validate: true,
-      reverse_lock_order: true
-
-    switch_constraint_names :ci_build_trace_metadata, :fk_rails_aebc78111f_p, :temp_fk_rails_aebc78111f_p
-  end
-
-  private
-
-  def should_run?
-    can_execute_on?(:ci_build_trace_metadata, :ci_builds)
-  end
-
-  def new_foreign_key_exists?
-    foreign_key_exists?(:ci_build_trace_metadata, :p_ci_builds, name: :fk_rails_aebc78111f_p)
-  end
-end
diff --git a/db/post_migrate/20230615202125_prepare_index_issues_on_project_health_status_asc_work_item_type.rb b/db/post_migrate/20230615202125_prepare_index_issues_on_project_health_status_asc_work_item_type.rb
deleted file mode 100644
index ac8b9582fc8a0..0000000000000
--- a/db/post_migrate/20230615202125_prepare_index_issues_on_project_health_status_asc_work_item_type.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareIndexIssuesOnProjectHealthStatusAscWorkItemType < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_issues_on_project_health_status_asc_work_item_type'
-
-  def up
-    prepare_async_index :issues,
-      [:project_id, :health_status, :id, :state_id, :work_item_type_id],
-      order: { health_status: 'ASC NULLS LAST', id: :desc },
-      name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :issues, INDEX_NAME
-  end
-end
diff --git a/db/post_migrate/20230615202511_prepare_index_issues_on_project_health_status_desc_work_item_type.rb b/db/post_migrate/20230615202511_prepare_index_issues_on_project_health_status_desc_work_item_type.rb
deleted file mode 100644
index 1c8b6cdd3a3b6..0000000000000
--- a/db/post_migrate/20230615202511_prepare_index_issues_on_project_health_status_desc_work_item_type.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class PrepareIndexIssuesOnProjectHealthStatusDescWorkItemType < Gitlab::Database::Migration[2.1]
-  INDEX_NAME = 'index_issues_on_project_health_status_desc_work_item_type'
-
-  def up
-    prepare_async_index :issues,
-      [:project_id, :health_status, :id, :state_id, :work_item_type_id],
-      order: { health_status: 'DESC NULLS LAST', id: :desc },
-      name: INDEX_NAME
-  end
-
-  def down
-    unprepare_async_index :issues, INDEX_NAME
-  end
-end
diff --git a/db/schema_migrations/20221021082256 b/db/schema_migrations/20221021082256
deleted file mode 100644
index 0074889957ff0..0000000000000
--- a/db/schema_migrations/20221021082256
+++ /dev/null
@@ -1 +0,0 @@
-48c2eca5f5feea194eadc9d259f83e54fecbc7be1d219647d0b09ce4e5410eb4
\ No newline at end of file
diff --git a/db/schema_migrations/20221021082257 b/db/schema_migrations/20221021082257
deleted file mode 100644
index 43ca84c0427ba..0000000000000
--- a/db/schema_migrations/20221021082257
+++ /dev/null
@@ -1 +0,0 @@
-1f3bf844501eee018b9594b447e55fac6c4628a22a9070cd95f37398067b03d6
\ No newline at end of file
diff --git a/db/schema_migrations/20221021082313 b/db/schema_migrations/20221021082313
deleted file mode 100644
index 5c70993f0b4c0..0000000000000
--- a/db/schema_migrations/20221021082313
+++ /dev/null
@@ -1 +0,0 @@
-9383e4f5ec51cf2971c98b4575546099c551b2a9f328f081c57866dc91838896
\ No newline at end of file
diff --git a/db/schema_migrations/20221021082314 b/db/schema_migrations/20221021082314
deleted file mode 100644
index c35ab7664efcd..0000000000000
--- a/db/schema_migrations/20221021082314
+++ /dev/null
@@ -1 +0,0 @@
-2711e477b81213c7221001a9c75dde169a5b8f2cc2a05534dcdae16ace9231a9
\ No newline at end of file
diff --git a/db/schema_migrations/20221207135755 b/db/schema_migrations/20221207135755
deleted file mode 100644
index e8a97fc717e93..0000000000000
--- a/db/schema_migrations/20221207135755
+++ /dev/null
@@ -1 +0,0 @@
-b08b766dad288ad5d4b6cfa0d92288a38f553f20dbea997d5379ef2dc79f1f0c
\ No newline at end of file
diff --git a/db/schema_migrations/20221207135831 b/db/schema_migrations/20221207135831
deleted file mode 100644
index 406e1e88841cc..0000000000000
--- a/db/schema_migrations/20221207135831
+++ /dev/null
@@ -1 +0,0 @@
-ad6101b9d46b7a7ae1c302c7880979b5a29ced6193dfe95e32495766f01b34d9
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010101 b/db/schema_migrations/20221225010101
deleted file mode 100644
index 62d2d001438b7..0000000000000
--- a/db/schema_migrations/20221225010101
+++ /dev/null
@@ -1 +0,0 @@
-94810a223f2d37a673d690ba326577068c18d6353021a78a8f820cf8a95c756c
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010102 b/db/schema_migrations/20221225010102
deleted file mode 100644
index 8aacd082afcd1..0000000000000
--- a/db/schema_migrations/20221225010102
+++ /dev/null
@@ -1 +0,0 @@
-74a3b48267b16dcd9d3374b01604a0ae7f55dd35e681e3bf6bf5386ea4f6bdc3
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010103 b/db/schema_migrations/20221225010103
deleted file mode 100644
index 99590b1246f87..0000000000000
--- a/db/schema_migrations/20221225010103
+++ /dev/null
@@ -1 +0,0 @@
-bfa7df29a9f021b67db23127c6382161b131b77738f7a29dac5b64bc7431fd88
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010104 b/db/schema_migrations/20221225010104
deleted file mode 100644
index abbf974cda0df..0000000000000
--- a/db/schema_migrations/20221225010104
+++ /dev/null
@@ -1 +0,0 @@
-b2b2a169bb1d8581eec2706d03314d0675dcdf05b23b2787292b18ac1dfe7847
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010105 b/db/schema_migrations/20221225010105
deleted file mode 100644
index 9f101f1aff31c..0000000000000
--- a/db/schema_migrations/20221225010105
+++ /dev/null
@@ -1 +0,0 @@
-241ed02cdd479f06a5a4a817b2d27bfa970997167fbd67ddae1da8359830a2ea
\ No newline at end of file
diff --git a/db/schema_migrations/20221225010106 b/db/schema_migrations/20221225010106
deleted file mode 100644
index 1499a3257eb5f..0000000000000
--- a/db/schema_migrations/20221225010106
+++ /dev/null
@@ -1 +0,0 @@
-08e0fd85bca9eff63f0fc5d1e34cca628ee191decddebcb90aaf98ce18f97147
\ No newline at end of file
diff --git a/db/schema_migrations/20221229172604 b/db/schema_migrations/20221229172604
deleted file mode 100644
index 2cbbc50ea1004..0000000000000
--- a/db/schema_migrations/20221229172604
+++ /dev/null
@@ -1 +0,0 @@
-8af1f290454aad1e131626a8dab575dfef11ae73581e57b7d7cb1b431fd06737
\ No newline at end of file
diff --git a/db/schema_migrations/20230113164245 b/db/schema_migrations/20230113164245
deleted file mode 100644
index 2c8b04d438735..0000000000000
--- a/db/schema_migrations/20230113164245
+++ /dev/null
@@ -1 +0,0 @@
-eb2dfc21c5645e1f8aec9118a380c270525ce261a86ce13f89de891a8c4fa3a9
\ No newline at end of file
diff --git a/db/schema_migrations/20230113201308 b/db/schema_migrations/20230113201308
deleted file mode 100644
index df391813488e1..0000000000000
--- a/db/schema_migrations/20230113201308
+++ /dev/null
@@ -1 +0,0 @@
-775842b84022cf30d685060ea956c1e52722587f2be517d44ae44ca57f954538
\ No newline at end of file
diff --git a/db/schema_migrations/20230118135145 b/db/schema_migrations/20230118135145
deleted file mode 100644
index 15c566a40589b..0000000000000
--- a/db/schema_migrations/20230118135145
+++ /dev/null
@@ -1 +0,0 @@
-d6fdfc530a49b230aa041d4629a0484462abacb824f6bbf23d9740068e3ca781
\ No newline at end of file
diff --git a/db/schema_migrations/20230118144623 b/db/schema_migrations/20230118144623
deleted file mode 100644
index 82c15116c4532..0000000000000
--- a/db/schema_migrations/20230118144623
+++ /dev/null
@@ -1 +0,0 @@
-3ceeeeabb4ebae0f38e446c044fe6e6d929661b8689b461bed87660afd2e223b
\ No newline at end of file
diff --git a/db/schema_migrations/20230125195503 b/db/schema_migrations/20230125195503
deleted file mode 100644
index ee8f7d47e1630..0000000000000
--- a/db/schema_migrations/20230125195503
+++ /dev/null
@@ -1 +0,0 @@
-6321659d8f71127368dffd0bec122d4c32835da364a32cd6f276c641a70d10ff
\ No newline at end of file
diff --git a/db/schema_migrations/20230126101907 b/db/schema_migrations/20230126101907
deleted file mode 100644
index e7006b46b1a25..0000000000000
--- a/db/schema_migrations/20230126101907
+++ /dev/null
@@ -1 +0,0 @@
-f6fccc22b53fdc590d5af1b5924275b43334820b66d4f488b3ef6f6d70b4e415
\ No newline at end of file
diff --git a/db/schema_migrations/20230127024835 b/db/schema_migrations/20230127024835
deleted file mode 100644
index 93b1460fd311f..0000000000000
--- a/db/schema_migrations/20230127024835
+++ /dev/null
@@ -1 +0,0 @@
-7599c99edcb87dad69c8721de9179f32f99236fad928a07734f3c66f174b8546
\ No newline at end of file
diff --git a/db/schema_migrations/20230127030015 b/db/schema_migrations/20230127030015
deleted file mode 100644
index 411b65dcf1768..0000000000000
--- a/db/schema_migrations/20230127030015
+++ /dev/null
@@ -1 +0,0 @@
-c957902ecdc96e1ae22d514f932c22bc04e07fd3e11dfd1bdbd45b077b6ee017
\ No newline at end of file
diff --git a/db/schema_migrations/20230130182412 b/db/schema_migrations/20230130182412
deleted file mode 100644
index 5d053b89d5eae..0000000000000
--- a/db/schema_migrations/20230130182412
+++ /dev/null
@@ -1 +0,0 @@
-a5deb047ed3e0611ef10ce35d8f745f6d93d064a989488801c22d838d92ef780
\ No newline at end of file
diff --git a/db/schema_migrations/20230131184319 b/db/schema_migrations/20230131184319
deleted file mode 100644
index 3028f92b316a8..0000000000000
--- a/db/schema_migrations/20230131184319
+++ /dev/null
@@ -1 +0,0 @@
-06a6005ecc7de9b6db9912b246aa27c30b308f47f23f1258043b7a7c636962b6
\ No newline at end of file
diff --git a/db/schema_migrations/20230201165656 b/db/schema_migrations/20230201165656
deleted file mode 100644
index 8e40106740366..0000000000000
--- a/db/schema_migrations/20230201165656
+++ /dev/null
@@ -1 +0,0 @@
-1f4e6f2b9e4461bb7dc663acedd08b2618f70e62ee8ae0a89bd9ccf11813f3b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230202094723 b/db/schema_migrations/20230202094723
deleted file mode 100644
index 6d18a0b1cf9b9..0000000000000
--- a/db/schema_migrations/20230202094723
+++ /dev/null
@@ -1 +0,0 @@
-54e3ad80c034d87621c266befc0a6d77b56927bb9afc71375767dcb647bb1aa9
\ No newline at end of file
diff --git a/db/schema_migrations/20230202135758 b/db/schema_migrations/20230202135758
deleted file mode 100644
index 2afb3886ade33..0000000000000
--- a/db/schema_migrations/20230202135758
+++ /dev/null
@@ -1 +0,0 @@
-877ea1462505cfc9986353e5fb5f8cfc68a7557140bdc162bcfbd7a68c266f97
\ No newline at end of file
diff --git a/db/schema_migrations/20230202211434 b/db/schema_migrations/20230202211434
deleted file mode 100644
index 8389c2485486c..0000000000000
--- a/db/schema_migrations/20230202211434
+++ /dev/null
@@ -1 +0,0 @@
-be43b7dd3fffd70b9d1ee5a7c1950c938674f2bf1dfb23d0a709a46be2005b8c
\ No newline at end of file
diff --git a/db/schema_migrations/20230207002330 b/db/schema_migrations/20230207002330
deleted file mode 100644
index db78201d180be..0000000000000
--- a/db/schema_migrations/20230207002330
+++ /dev/null
@@ -1 +0,0 @@
-a1603460eec138b911b3535e66d7a064ff4f2cb6216aabfcf5f39e013db05445
\ No newline at end of file
diff --git a/db/schema_migrations/20230208125736 b/db/schema_migrations/20230208125736
deleted file mode 100644
index bad75a7ffbe76..0000000000000
--- a/db/schema_migrations/20230208125736
+++ /dev/null
@@ -1 +0,0 @@
-ce2100af8a397f9d2acfcdb9d8e4fefd82c42cecc78b1e762812738622bf76a9
\ No newline at end of file
diff --git a/db/schema_migrations/20230209222452 b/db/schema_migrations/20230209222452
deleted file mode 100644
index 74d791246e762..0000000000000
--- a/db/schema_migrations/20230209222452
+++ /dev/null
@@ -1 +0,0 @@
-2d08ac0d8375a495212a55be1655cc70405bc722b152e3fa80c4609b3fb4c29c
\ No newline at end of file
diff --git a/db/schema_migrations/20230210152109 b/db/schema_migrations/20230210152109
deleted file mode 100644
index cc158d3852974..0000000000000
--- a/db/schema_migrations/20230210152109
+++ /dev/null
@@ -1 +0,0 @@
-ed74efe6b6c5428f5d1be55d1ea4d11dfb23623d092483d0d474e82312379335
\ No newline at end of file
diff --git a/db/schema_migrations/20230210153420 b/db/schema_migrations/20230210153420
deleted file mode 100644
index 8ace16a1e67df..0000000000000
--- a/db/schema_migrations/20230210153420
+++ /dev/null
@@ -1 +0,0 @@
-07d3ef18df7faefc3b86d14b37b7254ab3301392053bbe322622be8a74a56f94
\ No newline at end of file
diff --git a/db/schema_migrations/20230210155715 b/db/schema_migrations/20230210155715
deleted file mode 100644
index 68ff0072b8370..0000000000000
--- a/db/schema_migrations/20230210155715
+++ /dev/null
@@ -1 +0,0 @@
-7d0b2686ec505eb7b08df119cbb8a3c1cf033d708050de474d627df68e72c3b4
\ No newline at end of file
diff --git a/db/schema_migrations/20230210160037 b/db/schema_migrations/20230210160037
deleted file mode 100644
index f9a1697411bc2..0000000000000
--- a/db/schema_migrations/20230210160037
+++ /dev/null
@@ -1 +0,0 @@
-db0d359d329b7578c676ee137380b53d84c77c5699adb76243eb25eceda7e7e5
\ No newline at end of file
diff --git a/db/schema_migrations/20230210160351 b/db/schema_migrations/20230210160351
deleted file mode 100644
index 534b07f437189..0000000000000
--- a/db/schema_migrations/20230210160351
+++ /dev/null
@@ -1 +0,0 @@
-0504365806c9692fff3e9aa32e371a3ddacaf8a26549929e45e271dac60992ac
\ No newline at end of file
diff --git a/db/schema_migrations/20230210161002 b/db/schema_migrations/20230210161002
deleted file mode 100644
index 4ba016dc519c5..0000000000000
--- a/db/schema_migrations/20230210161002
+++ /dev/null
@@ -1 +0,0 @@
-9d300a27b9c5f3e1b157d5b741c605d9a8d80a886a0a574a5946addfc0ef4998
\ No newline at end of file
diff --git a/db/schema_migrations/20230210171012 b/db/schema_migrations/20230210171012
deleted file mode 100644
index e026a7fffa92d..0000000000000
--- a/db/schema_migrations/20230210171012
+++ /dev/null
@@ -1 +0,0 @@
-f769362c0836821687c46f824e13b30ef7c8686eebf62da8f3e8a7d3c66c0f01
\ No newline at end of file
diff --git a/db/schema_migrations/20230213103019 b/db/schema_migrations/20230213103019
deleted file mode 100644
index e28052b7f5802..0000000000000
--- a/db/schema_migrations/20230213103019
+++ /dev/null
@@ -1 +0,0 @@
-23979065610c4f361a639cdcf81e7ce491d111ed3752bd11081f9645b31e21f6
\ No newline at end of file
diff --git a/db/schema_migrations/20230213213559 b/db/schema_migrations/20230213213559
deleted file mode 100644
index cfe68dc78e461..0000000000000
--- a/db/schema_migrations/20230213213559
+++ /dev/null
@@ -1 +0,0 @@
-bd11c9514186437d2929b32f034256ee2442cf839b0bc6e64490ecff9978d017
\ No newline at end of file
diff --git a/db/schema_migrations/20230214181633 b/db/schema_migrations/20230214181633
deleted file mode 100644
index 76d4cf10b5ceb..0000000000000
--- a/db/schema_migrations/20230214181633
+++ /dev/null
@@ -1 +0,0 @@
-a8c815d1d85a6690755623b53e15e5fb73f7e6be6a24ead3532f21d21c1de20f
\ No newline at end of file
diff --git a/db/schema_migrations/20230215074223 b/db/schema_migrations/20230215074223
deleted file mode 100644
index db68438eaae67..0000000000000
--- a/db/schema_migrations/20230215074223
+++ /dev/null
@@ -1 +0,0 @@
-c63c7e4cdb985d4607f442c9728a5b2699d6112054c03571cc47684af435c249
\ No newline at end of file
diff --git a/db/schema_migrations/20230215124011 b/db/schema_migrations/20230215124011
deleted file mode 100644
index 88911b9faaf9f..0000000000000
--- a/db/schema_migrations/20230215124011
+++ /dev/null
@@ -1 +0,0 @@
-e8449ee3c54eb3ec1c4f2e302e7fceda950a16eb2bf57b0cd77ed955ad314eee
\ No newline at end of file
diff --git a/db/schema_migrations/20230215131026 b/db/schema_migrations/20230215131026
deleted file mode 100644
index 3bec8e04f4fb6..0000000000000
--- a/db/schema_migrations/20230215131026
+++ /dev/null
@@ -1 +0,0 @@
-095cc516f50dcb11e01ccda962a9776fddcec439520cef795f6c8715b5941aba
\ No newline at end of file
diff --git a/db/schema_migrations/20230215180605 b/db/schema_migrations/20230215180605
deleted file mode 100644
index a3b222de10f0b..0000000000000
--- a/db/schema_migrations/20230215180605
+++ /dev/null
@@ -1 +0,0 @@
-879bee488f4089527de02ebfd6c9d6f6de7ab24d87361e29f998d86b62ca7461
\ No newline at end of file
diff --git a/db/schema_migrations/20230215213349 b/db/schema_migrations/20230215213349
deleted file mode 100644
index 0512fd3c7ea62..0000000000000
--- a/db/schema_migrations/20230215213349
+++ /dev/null
@@ -1 +0,0 @@
-9b8521de286e8c363497c7854c530c7fcaf5aecb193a89addf7e15704ae271f9
\ No newline at end of file
diff --git a/db/schema_migrations/20230216040505 b/db/schema_migrations/20230216040505
deleted file mode 100644
index d3cc858827fd9..0000000000000
--- a/db/schema_migrations/20230216040505
+++ /dev/null
@@ -1 +0,0 @@
-c6a905e29792b88f87810d267a4472886e0a1a22fe9531e3d7998abbd1035552
\ No newline at end of file
diff --git a/db/schema_migrations/20230216060333 b/db/schema_migrations/20230216060333
deleted file mode 100644
index 5f9fa26b1f082..0000000000000
--- a/db/schema_migrations/20230216060333
+++ /dev/null
@@ -1 +0,0 @@
-c06d80c04bd661805f066412d750a651a0ead053cfff0e3314c03b3846a3f36d
\ No newline at end of file
diff --git a/db/schema_migrations/20230216071312 b/db/schema_migrations/20230216071312
deleted file mode 100644
index 2e92ecc19e6b9..0000000000000
--- a/db/schema_migrations/20230216071312
+++ /dev/null
@@ -1 +0,0 @@
-204503fcf9e5da7255677a9a82f11e860410048efc1ed75cc7ba97b3cdd273c3
\ No newline at end of file
diff --git a/db/schema_migrations/20230216142836 b/db/schema_migrations/20230216142836
deleted file mode 100644
index 7f7d82303279a..0000000000000
--- a/db/schema_migrations/20230216142836
+++ /dev/null
@@ -1 +0,0 @@
-8b8b1a55b2f82b4dc0dcbb2b618dbc4dabdcb21d091cd98f19c68cc6fb4fa493
\ No newline at end of file
diff --git a/db/schema_migrations/20230216144719 b/db/schema_migrations/20230216144719
deleted file mode 100644
index 01ad731d72fae..0000000000000
--- a/db/schema_migrations/20230216144719
+++ /dev/null
@@ -1 +0,0 @@
-cc74cddc9851a56cc98df1947ea1ea539358e9959b5c8f79aa1cea44979760b2
\ No newline at end of file
diff --git a/db/schema_migrations/20230216152912 b/db/schema_migrations/20230216152912
deleted file mode 100644
index e9f1dfb9db370..0000000000000
--- a/db/schema_migrations/20230216152912
+++ /dev/null
@@ -1 +0,0 @@
-66b74e0442763b2a05ec411344d8ca97b7d3d2e8cef9d2e04baba246b1c025a2
\ No newline at end of file
diff --git a/db/schema_migrations/20230216171309 b/db/schema_migrations/20230216171309
deleted file mode 100644
index 1e25ca0d3b114..0000000000000
--- a/db/schema_migrations/20230216171309
+++ /dev/null
@@ -1 +0,0 @@
-ee00d6aba8a310c236dd16749228a42589657d060bbf1785c4358bf886fd59cc
\ No newline at end of file
diff --git a/db/schema_migrations/20230216191507 b/db/schema_migrations/20230216191507
deleted file mode 100644
index 7bc18f2fe42d9..0000000000000
--- a/db/schema_migrations/20230216191507
+++ /dev/null
@@ -1 +0,0 @@
-71a2a98341e2ee32e0ee9706854378e2b6bbda8af1ac7f325b770cf5ff67738f
\ No newline at end of file
diff --git a/db/schema_migrations/20230216222956 b/db/schema_migrations/20230216222956
deleted file mode 100644
index a93e0602cd682..0000000000000
--- a/db/schema_migrations/20230216222956
+++ /dev/null
@@ -1 +0,0 @@
-6ebeadf8259911352813166646645320c3a238a68c1e8a4a97baa51b2bd182dd
\ No newline at end of file
diff --git a/db/schema_migrations/20230216232404 b/db/schema_migrations/20230216232404
deleted file mode 100644
index e2fd3d7ae1f7e..0000000000000
--- a/db/schema_migrations/20230216232404
+++ /dev/null
@@ -1 +0,0 @@
-df059ad89887390a792f292b7062a2f04d901a049c2acea7b8ddaff677b8c9d5
\ No newline at end of file
diff --git a/db/schema_migrations/20230216233937 b/db/schema_migrations/20230216233937
deleted file mode 100644
index d3c85c7c98183..0000000000000
--- a/db/schema_migrations/20230216233937
+++ /dev/null
@@ -1 +0,0 @@
-5088eccec1327f61cb80c5fca4f7e7710534179c2d6bf820f7021dfd079d51a5
\ No newline at end of file
diff --git a/db/schema_migrations/20230217065736 b/db/schema_migrations/20230217065736
deleted file mode 100644
index a355b107c40c3..0000000000000
--- a/db/schema_migrations/20230217065736
+++ /dev/null
@@ -1 +0,0 @@
-c772f3d2b46d48bfae68f2b420d38851ecea3105029e5154a58bed29359393f2
\ No newline at end of file
diff --git a/db/schema_migrations/20230217144421 b/db/schema_migrations/20230217144421
deleted file mode 100644
index 1ab17fcfa99e4..0000000000000
--- a/db/schema_migrations/20230217144421
+++ /dev/null
@@ -1 +0,0 @@
-9a2ecdf9c37b13ebe5666ebadf2f27d4f52a0615337faaef221ff4fc6ae08cc4
\ No newline at end of file
diff --git a/db/schema_migrations/20230217232554 b/db/schema_migrations/20230217232554
deleted file mode 100644
index 501e10db401ca..0000000000000
--- a/db/schema_migrations/20230217232554
+++ /dev/null
@@ -1 +0,0 @@
-56880a7008d06e9a30337cca7affbe4cdb796b8ef1ccc8b3fc8503af172281cb
\ No newline at end of file
diff --git a/db/schema_migrations/20230218145930 b/db/schema_migrations/20230218145930
deleted file mode 100644
index 17e1cb01703d6..0000000000000
--- a/db/schema_migrations/20230218145930
+++ /dev/null
@@ -1 +0,0 @@
-63c47c7a879d54b4773f672ce8b771b3d416d44740b4a56c2cc05d4486daffab
\ No newline at end of file
diff --git a/db/schema_migrations/20230218145940 b/db/schema_migrations/20230218145940
deleted file mode 100644
index 0017b48bd5c8e..0000000000000
--- a/db/schema_migrations/20230218145940
+++ /dev/null
@@ -1 +0,0 @@
-3e3fcc5b0f186e722dbd2fe7b89cd1d32c59830bc66e7efb3fe1513f9fa2ba03
\ No newline at end of file
diff --git a/db/schema_migrations/20230218152729 b/db/schema_migrations/20230218152729
deleted file mode 100644
index f78be05543589..0000000000000
--- a/db/schema_migrations/20230218152729
+++ /dev/null
@@ -1 +0,0 @@
-ac404c1dd1b2a38b8d02563b4b9306076f35120448d78b130c0421364c11822c
\ No newline at end of file
diff --git a/db/schema_migrations/20230218152730 b/db/schema_migrations/20230218152730
deleted file mode 100644
index 55fb606940364..0000000000000
--- a/db/schema_migrations/20230218152730
+++ /dev/null
@@ -1 +0,0 @@
-f85595c6176426369f8558ba3dadf6ee2a5efa17f2d304dc8397862fc7d52545
\ No newline at end of file
diff --git a/db/schema_migrations/20230219191034 b/db/schema_migrations/20230219191034
deleted file mode 100644
index 911869229b3dc..0000000000000
--- a/db/schema_migrations/20230219191034
+++ /dev/null
@@ -1 +0,0 @@
-f3be6612c3669066d9a805bf56cae7b3f9a1b6bdaee1bdb3e3f9a596ed3cecef
\ No newline at end of file
diff --git a/db/schema_migrations/20230220035034 b/db/schema_migrations/20230220035034
deleted file mode 100644
index 4cb8be66d8f14..0000000000000
--- a/db/schema_migrations/20230220035034
+++ /dev/null
@@ -1 +0,0 @@
-f5636e464b16bfc201a3f3a21269c6d8686d2bc829aa80491bea120fd10e138a
\ No newline at end of file
diff --git a/db/schema_migrations/20230220102212 b/db/schema_migrations/20230220102212
deleted file mode 100644
index a4432c7b5176b..0000000000000
--- a/db/schema_migrations/20230220102212
+++ /dev/null
@@ -1 +0,0 @@
-7df50689f7e9311ee8e5bd2513f4361be0fceef3962344d2d16bf511132c7a33
\ No newline at end of file
diff --git a/db/schema_migrations/20230220112930 b/db/schema_migrations/20230220112930
deleted file mode 100644
index 0852b3fe5f77b..0000000000000
--- a/db/schema_migrations/20230220112930
+++ /dev/null
@@ -1 +0,0 @@
-b58d0cf5df91d7abc4ba7ef4a1257f03aa6e9849624d43728ca0e008c5710e7c
\ No newline at end of file
diff --git a/db/schema_migrations/20230220132409 b/db/schema_migrations/20230220132409
deleted file mode 100644
index 417675aaf273a..0000000000000
--- a/db/schema_migrations/20230220132409
+++ /dev/null
@@ -1 +0,0 @@
-b2aee06140d97dd9cd5d694b5d8538db92279aeba9e0e64375052ff455246647
\ No newline at end of file
diff --git a/db/schema_migrations/20230220132410 b/db/schema_migrations/20230220132410
deleted file mode 100644
index 39ee30408021a..0000000000000
--- a/db/schema_migrations/20230220132410
+++ /dev/null
@@ -1 +0,0 @@
-42814e8ab1b2ebb197f877736f8c9dddf5b9416c22f9c800c7a9d33cde164dd6
\ No newline at end of file
diff --git a/db/schema_migrations/20230220134145 b/db/schema_migrations/20230220134145
deleted file mode 100644
index 91238639d7893..0000000000000
--- a/db/schema_migrations/20230220134145
+++ /dev/null
@@ -1 +0,0 @@
-d20d4bd35b5e4132515c731e7df802c0fd6f3e88d4bee2d3b9fe42af4307977c
\ No newline at end of file
diff --git a/db/schema_migrations/20230220134146 b/db/schema_migrations/20230220134146
deleted file mode 100644
index 3d0745d3f2215..0000000000000
--- a/db/schema_migrations/20230220134146
+++ /dev/null
@@ -1 +0,0 @@
-7fe8e5e2e9019ccb29f29df161f7b7c45aa2576188b326e60f758dd2d5f56a47
\ No newline at end of file
diff --git a/db/schema_migrations/20230220163141 b/db/schema_migrations/20230220163141
deleted file mode 100644
index ac2e348448d6f..0000000000000
--- a/db/schema_migrations/20230220163141
+++ /dev/null
@@ -1 +0,0 @@
-5f0c9945aaf1f34cb9c79b6c3634f4fd44ac538469b3f97147be67a6f16c0c75
\ No newline at end of file
diff --git a/db/schema_migrations/20230220165240 b/db/schema_migrations/20230220165240
deleted file mode 100644
index 14cd3554464ae..0000000000000
--- a/db/schema_migrations/20230220165240
+++ /dev/null
@@ -1 +0,0 @@
-754b55e9465719edb5058c97cacf1f369347e15c7e6d7fa30dcbe5abd8addcae
\ No newline at end of file
diff --git a/db/schema_migrations/20230221010522 b/db/schema_migrations/20230221010522
deleted file mode 100644
index 57727695f5ec4..0000000000000
--- a/db/schema_migrations/20230221010522
+++ /dev/null
@@ -1 +0,0 @@
-474f2b46179134270dc65c2b32ef9acfb01edb976f5efefe9ab49352d3fc390f
\ No newline at end of file
diff --git a/db/schema_migrations/20230221011750 b/db/schema_migrations/20230221011750
deleted file mode 100644
index 9f43d53a1b2c3..0000000000000
--- a/db/schema_migrations/20230221011750
+++ /dev/null
@@ -1 +0,0 @@
-cca7c1c232fa56e85bb0fc120a5920f3cb75d0fea2657ed2e81a4fe69349134a
\ No newline at end of file
diff --git a/db/schema_migrations/20230221093533 b/db/schema_migrations/20230221093533
deleted file mode 100644
index 1d9ac2c72b404..0000000000000
--- a/db/schema_migrations/20230221093533
+++ /dev/null
@@ -1 +0,0 @@
-6a3453275435ebad3269b81f10bc75bf3aeb92f8c9a6769743acf2af78a1dc69
\ No newline at end of file
diff --git a/db/schema_migrations/20230221093535 b/db/schema_migrations/20230221093535
deleted file mode 100644
index 8d0ee3705528a..0000000000000
--- a/db/schema_migrations/20230221093535
+++ /dev/null
@@ -1 +0,0 @@
-bc81ea0af8e135285170ac9d8c4adfda7e35b548f8c3b9c065788b21e8f63e85
\ No newline at end of file
diff --git a/db/schema_migrations/20230221093536 b/db/schema_migrations/20230221093536
deleted file mode 100644
index 92420dc9466c8..0000000000000
--- a/db/schema_migrations/20230221093536
+++ /dev/null
@@ -1 +0,0 @@
-5fb6adb018288e955f7227a2793f133893d54e4205803350b060457fdc2f20aa
\ No newline at end of file
diff --git a/db/schema_migrations/20230221110256 b/db/schema_migrations/20230221110256
deleted file mode 100644
index 2448c3175881f..0000000000000
--- a/db/schema_migrations/20230221110256
+++ /dev/null
@@ -1 +0,0 @@
-661fdc00029ab9bae8b4da6a8d92f172db89087aecc13f3ad65b2b3e8ad501d3
\ No newline at end of file
diff --git a/db/schema_migrations/20230221125148 b/db/schema_migrations/20230221125148
deleted file mode 100644
index 35ec9b066bce4..0000000000000
--- a/db/schema_migrations/20230221125148
+++ /dev/null
@@ -1 +0,0 @@
-f64a3cb1963dde07eaaae9d331ebf1e5e52050435b38f9b6727a53f04808b723
\ No newline at end of file
diff --git a/db/schema_migrations/20230221162222 b/db/schema_migrations/20230221162222
deleted file mode 100644
index be6d9c407b186..0000000000000
--- a/db/schema_migrations/20230221162222
+++ /dev/null
@@ -1 +0,0 @@
-f0fd872c7999879be5d433881e20855cc8e2418625374fc095cc74172b9f08c5
\ No newline at end of file
diff --git a/db/schema_migrations/20230221214519 b/db/schema_migrations/20230221214519
deleted file mode 100644
index aa630e6464465..0000000000000
--- a/db/schema_migrations/20230221214519
+++ /dev/null
@@ -1 +0,0 @@
-b8eccb700af0593b94e26e0fbe8b4c680b9bae47ced111422dc400159a3f6b12
\ No newline at end of file
diff --git a/db/schema_migrations/20230222035805 b/db/schema_migrations/20230222035805
deleted file mode 100644
index a0dadf5c43acf..0000000000000
--- a/db/schema_migrations/20230222035805
+++ /dev/null
@@ -1 +0,0 @@
-ffc433ce994ab67af36dfeddd19a29d8c35379f30c9a95c8bb2d0f3c7774e612
\ No newline at end of file
diff --git a/db/schema_migrations/20230222055510 b/db/schema_migrations/20230222055510
deleted file mode 100644
index 5abc44779d9cf..0000000000000
--- a/db/schema_migrations/20230222055510
+++ /dev/null
@@ -1 +0,0 @@
-ff8b8d5448460302449025fc79cec95d0d3ae2eb335e9f786031d39caacf631a
\ No newline at end of file
diff --git a/db/schema_migrations/20230222101420 b/db/schema_migrations/20230222101420
deleted file mode 100644
index f0cd65454ac42..0000000000000
--- a/db/schema_migrations/20230222101420
+++ /dev/null
@@ -1 +0,0 @@
-74413d13062dd7a48d07f9839b4a22db3f7358cffda403a036dfa1686fb693c8
\ No newline at end of file
diff --git a/db/schema_migrations/20230222102421 b/db/schema_migrations/20230222102421
deleted file mode 100644
index 2b186e0e34ada..0000000000000
--- a/db/schema_migrations/20230222102421
+++ /dev/null
@@ -1 +0,0 @@
-52ca4df8ee309791bb7fc4078a1298555b962137f1d07585e361b008d591164c
\ No newline at end of file
diff --git a/db/schema_migrations/20230222131512 b/db/schema_migrations/20230222131512
deleted file mode 100644
index 180b6a5c9229d..0000000000000
--- a/db/schema_migrations/20230222131512
+++ /dev/null
@@ -1 +0,0 @@
-676433c9330c304524c444c3d630558c849654173cd78f7e499087569203b7eb
\ No newline at end of file
diff --git a/db/schema_migrations/20230222153048 b/db/schema_migrations/20230222153048
deleted file mode 100644
index 66347d3252f76..0000000000000
--- a/db/schema_migrations/20230222153048
+++ /dev/null
@@ -1 +0,0 @@
-ff11462b7e827b0ae66f54b131fa0d4099a6e7cc768fc9b400ee36346d1773fa
\ No newline at end of file
diff --git a/db/schema_migrations/20230222161226 b/db/schema_migrations/20230222161226
deleted file mode 100644
index 229d4defec349..0000000000000
--- a/db/schema_migrations/20230222161226
+++ /dev/null
@@ -1 +0,0 @@
-d51c92a4b2bb6e5d0bb3f8665f1bc6608cd2a89deb517c1f1dde3d8f0d003f79
\ No newline at end of file
diff --git a/db/schema_migrations/20230222161954 b/db/schema_migrations/20230222161954
deleted file mode 100644
index 1a1d84830cc46..0000000000000
--- a/db/schema_migrations/20230222161954
+++ /dev/null
@@ -1 +0,0 @@
-3466379b2b26b1c77cc80b29ecdd601b9d77c94f724e210d0663cdb0ab37798e
\ No newline at end of file
diff --git a/db/schema_migrations/20230222193845 b/db/schema_migrations/20230222193845
deleted file mode 100644
index eaf26ae70f1d8..0000000000000
--- a/db/schema_migrations/20230222193845
+++ /dev/null
@@ -1 +0,0 @@
-b70150d44ca3f029fe987831a880017be9e8cd8f7833e6d4d3bb68929130b614
\ No newline at end of file
diff --git a/db/schema_migrations/20230223014251 b/db/schema_migrations/20230223014251
deleted file mode 100644
index 7613e540112b9..0000000000000
--- a/db/schema_migrations/20230223014251
+++ /dev/null
@@ -1 +0,0 @@
-1d43fc6bfb88caf86d02b83c944c143bc87142a49f3fe1ec4c54e29c960060c5
\ No newline at end of file
diff --git a/db/schema_migrations/20230223065753 b/db/schema_migrations/20230223065753
deleted file mode 100644
index c1b7927515f76..0000000000000
--- a/db/schema_migrations/20230223065753
+++ /dev/null
@@ -1 +0,0 @@
-789d72eef2573834bef2a2d20070000b580eba069c45f97fdec18a4d5af99605
\ No newline at end of file
diff --git a/db/schema_migrations/20230223082752 b/db/schema_migrations/20230223082752
deleted file mode 100644
index 83789c7ffe816..0000000000000
--- a/db/schema_migrations/20230223082752
+++ /dev/null
@@ -1 +0,0 @@
-53f1003eeb8f961b37d90c73a71f75683077b9bcd0e495395033998530a363bd
\ No newline at end of file
diff --git a/db/schema_migrations/20230223093704 b/db/schema_migrations/20230223093704
deleted file mode 100644
index bd35f5c493ebf..0000000000000
--- a/db/schema_migrations/20230223093704
+++ /dev/null
@@ -1 +0,0 @@
-39a17836884a6c07ff3f9df6e7328473f1dc2ac2d407f615821d29958f9b1808
\ No newline at end of file
diff --git a/db/schema_migrations/20230224085743 b/db/schema_migrations/20230224085743
deleted file mode 100644
index bda82e5e10c43..0000000000000
--- a/db/schema_migrations/20230224085743
+++ /dev/null
@@ -1 +0,0 @@
-e6deb8645468ab4e90487211b14d5432b26fb4c06635b333776c1ac175187444
\ No newline at end of file
diff --git a/db/schema_migrations/20230224130315 b/db/schema_migrations/20230224130315
deleted file mode 100644
index 44960762a6225..0000000000000
--- a/db/schema_migrations/20230224130315
+++ /dev/null
@@ -1 +0,0 @@
-e54ddd26174440b453482d4c3d2dd8aa8cacbb2697162d9f976ed52a0d55f1a0
\ No newline at end of file
diff --git a/db/schema_migrations/20230224144233 b/db/schema_migrations/20230224144233
deleted file mode 100644
index ce58882722777..0000000000000
--- a/db/schema_migrations/20230224144233
+++ /dev/null
@@ -1 +0,0 @@
-ec6c176dc707bcaa39747fb23add886c711e075b22823174bc9f0ebee2ec224e
\ No newline at end of file
diff --git a/db/schema_migrations/20230224161346 b/db/schema_migrations/20230224161346
deleted file mode 100644
index 1c939bdafaf9c..0000000000000
--- a/db/schema_migrations/20230224161346
+++ /dev/null
@@ -1 +0,0 @@
-191d7be803e9e3a2a5292bbcd562c34a67c07b73da2c429ac2f115b28d04f00c
\ No newline at end of file
diff --git a/db/schema_migrations/20230227123949 b/db/schema_migrations/20230227123949
deleted file mode 100644
index ab216ad946cdf..0000000000000
--- a/db/schema_migrations/20230227123949
+++ /dev/null
@@ -1 +0,0 @@
-cf72b9c6cd86bf0fbb0599f16bfcfd360567a8cdf30275ba59c1aeaba8317f2a
\ No newline at end of file
diff --git a/db/schema_migrations/20230227123950 b/db/schema_migrations/20230227123950
deleted file mode 100644
index e2b8672fb3f79..0000000000000
--- a/db/schema_migrations/20230227123950
+++ /dev/null
@@ -1 +0,0 @@
-d7f195e2cb4ab9f7f4637ba7667605eea02e66ea417b4ae496a1acae9931be84
\ No newline at end of file
diff --git a/db/schema_migrations/20230227151608 b/db/schema_migrations/20230227151608
deleted file mode 100644
index 333d71b1789c8..0000000000000
--- a/db/schema_migrations/20230227151608
+++ /dev/null
@@ -1 +0,0 @@
-b43ebf61392e2857bd38f783f1ae46c4adce76a94dd8e7aa64fc02f234991229
\ No newline at end of file
diff --git a/db/schema_migrations/20230227151609 b/db/schema_migrations/20230227151609
deleted file mode 100644
index ec320e3c256aa..0000000000000
--- a/db/schema_migrations/20230227151609
+++ /dev/null
@@ -1 +0,0 @@
-c2ac227a2e1a51423b043db9e992a519c096af8a309d3c1074fbd8bd744b4e3b
\ No newline at end of file
diff --git a/db/schema_migrations/20230227153231 b/db/schema_migrations/20230227153231
deleted file mode 100644
index 18e685b52b09a..0000000000000
--- a/db/schema_migrations/20230227153231
+++ /dev/null
@@ -1 +0,0 @@
-a4ae1dd4a14b977302c61d0731e9d350fbdc089a909ca3151fb4b9699b0efbb8
\ No newline at end of file
diff --git a/db/schema_migrations/20230227153232 b/db/schema_migrations/20230227153232
deleted file mode 100644
index c605a0f57542e..0000000000000
--- a/db/schema_migrations/20230227153232
+++ /dev/null
@@ -1 +0,0 @@
-a9082aa6b8cb86be9534fe41db5790b6cca876e6fcc284daf8e5b3163b92bd06
\ No newline at end of file
diff --git a/db/schema_migrations/20230228021910 b/db/schema_migrations/20230228021910
deleted file mode 100644
index 813f8efc80928..0000000000000
--- a/db/schema_migrations/20230228021910
+++ /dev/null
@@ -1 +0,0 @@
-2be11b13b0776de4185232030374e16f0e6fdb5e21cfb6e546f2b8e5c6126547
\ No newline at end of file
diff --git a/db/schema_migrations/20230228023014 b/db/schema_migrations/20230228023014
deleted file mode 100644
index 39348c9471f00..0000000000000
--- a/db/schema_migrations/20230228023014
+++ /dev/null
@@ -1 +0,0 @@
-68de7109072a6c6769d59100e5d17f2c35027cedfa365e8506951d985283f36b
\ No newline at end of file
diff --git a/db/schema_migrations/20230228092612 b/db/schema_migrations/20230228092612
deleted file mode 100644
index ad52eedb79730..0000000000000
--- a/db/schema_migrations/20230228092612
+++ /dev/null
@@ -1 +0,0 @@
-79c17f4dfb9a208057562c8a9898fda4c1fa8819a3b7a1e594037fd8263aba6f
\ No newline at end of file
diff --git a/db/schema_migrations/20230228133011 b/db/schema_migrations/20230228133011
deleted file mode 100644
index cd0c683fbcf3d..0000000000000
--- a/db/schema_migrations/20230228133011
+++ /dev/null
@@ -1 +0,0 @@
-ab33a8ef7080890c31a51c6f2455399ccb17a43595c305d15b2b884b28803860
\ No newline at end of file
diff --git a/db/schema_migrations/20230228135034 b/db/schema_migrations/20230228135034
deleted file mode 100644
index 13f007f798959..0000000000000
--- a/db/schema_migrations/20230228135034
+++ /dev/null
@@ -1 +0,0 @@
-3a704331dd2b45c202a42e188ee3ef9a0721b5798d218f5d3300fc18632201b6
\ No newline at end of file
diff --git a/db/schema_migrations/20230228142350 b/db/schema_migrations/20230228142350
deleted file mode 100644
index cd783d44b2a03..0000000000000
--- a/db/schema_migrations/20230228142350
+++ /dev/null
@@ -1 +0,0 @@
-ae4c6d6d477f073981f9f4e431bcb93289cfb54569a3dc982434a2e805c7801b
\ No newline at end of file
diff --git a/db/schema_migrations/20230228183644 b/db/schema_migrations/20230228183644
deleted file mode 100644
index 5c6b755de765c..0000000000000
--- a/db/schema_migrations/20230228183644
+++ /dev/null
@@ -1 +0,0 @@
-19a23286a0efab51ecad88ce224f1a9991796acce47c845530fdf1e65af9b3ad
\ No newline at end of file
diff --git a/db/schema_migrations/20230228212427 b/db/schema_migrations/20230228212427
deleted file mode 100644
index 1bad198ce7c59..0000000000000
--- a/db/schema_migrations/20230228212427
+++ /dev/null
@@ -1 +0,0 @@
-78b4d88f861f65ece401f6207a12e4edd16e686ca15180eb9526014bf575084e
\ No newline at end of file
diff --git a/db/schema_migrations/20230228212905 b/db/schema_migrations/20230228212905
deleted file mode 100644
index 2465e5ce9a917..0000000000000
--- a/db/schema_migrations/20230228212905
+++ /dev/null
@@ -1 +0,0 @@
-63e7999f522a2fc4f220062b5424d711e985a3b78fc2aee3d7afcfe2f3514d73
\ No newline at end of file
diff --git a/db/schema_migrations/20230301020246 b/db/schema_migrations/20230301020246
deleted file mode 100644
index 678aa0c10eeae..0000000000000
--- a/db/schema_migrations/20230301020246
+++ /dev/null
@@ -1 +0,0 @@
-750ba0f9e60a72a8f8b2901d55d3fc763fe24ac2e8b6422b833d529230ec3a7f
\ No newline at end of file
diff --git a/db/schema_migrations/20230301020356 b/db/schema_migrations/20230301020356
deleted file mode 100644
index d9feebb01c63f..0000000000000
--- a/db/schema_migrations/20230301020356
+++ /dev/null
@@ -1 +0,0 @@
-8a2a061050e8c2209e70498c6d1ebc68f557643565bbf93852ab6599ff819aa7
\ No newline at end of file
diff --git a/db/schema_migrations/20230301065107 b/db/schema_migrations/20230301065107
deleted file mode 100644
index 495cefad9d2ef..0000000000000
--- a/db/schema_migrations/20230301065107
+++ /dev/null
@@ -1 +0,0 @@
-7e464616bdef6e225fdd31db84c4c32e223dffb81e13f1d6a5c85c2cd0a16144
\ No newline at end of file
diff --git a/db/schema_migrations/20230302090155 b/db/schema_migrations/20230302090155
deleted file mode 100644
index af86ce4635d8e..0000000000000
--- a/db/schema_migrations/20230302090155
+++ /dev/null
@@ -1 +0,0 @@
-52b9428336c506a0bf698ea03215dd2b279b9e7d2ca56936df094aaad7934f96
\ No newline at end of file
diff --git a/db/schema_migrations/20230302123258 b/db/schema_migrations/20230302123258
deleted file mode 100644
index b4fe3ae9f34cb..0000000000000
--- a/db/schema_migrations/20230302123258
+++ /dev/null
@@ -1 +0,0 @@
-ecb6f601d4f47e7c4974e097c0e87ff37f96fad93b2ab02439bfa44a7eb481cd
\ No newline at end of file
diff --git a/db/schema_migrations/20230302123259 b/db/schema_migrations/20230302123259
deleted file mode 100644
index 6ef93fc8c7368..0000000000000
--- a/db/schema_migrations/20230302123259
+++ /dev/null
@@ -1 +0,0 @@
-671fe2bcc6b45d7f312144d6c1ceb7c5e085dbc1ab1069c5a340849a08437d72
\ No newline at end of file
diff --git a/db/schema_migrations/20230302123301 b/db/schema_migrations/20230302123301
deleted file mode 100644
index d9af7fe9b698e..0000000000000
--- a/db/schema_migrations/20230302123301
+++ /dev/null
@@ -1 +0,0 @@
-ca0e0d645cfd5f672d286e8977fc94d4c92579801cb4a781c495465cbc581a33
\ No newline at end of file
diff --git a/db/schema_migrations/20230302163339 b/db/schema_migrations/20230302163339
deleted file mode 100644
index 25c611e57a6b0..0000000000000
--- a/db/schema_migrations/20230302163339
+++ /dev/null
@@ -1 +0,0 @@
-5cb36884c6422f9cf2db27c7922a8835b1db6d15e629066ca825c93df7437afa
\ No newline at end of file
diff --git a/db/schema_migrations/20230302185739 b/db/schema_migrations/20230302185739
deleted file mode 100644
index a9f2426e7d9ae..0000000000000
--- a/db/schema_migrations/20230302185739
+++ /dev/null
@@ -1 +0,0 @@
-92b302a4fec802bb418f8a844f70c678af70cc9607331533392ce4b6e830e8d7
\ No newline at end of file
diff --git a/db/schema_migrations/20230303105806 b/db/schema_migrations/20230303105806
deleted file mode 100644
index 46bf8fb2b2b20..0000000000000
--- a/db/schema_migrations/20230303105806
+++ /dev/null
@@ -1 +0,0 @@
-5f2176abfc462e65c9ef2b9b28c9feb60cac868aa491d4d4207a8904deb60f18
\ No newline at end of file
diff --git a/db/schema_migrations/20230303120531 b/db/schema_migrations/20230303120531
deleted file mode 100644
index 5c042677e6790..0000000000000
--- a/db/schema_migrations/20230303120531
+++ /dev/null
@@ -1 +0,0 @@
-6af890fe88f25be54d18cf3b3caa14830a3d627e7ff256d7a4ae03f9f1c7170c
\ No newline at end of file
diff --git a/db/schema_migrations/20230303144424 b/db/schema_migrations/20230303144424
deleted file mode 100644
index f0684710508f6..0000000000000
--- a/db/schema_migrations/20230303144424
+++ /dev/null
@@ -1 +0,0 @@
-c8ea35db8903fb627b3ed68b9d9a1e78c34ab40a5aed6fe19e329d13e371f652
\ No newline at end of file
diff --git a/db/schema_migrations/20230303154314 b/db/schema_migrations/20230303154314
deleted file mode 100644
index 30a33a6efba24..0000000000000
--- a/db/schema_migrations/20230303154314
+++ /dev/null
@@ -1 +0,0 @@
-c18a674b6df4baf6d81177df2eb4497dc73979ff71142a9ecda71ec515a588b4
\ No newline at end of file
diff --git a/db/schema_migrations/20230303232426 b/db/schema_migrations/20230303232426
deleted file mode 100644
index 30472765a0aef..0000000000000
--- a/db/schema_migrations/20230303232426
+++ /dev/null
@@ -1 +0,0 @@
-75efa2b134ee1e5af77d483483b6065c5bc6c840ed0eede237035b028d065234
\ No newline at end of file
diff --git a/db/schema_migrations/20230304184416 b/db/schema_migrations/20230304184416
deleted file mode 100644
index 908fcd3bbc773..0000000000000
--- a/db/schema_migrations/20230304184416
+++ /dev/null
@@ -1 +0,0 @@
-c6c361ae0fea1ac200e0b4a6683bc9ff853ffb1f890f0555fe921ce72d2453f5
\ No newline at end of file
diff --git a/db/schema_migrations/20230306071456 b/db/schema_migrations/20230306071456
deleted file mode 100644
index b4ac086f12591..0000000000000
--- a/db/schema_migrations/20230306071456
+++ /dev/null
@@ -1 +0,0 @@
-7f431d6dd4f9dc237623c18465995fa59c9902187f433375baa03194f7a6b88f
\ No newline at end of file
diff --git a/db/schema_migrations/20230306072532 b/db/schema_migrations/20230306072532
deleted file mode 100644
index f1604aa84a7b2..0000000000000
--- a/db/schema_migrations/20230306072532
+++ /dev/null
@@ -1 +0,0 @@
-f6613d1fd3b99fa0e8ea059c6d53e8d226ce3fd8c07e44a024b065d8d110876f
\ No newline at end of file
diff --git a/db/schema_migrations/20230306082852 b/db/schema_migrations/20230306082852
deleted file mode 100644
index bbbe7cb27ef45..0000000000000
--- a/db/schema_migrations/20230306082852
+++ /dev/null
@@ -1 +0,0 @@
-580efa96f235c47de1bcea172544e51e8207dd0a81bd888567b30ce02e453f7d
\ No newline at end of file
diff --git a/db/schema_migrations/20230306143322 b/db/schema_migrations/20230306143322
deleted file mode 100644
index d1b5080398c05..0000000000000
--- a/db/schema_migrations/20230306143322
+++ /dev/null
@@ -1 +0,0 @@
-0f6c5bfbad3779c6d20984fb29e5494cf4c46d7992e1fa3f8a705913aa0f3b92
\ No newline at end of file
diff --git a/db/schema_migrations/20230306145230 b/db/schema_migrations/20230306145230
deleted file mode 100644
index d0fa5e5634bf7..0000000000000
--- a/db/schema_migrations/20230306145230
+++ /dev/null
@@ -1 +0,0 @@
-ca28b1355e5cc8c1e77c85a4d5e6a40b66767a8588068eb7e1528ba0e575f5da
\ No newline at end of file
diff --git a/db/schema_migrations/20230306195007 b/db/schema_migrations/20230306195007
deleted file mode 100644
index bb28fbc5586fa..0000000000000
--- a/db/schema_migrations/20230306195007
+++ /dev/null
@@ -1 +0,0 @@
-f799b921663f3de04e0b8f5017305e186c4e418392256adf33f2408ea6d8d2ca
\ No newline at end of file
diff --git a/db/schema_migrations/20230307000000 b/db/schema_migrations/20230307000000
deleted file mode 100644
index 273a5553777c5..0000000000000
--- a/db/schema_migrations/20230307000000
+++ /dev/null
@@ -1 +0,0 @@
-192e21a20619e8940d1b5db69eeac1a7c1bfe32d821b671096be4eef4b4214f1
\ No newline at end of file
diff --git a/db/schema_migrations/20230307085644 b/db/schema_migrations/20230307085644
deleted file mode 100644
index 7176a19a788b2..0000000000000
--- a/db/schema_migrations/20230307085644
+++ /dev/null
@@ -1 +0,0 @@
-2b918f516a004d3b3f1b310ad9421a29a9675a7670f6a653ba73209f8e7f0f41
\ No newline at end of file
diff --git a/db/schema_migrations/20230307091216 b/db/schema_migrations/20230307091216
deleted file mode 100644
index 4727747daa77c..0000000000000
--- a/db/schema_migrations/20230307091216
+++ /dev/null
@@ -1 +0,0 @@
-0c13f0053959e1c3e66f0c87d55d4a9190b36d61f67bb1b3ec32f73fa699c961
\ No newline at end of file
diff --git a/db/schema_migrations/20230307122838 b/db/schema_migrations/20230307122838
deleted file mode 100644
index adf5d84a474da..0000000000000
--- a/db/schema_migrations/20230307122838
+++ /dev/null
@@ -1 +0,0 @@
-5b147e92d42b7ec317106d905a3af4d1aee983bce8538c26a619ad32ad06c42e
\ No newline at end of file
diff --git a/db/schema_migrations/20230307132729 b/db/schema_migrations/20230307132729
deleted file mode 100644
index fa72b90012056..0000000000000
--- a/db/schema_migrations/20230307132729
+++ /dev/null
@@ -1 +0,0 @@
-868959621d514ba49747cbfc2181fed3598e388c471043b5329e3c7562039b15
\ No newline at end of file
diff --git a/db/schema_migrations/20230307160251 b/db/schema_migrations/20230307160251
deleted file mode 100644
index 7265c801b461a..0000000000000
--- a/db/schema_migrations/20230307160251
+++ /dev/null
@@ -1 +0,0 @@
-a7cf83ea7e94cc3d6a581cd89aab8274e86f5c195f1537395d72b275b96bd31c
\ No newline at end of file
diff --git a/db/schema_migrations/20230307212637 b/db/schema_migrations/20230307212637
deleted file mode 100644
index 40ccae95b4b2f..0000000000000
--- a/db/schema_migrations/20230307212637
+++ /dev/null
@@ -1 +0,0 @@
-7fb5c19271b7216bff37791edc542b8b7cc4826f1812f596d205248eb6a637df
\ No newline at end of file
diff --git a/db/schema_migrations/20230307233631 b/db/schema_migrations/20230307233631
deleted file mode 100644
index c05d21f2113d3..0000000000000
--- a/db/schema_migrations/20230307233631
+++ /dev/null
@@ -1 +0,0 @@
-be9ce74f455171c265135ffc105d5c69a660cdad7f71656615b3d8caf5831b32
\ No newline at end of file
diff --git a/db/schema_migrations/20230308154243 b/db/schema_migrations/20230308154243
deleted file mode 100644
index f1b8c267def1c..0000000000000
--- a/db/schema_migrations/20230308154243
+++ /dev/null
@@ -1 +0,0 @@
-28cc38e11e11d6f1c27cfb7ee83ef90b391c0b3035b601df7fef4057fbc75b24
\ No newline at end of file
diff --git a/db/schema_migrations/20230308154244 b/db/schema_migrations/20230308154244
deleted file mode 100644
index 53e4fcc604290..0000000000000
--- a/db/schema_migrations/20230308154244
+++ /dev/null
@@ -1 +0,0 @@
-2270ab1d9be7bf6b8d0f936e4460fbae51ac988bb01af1e05fce5f2bb4ef7905
\ No newline at end of file
diff --git a/db/schema_migrations/20230308154245 b/db/schema_migrations/20230308154245
deleted file mode 100644
index d0b03b98aef8f..0000000000000
--- a/db/schema_migrations/20230308154245
+++ /dev/null
@@ -1 +0,0 @@
-86cace53be2253af85100880ff38ae8685c4c21e96b85eddc4f1111417d5115a
\ No newline at end of file
diff --git a/db/schema_migrations/20230308163018 b/db/schema_migrations/20230308163018
deleted file mode 100644
index 19815455ef3db..0000000000000
--- a/db/schema_migrations/20230308163018
+++ /dev/null
@@ -1 +0,0 @@
-f9132e8d1d39307fc4f9ef17c6e044bab636d17ae7a7e5207f26ab3e38441638
\ No newline at end of file
diff --git a/db/schema_migrations/20230309000957 b/db/schema_migrations/20230309000957
deleted file mode 100644
index 679d37f153bca..0000000000000
--- a/db/schema_migrations/20230309000957
+++ /dev/null
@@ -1 +0,0 @@
-902e921099ed27cc1c8fd36eac192879ff6c68e4aa7ef4a0764381c0a01fd76e
\ No newline at end of file
diff --git a/db/schema_migrations/20230309010000 b/db/schema_migrations/20230309010000
deleted file mode 100644
index 9415a4b9f111d..0000000000000
--- a/db/schema_migrations/20230309010000
+++ /dev/null
@@ -1 +0,0 @@
-de7622f865cc6216902d1f9964a645d74777e60072efa399683cd6a9c347d27b
\ No newline at end of file
diff --git a/db/schema_migrations/20230309010931 b/db/schema_migrations/20230309010931
deleted file mode 100644
index c7ac631a4275f..0000000000000
--- a/db/schema_migrations/20230309010931
+++ /dev/null
@@ -1 +0,0 @@
-1976ef23f13343f1ae85b9c9c612dc43e4f4696c9cfad1f36a54e9368ded4f20
\ No newline at end of file
diff --git a/db/schema_migrations/20230309020422 b/db/schema_migrations/20230309020422
deleted file mode 100644
index b43cc93836f2b..0000000000000
--- a/db/schema_migrations/20230309020422
+++ /dev/null
@@ -1 +0,0 @@
-51ff7181e6ae2ed88e2d2d91d3f29a53c0342c3461ea55be1bf202a85709f6c6
\ No newline at end of file
diff --git a/db/schema_migrations/20230309071242 b/db/schema_migrations/20230309071242
deleted file mode 100644
index dd29a8006b17c..0000000000000
--- a/db/schema_migrations/20230309071242
+++ /dev/null
@@ -1 +0,0 @@
-094eb5044e841050288c7362cc58c1b63ce4a349fe49a4c5ebee6b83a05feb56
\ No newline at end of file
diff --git a/db/schema_migrations/20230309085547 b/db/schema_migrations/20230309085547
deleted file mode 100644
index 5795b41101614..0000000000000
--- a/db/schema_migrations/20230309085547
+++ /dev/null
@@ -1 +0,0 @@
-48fadefd7b9ba4383a2e69715e21f5f19d10cc524174a463299b49ae736e6d2f
\ No newline at end of file
diff --git a/db/schema_migrations/20230309103016 b/db/schema_migrations/20230309103016
deleted file mode 100644
index fae5bcc5a7284..0000000000000
--- a/db/schema_migrations/20230309103016
+++ /dev/null
@@ -1 +0,0 @@
-e02ad3e7cfb386560e2e4d71332f1ced4a1827941b78012d974d9abcfea368d9
\ No newline at end of file
diff --git a/db/schema_migrations/20230310020356 b/db/schema_migrations/20230310020356
deleted file mode 100644
index ac942e2ec1aee..0000000000000
--- a/db/schema_migrations/20230310020356
+++ /dev/null
@@ -1 +0,0 @@
-0b6ca48a68c9695f0035d2dd111707d3abaee7f260549a694250527c1f6f5b9e
\ No newline at end of file
diff --git a/db/schema_migrations/20230310111859 b/db/schema_migrations/20230310111859
deleted file mode 100644
index 0bc9268a3119b..0000000000000
--- a/db/schema_migrations/20230310111859
+++ /dev/null
@@ -1 +0,0 @@
-d1accdc2bbe9aa5266df98a893176fba94148f9754d2c0b2de04e9d8d66d8eba
\ No newline at end of file
diff --git a/db/schema_migrations/20230310213308 b/db/schema_migrations/20230310213308
deleted file mode 100644
index 807a114110925..0000000000000
--- a/db/schema_migrations/20230310213308
+++ /dev/null
@@ -1 +0,0 @@
-e6bd8bddb33ee72a183da7381bc599b98db03fdf3de6bc20860fe3b119d5a6a2
\ No newline at end of file
diff --git a/db/schema_migrations/20230313012226 b/db/schema_migrations/20230313012226
deleted file mode 100644
index e7d7a6a1b7bdd..0000000000000
--- a/db/schema_migrations/20230313012226
+++ /dev/null
@@ -1 +0,0 @@
-7c9f554950c0b2b2adc6d31d6cc42335dfd00965c61b2b24489e0099ad227a5c
\ No newline at end of file
diff --git a/db/schema_migrations/20230313012609 b/db/schema_migrations/20230313012609
deleted file mode 100644
index f7b0e375a3c6c..0000000000000
--- a/db/schema_migrations/20230313012609
+++ /dev/null
@@ -1 +0,0 @@
-c3098250c8ade855d84fec852dac81bab891e6e844404814ddff99711136d9eb
\ No newline at end of file
diff --git a/db/schema_migrations/20230313014038 b/db/schema_migrations/20230313014038
deleted file mode 100644
index 81f6366c52ba6..0000000000000
--- a/db/schema_migrations/20230313014038
+++ /dev/null
@@ -1 +0,0 @@
-6dde6a29aefd3811f9c5bd144b24f33046e1762e13f18ad069d6d53a2448df49
\ No newline at end of file
diff --git a/db/schema_migrations/20230313031351 b/db/schema_migrations/20230313031351
deleted file mode 100644
index 37a57006caeba..0000000000000
--- a/db/schema_migrations/20230313031351
+++ /dev/null
@@ -1 +0,0 @@
-44dc97ac36a6edcd0c0dba76f6b60204b72c005da7bd793af4ac7832d949bd0b
\ No newline at end of file
diff --git a/db/schema_migrations/20230313031629 b/db/schema_migrations/20230313031629
deleted file mode 100644
index c7a27b58cff2c..0000000000000
--- a/db/schema_migrations/20230313031629
+++ /dev/null
@@ -1 +0,0 @@
-86ffe1f3b8048cf01b96f66683fa68f889051c8633c6b803ffdb03aa0a8d2864
\ No newline at end of file
diff --git a/db/schema_migrations/20230313054226 b/db/schema_migrations/20230313054226
deleted file mode 100644
index 7b174fe3570bc..0000000000000
--- a/db/schema_migrations/20230313054226
+++ /dev/null
@@ -1 +0,0 @@
-15c56632eafda4ab511368001a7bbfdf9f346049ab19a9df3ad2c96adc12f1a0
\ No newline at end of file
diff --git a/db/schema_migrations/20230313092109 b/db/schema_migrations/20230313092109
deleted file mode 100644
index ae1f751026084..0000000000000
--- a/db/schema_migrations/20230313092109
+++ /dev/null
@@ -1 +0,0 @@
-16d406344be453ddbea50fea870c3426289bc3cf0476da6415e789a523af01e1
\ No newline at end of file
diff --git a/db/schema_migrations/20230313100920 b/db/schema_migrations/20230313100920
deleted file mode 100644
index bb04d2a9f721e..0000000000000
--- a/db/schema_migrations/20230313100920
+++ /dev/null
@@ -1 +0,0 @@
-e2940977e8dfc2873751ae2c4b971b2d12cf79eb644c563b901f20d2e0c51649
\ No newline at end of file
diff --git a/db/schema_migrations/20230313133001 b/db/schema_migrations/20230313133001
deleted file mode 100644
index 724003e344821..0000000000000
--- a/db/schema_migrations/20230313133001
+++ /dev/null
@@ -1 +0,0 @@
-96220e0bd8ebc4ed6ad5478d1bc8e08760e8d301667fad3cdbd9dce689a32d87
\ No newline at end of file
diff --git a/db/schema_migrations/20230313142631 b/db/schema_migrations/20230313142631
deleted file mode 100644
index cb035d8700910..0000000000000
--- a/db/schema_migrations/20230313142631
+++ /dev/null
@@ -1 +0,0 @@
-94cdd10692a9e7668e5d2cc71c02a5038d9e0de1c5fcb794681c9b9f5abedf2d
\ No newline at end of file
diff --git a/db/schema_migrations/20230313143033 b/db/schema_migrations/20230313143033
deleted file mode 100644
index 81e9dd384b98c..0000000000000
--- a/db/schema_migrations/20230313143033
+++ /dev/null
@@ -1 +0,0 @@
-6a2ae2db3b61652bdf29a1e851d4120fb31eb21edaa2ffa6ef44415dfea928c5
\ No newline at end of file
diff --git a/db/schema_migrations/20230313150531 b/db/schema_migrations/20230313150531
deleted file mode 100644
index 94625561f6b65..0000000000000
--- a/db/schema_migrations/20230313150531
+++ /dev/null
@@ -1 +0,0 @@
-e2f19bbc322127e439fffc4c1e2718288538aa6cb2d50a5248f12470b1c9491e
\ No newline at end of file
diff --git a/db/schema_migrations/20230313181536 b/db/schema_migrations/20230313181536
deleted file mode 100644
index 4131e34c72557..0000000000000
--- a/db/schema_migrations/20230313181536
+++ /dev/null
@@ -1 +0,0 @@
-d8a040d40d19bb75c8e5fc8bb867ea6354ceda22c9dfe5724a4231a4b005e373
\ No newline at end of file
diff --git a/db/schema_migrations/20230313184306 b/db/schema_migrations/20230313184306
deleted file mode 100644
index 733217f705ced..0000000000000
--- a/db/schema_migrations/20230313184306
+++ /dev/null
@@ -1 +0,0 @@
-457c9325bb8af653b179cb04a3332746b1caf0854b555f71fe8ceb4e323e8b20
\ No newline at end of file
diff --git a/db/schema_migrations/20230313185145 b/db/schema_migrations/20230313185145
deleted file mode 100644
index 6eb3908d1dab1..0000000000000
--- a/db/schema_migrations/20230313185145
+++ /dev/null
@@ -1 +0,0 @@
-a5a630c2dbd94af837bff0056ee472360646306ca1c00e66fc3f68669006cf50
\ No newline at end of file
diff --git a/db/schema_migrations/20230314094210 b/db/schema_migrations/20230314094210
deleted file mode 100644
index ee40a11c6f04d..0000000000000
--- a/db/schema_migrations/20230314094210
+++ /dev/null
@@ -1 +0,0 @@
-533c4aec923bdc54c3f3a0656ae47d77e2224be2329a547c5a569e3ff5cedd54
\ No newline at end of file
diff --git a/db/schema_migrations/20230314144640 b/db/schema_migrations/20230314144640
deleted file mode 100644
index 66dececa04473..0000000000000
--- a/db/schema_migrations/20230314144640
+++ /dev/null
@@ -1 +0,0 @@
-143b8fca03dd42fcf7ee9af733901e16df2bbc3ce29e76e8e442536a17186fdf
\ No newline at end of file
diff --git a/db/schema_migrations/20230314210657 b/db/schema_migrations/20230314210657
deleted file mode 100644
index 04be3b6f1eb5f..0000000000000
--- a/db/schema_migrations/20230314210657
+++ /dev/null
@@ -1 +0,0 @@
-6cbf7f5127f7b174156098b870a22b8426bca34589565cb6d79db3018c74f732
\ No newline at end of file
diff --git a/db/schema_migrations/20230315053635 b/db/schema_migrations/20230315053635
deleted file mode 100644
index 751f52c2ccdb2..0000000000000
--- a/db/schema_migrations/20230315053635
+++ /dev/null
@@ -1 +0,0 @@
-aedea3dd398210eb2d98a3ecefe3b02b518bce53d63d75160796eb0414574087
\ No newline at end of file
diff --git a/db/schema_migrations/20230315084704 b/db/schema_migrations/20230315084704
deleted file mode 100644
index a41414de7b16c..0000000000000
--- a/db/schema_migrations/20230315084704
+++ /dev/null
@@ -1 +0,0 @@
-b0091fc76ead45dab7a0cd4d2b0a65858703cb18a98cca7715b88bceac8c2ed0
\ No newline at end of file
diff --git a/db/schema_migrations/20230315161408 b/db/schema_migrations/20230315161408
deleted file mode 100644
index 8f8e116de101c..0000000000000
--- a/db/schema_migrations/20230315161408
+++ /dev/null
@@ -1 +0,0 @@
-edd3d506ad848f854fa9614df3b88619704c1cd834f5c2b7bb7bde20d76888bc
\ No newline at end of file
diff --git a/db/schema_migrations/20230316014650 b/db/schema_migrations/20230316014650
deleted file mode 100644
index 590de1b6748e9..0000000000000
--- a/db/schema_migrations/20230316014650
+++ /dev/null
@@ -1 +0,0 @@
-f2263525d0e7569eb2ca639b83a7fa5704aba32268570191aee0fd421010d122
\ No newline at end of file
diff --git a/db/schema_migrations/20230316014651 b/db/schema_migrations/20230316014651
deleted file mode 100644
index 70d7cbcef0013..0000000000000
--- a/db/schema_migrations/20230316014651
+++ /dev/null
@@ -1 +0,0 @@
-f139b8097744ab3fabdf343bfb5e6a7a8426227b54238c4926b0446dd621ef64
\ No newline at end of file
diff --git a/db/schema_migrations/20230316073726 b/db/schema_migrations/20230316073726
deleted file mode 100644
index 13f7b1a547722..0000000000000
--- a/db/schema_migrations/20230316073726
+++ /dev/null
@@ -1 +0,0 @@
-d045bd70fc1fc8a317aba9162bcc5a55f3be3cbd6f31438b4fb3951cd171e454
\ No newline at end of file
diff --git a/db/schema_migrations/20230316093433 b/db/schema_migrations/20230316093433
deleted file mode 100644
index eaf1434bb2b57..0000000000000
--- a/db/schema_migrations/20230316093433
+++ /dev/null
@@ -1 +0,0 @@
-5e3c28caac0cc43d28c7f279ad001234ec6f81e2522c087fc303a6e3355b5a33
\ No newline at end of file
diff --git a/db/schema_migrations/20230316095948 b/db/schema_migrations/20230316095948
deleted file mode 100644
index c2c829f1d20d9..0000000000000
--- a/db/schema_migrations/20230316095948
+++ /dev/null
@@ -1 +0,0 @@
-4db14f0a961e98597fd2f4fc75e05309bfbda3b8cf83c1296c937be24207595e
\ No newline at end of file
diff --git a/db/schema_migrations/20230316114426 b/db/schema_migrations/20230316114426
deleted file mode 100644
index 1fde829db4a4f..0000000000000
--- a/db/schema_migrations/20230316114426
+++ /dev/null
@@ -1 +0,0 @@
-65380616067b8dc968e5d200092ebbb58e6c8bc8967ac9ed84282c450aefe016
\ No newline at end of file
diff --git a/db/schema_migrations/20230316164917 b/db/schema_migrations/20230316164917
deleted file mode 100644
index 935639439d838..0000000000000
--- a/db/schema_migrations/20230316164917
+++ /dev/null
@@ -1 +0,0 @@
-d9a660e9415a0ab3f128609d72b2da19982d1ef6a8441dd2f627427890d0d3be
\ No newline at end of file
diff --git a/db/schema_migrations/20230316185746 b/db/schema_migrations/20230316185746
deleted file mode 100644
index 1b23d93736b4e..0000000000000
--- a/db/schema_migrations/20230316185746
+++ /dev/null
@@ -1 +0,0 @@
-6aa9022f0e945d66fd62a49e1d392a8fb5e55bd96804b1eb50bfff135a7954b6
\ No newline at end of file
diff --git a/db/schema_migrations/20230317004428 b/db/schema_migrations/20230317004428
deleted file mode 100644
index a6bbc2d0d2bb8..0000000000000
--- a/db/schema_migrations/20230317004428
+++ /dev/null
@@ -1 +0,0 @@
-d3189deaf413a7e96b3e65cab06037dd7fa577bd977549ac5aca168b12d9d1ff
\ No newline at end of file
diff --git a/db/schema_migrations/20230317075852 b/db/schema_migrations/20230317075852
deleted file mode 100644
index 7506d9c54147f..0000000000000
--- a/db/schema_migrations/20230317075852
+++ /dev/null
@@ -1 +0,0 @@
-5b9e269f3354b1f054a3e3d8f9a011ea2c1a19c72a4cecdfb8a3e6e80ab83ab3
\ No newline at end of file
diff --git a/db/schema_migrations/20230317080000 b/db/schema_migrations/20230317080000
deleted file mode 100644
index 33b3252a977d0..0000000000000
--- a/db/schema_migrations/20230317080000
+++ /dev/null
@@ -1 +0,0 @@
-a33f941480ce270532dca961cf72ce31c5c2d732b1c1ab361c95bac6e278a443
\ No newline at end of file
diff --git a/db/schema_migrations/20230317080137 b/db/schema_migrations/20230317080137
deleted file mode 100644
index 90914f8a5336a..0000000000000
--- a/db/schema_migrations/20230317080137
+++ /dev/null
@@ -1 +0,0 @@
-238730785306bb43677be1e86ae3cca210d651eb5397a7fbf90a12a7ec252614
\ No newline at end of file
diff --git a/db/schema_migrations/20230317151841 b/db/schema_migrations/20230317151841
deleted file mode 100644
index 69085045c8af7..0000000000000
--- a/db/schema_migrations/20230317151841
+++ /dev/null
@@ -1 +0,0 @@
-95bcf074127993a57bc6aaf04b64717a2c49d7886838ab0e7194807475fcdee1
\ No newline at end of file
diff --git a/db/schema_migrations/20230317162059 b/db/schema_migrations/20230317162059
deleted file mode 100644
index 9adcabb9aebe8..0000000000000
--- a/db/schema_migrations/20230317162059
+++ /dev/null
@@ -1 +0,0 @@
-86f8982c21b25cfc1914304b0083075226e0f8182b66a766a4f354b1b5fc8f7d
\ No newline at end of file
diff --git a/db/schema_migrations/20230317195228 b/db/schema_migrations/20230317195228
deleted file mode 100644
index ba9f36ae31d38..0000000000000
--- a/db/schema_migrations/20230317195228
+++ /dev/null
@@ -1 +0,0 @@
-cc3bc6913ae957318f1a41b00cf6b8c3b6b445b6a16c460e8744e94618416bf6
\ No newline at end of file
diff --git a/db/schema_migrations/20230319105436 b/db/schema_migrations/20230319105436
deleted file mode 100644
index 47338a038b129..0000000000000
--- a/db/schema_migrations/20230319105436
+++ /dev/null
@@ -1 +0,0 @@
-198cf0597e4a513c6c47b9cd576765d40f564838d5c54e33216fd7a5d25220ae
\ No newline at end of file
diff --git a/db/schema_migrations/20230320110802 b/db/schema_migrations/20230320110802
deleted file mode 100644
index f9185745e24ad..0000000000000
--- a/db/schema_migrations/20230320110802
+++ /dev/null
@@ -1 +0,0 @@
-b45db7a4404bbab731138f5db6031241945969a210f1c3b6fce323938ec8980d
\ No newline at end of file
diff --git a/db/schema_migrations/20230320155635 b/db/schema_migrations/20230320155635
deleted file mode 100644
index 91ade579ffbe2..0000000000000
--- a/db/schema_migrations/20230320155635
+++ /dev/null
@@ -1 +0,0 @@
-58d91bbad9896429a0b8d383a1d5ef47a7b017c65af7834c01091fbccb7f5221
\ No newline at end of file
diff --git a/db/schema_migrations/20230321003252 b/db/schema_migrations/20230321003252
deleted file mode 100644
index 85515872922ed..0000000000000
--- a/db/schema_migrations/20230321003252
+++ /dev/null
@@ -1 +0,0 @@
-82c5c661c3fad14a0466e5669b59dca92084b8c77500d8ae3b97b34029277c94
\ No newline at end of file
diff --git a/db/schema_migrations/20230321011529 b/db/schema_migrations/20230321011529
deleted file mode 100644
index 2491b3b23dbfc..0000000000000
--- a/db/schema_migrations/20230321011529
+++ /dev/null
@@ -1 +0,0 @@
-726d3232acecf6408a7f25876ac9104d5a003fbaeeb8ab666d473b8cf379cc75
\ No newline at end of file
diff --git a/db/schema_migrations/20230321011903 b/db/schema_migrations/20230321011903
deleted file mode 100644
index a02b643406cc8..0000000000000
--- a/db/schema_migrations/20230321011903
+++ /dev/null
@@ -1 +0,0 @@
-ddb687f5e1b2593dc1c68c2c22ff12a276861c67faf4f775431e17b17380688d
\ No newline at end of file
diff --git a/db/schema_migrations/20230321024333 b/db/schema_migrations/20230321024333
deleted file mode 100644
index 52cd037f28e55..0000000000000
--- a/db/schema_migrations/20230321024333
+++ /dev/null
@@ -1 +0,0 @@
-16d266b15451c20c4512b3ee2673af997301b7a92b4eacb4db74e025231c9f43
\ No newline at end of file
diff --git a/db/schema_migrations/20230321024903 b/db/schema_migrations/20230321024903
deleted file mode 100644
index fd2651c7afa17..0000000000000
--- a/db/schema_migrations/20230321024903
+++ /dev/null
@@ -1 +0,0 @@
-b07b58c96f5f61e63619edc645384c15341feb217a521cdf8d90f37bc261addb
\ No newline at end of file
diff --git a/db/schema_migrations/20230321085011 b/db/schema_migrations/20230321085011
deleted file mode 100644
index c35be85e5830d..0000000000000
--- a/db/schema_migrations/20230321085011
+++ /dev/null
@@ -1 +0,0 @@
-fc277fb3f02c01f57355cf6381a9883e6f67c339303242ea34c5a1b567b227d0
\ No newline at end of file
diff --git a/db/schema_migrations/20230321095759 b/db/schema_migrations/20230321095759
deleted file mode 100644
index 0f51a5001b890..0000000000000
--- a/db/schema_migrations/20230321095759
+++ /dev/null
@@ -1 +0,0 @@
-f2b7e2856672f294a7686a61d3b953b8341b21b31a60a2f62419e878c3244d64
\ No newline at end of file
diff --git a/db/schema_migrations/20230321113956 b/db/schema_migrations/20230321113956
deleted file mode 100644
index a3e81a95610cb..0000000000000
--- a/db/schema_migrations/20230321113956
+++ /dev/null
@@ -1 +0,0 @@
-5f7d370de2adf12d836c6408dc3166b8a2691fc84e353fab8933a276568af62e
\ No newline at end of file
diff --git a/db/schema_migrations/20230321124837 b/db/schema_migrations/20230321124837
deleted file mode 100644
index 934f467c5e0c6..0000000000000
--- a/db/schema_migrations/20230321124837
+++ /dev/null
@@ -1 +0,0 @@
-17c78ffb8298207d36866e51974fb09432d9ccbbf5f3b401c4335392849f75c3
\ No newline at end of file
diff --git a/db/schema_migrations/20230321153035 b/db/schema_migrations/20230321153035
deleted file mode 100644
index 5c4894a9113da..0000000000000
--- a/db/schema_migrations/20230321153035
+++ /dev/null
@@ -1 +0,0 @@
-5aa29a59aad33fe1ee81c44402c7fb2bb149fcb46c0d0afd5494b4788ea8840c
\ No newline at end of file
diff --git a/db/schema_migrations/20230321153304 b/db/schema_migrations/20230321153304
deleted file mode 100644
index 64cb0f2e2dc4f..0000000000000
--- a/db/schema_migrations/20230321153304
+++ /dev/null
@@ -1 +0,0 @@
-367ed961312905ce5a2f543d997c5210904648354698292ec735cee874995f9b
\ No newline at end of file
diff --git a/db/schema_migrations/20230321153337 b/db/schema_migrations/20230321153337
deleted file mode 100644
index 0e388c06534a5..0000000000000
--- a/db/schema_migrations/20230321153337
+++ /dev/null
@@ -1 +0,0 @@
-642ee9d1d663316b50205d3925d91e05c2cb674ea929cc8316442257b61f2fb4
\ No newline at end of file
diff --git a/db/schema_migrations/20230321161218 b/db/schema_migrations/20230321161218
deleted file mode 100644
index 57365b4789867..0000000000000
--- a/db/schema_migrations/20230321161218
+++ /dev/null
@@ -1 +0,0 @@
-efbe3f66fecfb275f8b4276cedc2210a141f4c63cc10242daafb445b352a4b70
\ No newline at end of file
diff --git a/db/schema_migrations/20230321161441 b/db/schema_migrations/20230321161441
deleted file mode 100644
index fe0b5fbeee4fa..0000000000000
--- a/db/schema_migrations/20230321161441
+++ /dev/null
@@ -1 +0,0 @@
-7e3a9281e624341301d937d2422f0ff2d71367bfb42bf45ddcde7216e84ecb93
\ No newline at end of file
diff --git a/db/schema_migrations/20230321162810 b/db/schema_migrations/20230321162810
deleted file mode 100644
index ef81f6f15494e..0000000000000
--- a/db/schema_migrations/20230321162810
+++ /dev/null
@@ -1 +0,0 @@
-f393893085e2a7faf43668589ce707dc27c61f8ea0dc8a3632503a39de673134
\ No newline at end of file
diff --git a/db/schema_migrations/20230321162902 b/db/schema_migrations/20230321162902
deleted file mode 100644
index 54e447494d317..0000000000000
--- a/db/schema_migrations/20230321162902
+++ /dev/null
@@ -1 +0,0 @@
-2d00140af48ff5137f2c8df0b03fdebbc08abd0d448b967fdc1fb8781ab0841f
\ No newline at end of file
diff --git a/db/schema_migrations/20230321163051 b/db/schema_migrations/20230321163051
deleted file mode 100644
index a4d263980909b..0000000000000
--- a/db/schema_migrations/20230321163051
+++ /dev/null
@@ -1 +0,0 @@
-e172b6f87e3f06e3c2a7f64b0d7d9eae797802a4dd77b86a989ab4eb6ec5e626
\ No newline at end of file
diff --git a/db/schema_migrations/20230321163547 b/db/schema_migrations/20230321163547
deleted file mode 100644
index 81260ee6b14ed..0000000000000
--- a/db/schema_migrations/20230321163547
+++ /dev/null
@@ -1 +0,0 @@
-c2e2ac63f992c409f575de544f86e046ebdcfd19ff55bf75616205266034caed
\ No newline at end of file
diff --git a/db/schema_migrations/20230321163947 b/db/schema_migrations/20230321163947
deleted file mode 100644
index 7fe481926930b..0000000000000
--- a/db/schema_migrations/20230321163947
+++ /dev/null
@@ -1 +0,0 @@
-f70305536912db6a726b2e371970a322f9b8f2a3efb5570860e57b4196c85d3d
\ No newline at end of file
diff --git a/db/schema_migrations/20230321170734 b/db/schema_migrations/20230321170734
deleted file mode 100644
index b6653465894d9..0000000000000
--- a/db/schema_migrations/20230321170734
+++ /dev/null
@@ -1 +0,0 @@
-e60dc9b8f28fdbbc84ed808edc98fb8d640ec5a53b21363a59f375a0a3fe5bfd
\ No newline at end of file
diff --git a/db/schema_migrations/20230321170803 b/db/schema_migrations/20230321170803
deleted file mode 100644
index 85d557d7681e7..0000000000000
--- a/db/schema_migrations/20230321170803
+++ /dev/null
@@ -1 +0,0 @@
-c08a4f0873dfbc3ce2d6c1cc9224b2427ec41de482da85768f7cf08409ec8a54
\ No newline at end of file
diff --git a/db/schema_migrations/20230321170823 b/db/schema_migrations/20230321170823
deleted file mode 100644
index 86dfe82347352..0000000000000
--- a/db/schema_migrations/20230321170823
+++ /dev/null
@@ -1 +0,0 @@
-5517993d733b91c924c06ac616902108d7d709045296e3c2e44de5e8ed78e10f
\ No newline at end of file
diff --git a/db/schema_migrations/20230322011220 b/db/schema_migrations/20230322011220
deleted file mode 100644
index 8e8b8325f3073..0000000000000
--- a/db/schema_migrations/20230322011220
+++ /dev/null
@@ -1 +0,0 @@
-5e70b9a4dd74523e8cc44b22d2ebb5dcc326fcfb52bacdd63090b5abe8b36732
\ No newline at end of file
diff --git a/db/schema_migrations/20230322012209 b/db/schema_migrations/20230322012209
deleted file mode 100644
index e3686af447db2..0000000000000
--- a/db/schema_migrations/20230322012209
+++ /dev/null
@@ -1 +0,0 @@
-b00bad4559b3f7a959771b08f03b2d6cd4eadb2862dc8840065885cd87d09a77
\ No newline at end of file
diff --git a/db/schema_migrations/20230322023442 b/db/schema_migrations/20230322023442
deleted file mode 100644
index 59de5395302ec..0000000000000
--- a/db/schema_migrations/20230322023442
+++ /dev/null
@@ -1 +0,0 @@
-41d619c9e22fb91b3cf4f04482b48a66d027dda0c705423c4a9a84de991ea42d
\ No newline at end of file
diff --git a/db/schema_migrations/20230322085041 b/db/schema_migrations/20230322085041
deleted file mode 100644
index 6ffba79858564..0000000000000
--- a/db/schema_migrations/20230322085041
+++ /dev/null
@@ -1 +0,0 @@
-17a8493fb1da422753efbd3bfb0d02574470eb6bf06f8302a9b360d02aa5e55d
\ No newline at end of file
diff --git a/db/schema_migrations/20230322085852 b/db/schema_migrations/20230322085852
deleted file mode 100644
index bb4f7d6c082c0..0000000000000
--- a/db/schema_migrations/20230322085852
+++ /dev/null
@@ -1 +0,0 @@
-3d729e32b57bee6013f05361f37ea9e33453bea2b21085d4d56b3c2fe4d5f071
\ No newline at end of file
diff --git a/db/schema_migrations/20230322145403 b/db/schema_migrations/20230322145403
deleted file mode 100644
index d2db5495d7b5c..0000000000000
--- a/db/schema_migrations/20230322145403
+++ /dev/null
@@ -1 +0,0 @@
-7ec944ccdd85380bba7d17fbd9dbf37bea918d0ac7fbe03142f4a4c6561a77a9
\ No newline at end of file
diff --git a/db/schema_migrations/20230322151605 b/db/schema_migrations/20230322151605
deleted file mode 100644
index cb47c2629a8da..0000000000000
--- a/db/schema_migrations/20230322151605
+++ /dev/null
@@ -1 +0,0 @@
-5300b4b70078fe3dadbdf42e7884dee84794c0de5b32c26b6ec46622b2a433c4
\ No newline at end of file
diff --git a/db/schema_migrations/20230322151635 b/db/schema_migrations/20230322151635
deleted file mode 100644
index 1f9bb48020a3f..0000000000000
--- a/db/schema_migrations/20230322151635
+++ /dev/null
@@ -1 +0,0 @@
-d0b729d78f4ca8269fef71e11ddd600e3cbd53ceb302200ae13e0362a0278101
\ No newline at end of file
diff --git a/db/schema_migrations/20230322162512 b/db/schema_migrations/20230322162512
deleted file mode 100644
index a6e64bb2a6e4f..0000000000000
--- a/db/schema_migrations/20230322162512
+++ /dev/null
@@ -1 +0,0 @@
-3443d7c52cc4db5fc8f10e22406a39b8724f968bb936b0792895e13a3b3db710
\ No newline at end of file
diff --git a/db/schema_migrations/20230322164031 b/db/schema_migrations/20230322164031
deleted file mode 100644
index 57478bae5b372..0000000000000
--- a/db/schema_migrations/20230322164031
+++ /dev/null
@@ -1 +0,0 @@
-4610b001f48cc89d79a769231d73f7fe579ffe8753a276e32ddd4cc15ad5bf25
\ No newline at end of file
diff --git a/db/schema_migrations/20230322203927 b/db/schema_migrations/20230322203927
deleted file mode 100644
index 5484ff427e46f..0000000000000
--- a/db/schema_migrations/20230322203927
+++ /dev/null
@@ -1 +0,0 @@
-b91efba4aad15d32dc227620239a330246748c73d6afed946c3fd1baaa125932
\ No newline at end of file
diff --git a/db/schema_migrations/20230323005730 b/db/schema_migrations/20230323005730
deleted file mode 100644
index 52e64f71e5108..0000000000000
--- a/db/schema_migrations/20230323005730
+++ /dev/null
@@ -1 +0,0 @@
-38395557e91452474bbebcbaa7e728ce83277757d38e72cec41392e3437d40ba
\ No newline at end of file
diff --git a/db/schema_migrations/20230323010111 b/db/schema_migrations/20230323010111
deleted file mode 100644
index 896d7f5488b26..0000000000000
--- a/db/schema_migrations/20230323010111
+++ /dev/null
@@ -1 +0,0 @@
-89f6e9276f2b5518315e70c9d91371ca6ae291e7dace64934f49c9793ce8d51f
\ No newline at end of file
diff --git a/db/schema_migrations/20230323013251 b/db/schema_migrations/20230323013251
deleted file mode 100644
index 67c69c00346e2..0000000000000
--- a/db/schema_migrations/20230323013251
+++ /dev/null
@@ -1 +0,0 @@
-504a374319d8da45286d609e7ef1a06b154436e0ed7c44ccbce4ad98ef9f6c00
\ No newline at end of file
diff --git a/db/schema_migrations/20230323021618 b/db/schema_migrations/20230323021618
deleted file mode 100644
index 49e2c2519879c..0000000000000
--- a/db/schema_migrations/20230323021618
+++ /dev/null
@@ -1 +0,0 @@
-4eed46d4a2ae17425076dbb60b5669317d8edb7252246dddf914411f0a267897
\ No newline at end of file
diff --git a/db/schema_migrations/20230323101138 b/db/schema_migrations/20230323101138
deleted file mode 100644
index 2c464eda729a8..0000000000000
--- a/db/schema_migrations/20230323101138
+++ /dev/null
@@ -1 +0,0 @@
-3d03a0af6421f0b2a0f26b7a7d385dcabb12565cb0b3f6d23454d8588395a59a
\ No newline at end of file
diff --git a/db/schema_migrations/20230323120601 b/db/schema_migrations/20230323120601
deleted file mode 100644
index 1b4d275a1d08e..0000000000000
--- a/db/schema_migrations/20230323120601
+++ /dev/null
@@ -1 +0,0 @@
-6ff846d6485dfccfef23e48fcbdf1f2ad8672371e6865bb436e39c7578ec357b
\ No newline at end of file
diff --git a/db/schema_migrations/20230323131521 b/db/schema_migrations/20230323131521
deleted file mode 100644
index 3b44909928264..0000000000000
--- a/db/schema_migrations/20230323131521
+++ /dev/null
@@ -1 +0,0 @@
-93b27125fa1bb07cb32509fed9e7a4e6842655e683fe35cddce8f1b6e6728130
\ No newline at end of file
diff --git a/db/schema_migrations/20230323140745 b/db/schema_migrations/20230323140745
deleted file mode 100644
index ba80e2d22c461..0000000000000
--- a/db/schema_migrations/20230323140745
+++ /dev/null
@@ -1 +0,0 @@
-14e93b01f5d959b995aca2b27de0bf2926eacbc5fe3ca010a038101100a99551
\ No newline at end of file
diff --git a/db/schema_migrations/20230323140746 b/db/schema_migrations/20230323140746
deleted file mode 100644
index dead721028188..0000000000000
--- a/db/schema_migrations/20230323140746
+++ /dev/null
@@ -1 +0,0 @@
-e8348ca24375ba452cf96abf6a48a9aa06197d4298043e9514e4becd30dfb2a1
\ No newline at end of file
diff --git a/db/schema_migrations/20230323153042 b/db/schema_migrations/20230323153042
deleted file mode 100644
index 4ac316d2f1604..0000000000000
--- a/db/schema_migrations/20230323153042
+++ /dev/null
@@ -1 +0,0 @@
-df9cd2f72ada861f94a7957513982c50276fbe8bf29f82f29bbc306cf9075d9b
\ No newline at end of file
diff --git a/db/schema_migrations/20230323153328 b/db/schema_migrations/20230323153328
deleted file mode 100644
index 48b96e73f7460..0000000000000
--- a/db/schema_migrations/20230323153328
+++ /dev/null
@@ -1 +0,0 @@
-5c572b7d9ee5f457c5bdd49fea89143eefd40680c571942b68e370857cf3af0e
\ No newline at end of file
diff --git a/db/schema_migrations/20230323153433 b/db/schema_migrations/20230323153433
deleted file mode 100644
index f125d87f08cb7..0000000000000
--- a/db/schema_migrations/20230323153433
+++ /dev/null
@@ -1 +0,0 @@
-9a513d1ac05a263b7057fbdcc3640d9269263dcb620ee7eea79888a0afec136c
\ No newline at end of file
diff --git a/db/schema_migrations/20230323191750 b/db/schema_migrations/20230323191750
deleted file mode 100644
index 7aace5fdc8e62..0000000000000
--- a/db/schema_migrations/20230323191750
+++ /dev/null
@@ -1 +0,0 @@
-b8285d96d0e769f6ec6cf0b7a7e9a88dff978029b252b915ca9caff5a364912d
\ No newline at end of file
diff --git a/db/schema_migrations/20230327074932 b/db/schema_migrations/20230327074932
deleted file mode 100644
index 7093e3aa4bf29..0000000000000
--- a/db/schema_migrations/20230327074932
+++ /dev/null
@@ -1 +0,0 @@
-48f6ba4288122f400a0a2ef53a679cf6b4e9dc3052ec64e959066f6e30b3cd3a
\ No newline at end of file
diff --git a/db/schema_migrations/20230327103401 b/db/schema_migrations/20230327103401
deleted file mode 100644
index 4dc9095594a72..0000000000000
--- a/db/schema_migrations/20230327103401
+++ /dev/null
@@ -1 +0,0 @@
-c5c1627079f081d241031e0ffb205b3088e83e97514e692d3093ab012d727365
\ No newline at end of file
diff --git a/db/schema_migrations/20230327123333 b/db/schema_migrations/20230327123333
deleted file mode 100644
index 2789700b74da4..0000000000000
--- a/db/schema_migrations/20230327123333
+++ /dev/null
@@ -1 +0,0 @@
-3009fe920b44aed313dd4371ab06861a74333e515349f07e361a655339fc17d2
\ No newline at end of file
diff --git a/db/schema_migrations/20230327125705 b/db/schema_migrations/20230327125705
deleted file mode 100644
index 5b193987b11e1..0000000000000
--- a/db/schema_migrations/20230327125705
+++ /dev/null
@@ -1 +0,0 @@
-dd965c40fa107f487bda00d71dfdf40aabd013dd2cb05a4d9621cb1aa87d8060
\ No newline at end of file
diff --git a/db/schema_migrations/20230327144152 b/db/schema_migrations/20230327144152
deleted file mode 100644
index ab770780c35d2..0000000000000
--- a/db/schema_migrations/20230327144152
+++ /dev/null
@@ -1 +0,0 @@
-4ac5ad2dca9500804976e6555d68958ae11c4ee7a7e694f44f2745cee7de041f
\ No newline at end of file
diff --git a/db/schema_migrations/20230328020316 b/db/schema_migrations/20230328020316
deleted file mode 100644
index 01eda556b8650..0000000000000
--- a/db/schema_migrations/20230328020316
+++ /dev/null
@@ -1 +0,0 @@
-8b5c31f035ede013e589d310fb477a9776b3e3f9554170638bb3b7a299721545
\ No newline at end of file
diff --git a/db/schema_migrations/20230328023535 b/db/schema_migrations/20230328023535
deleted file mode 100644
index 87c5946deefbf..0000000000000
--- a/db/schema_migrations/20230328023535
+++ /dev/null
@@ -1 +0,0 @@
-fde72911a0871ab14bdb167840a470bd62fd81120fec580d26a13b0c8b6f0b33
\ No newline at end of file
diff --git a/db/schema_migrations/20230328023554 b/db/schema_migrations/20230328023554
deleted file mode 100644
index 11706b8465621..0000000000000
--- a/db/schema_migrations/20230328023554
+++ /dev/null
@@ -1 +0,0 @@
-c75b19d2a3434ddecbfc6079d61e70e31d180842d8ad3615ee9ccacc24cd0039
\ No newline at end of file
diff --git a/db/schema_migrations/20230328030101 b/db/schema_migrations/20230328030101
deleted file mode 100644
index 0b50a16a51426..0000000000000
--- a/db/schema_migrations/20230328030101
+++ /dev/null
@@ -1 +0,0 @@
-eb05e37733efa95de5067d328a8e3dbe2fe696c95658bad5362893c04c8b89b6
\ No newline at end of file
diff --git a/db/schema_migrations/20230328031720 b/db/schema_migrations/20230328031720
deleted file mode 100644
index 59bc07f91d739..0000000000000
--- a/db/schema_migrations/20230328031720
+++ /dev/null
@@ -1 +0,0 @@
-279d189e3bae27bee234672b3529c65ab3b1ef0e8eb55c5a79ffc7e38b749a7e
\ No newline at end of file
diff --git a/db/schema_migrations/20230328031838 b/db/schema_migrations/20230328031838
deleted file mode 100644
index 1bf0d7de92af2..0000000000000
--- a/db/schema_migrations/20230328031838
+++ /dev/null
@@ -1 +0,0 @@
-0f12d260dace3738f4fb7b7f31fc430ba19ca36649810fad0b086cfec3b77054
\ No newline at end of file
diff --git a/db/schema_migrations/20230328100534 b/db/schema_migrations/20230328100534
deleted file mode 100644
index 7bdf4ba65ab29..0000000000000
--- a/db/schema_migrations/20230328100534
+++ /dev/null
@@ -1 +0,0 @@
-f74849f237902c24b996b27c552a95b8a3c080f98c03fcefdf8a7c76638396dc
\ No newline at end of file
diff --git a/db/schema_migrations/20230328111013 b/db/schema_migrations/20230328111013
deleted file mode 100644
index 18b085e1df1e2..0000000000000
--- a/db/schema_migrations/20230328111013
+++ /dev/null
@@ -1 +0,0 @@
-6acd119e30d05fc794998cd4a80416cb91e11021659eb62ac93590175039a6cf
\ No newline at end of file
diff --git a/db/schema_migrations/20230328150343 b/db/schema_migrations/20230328150343
deleted file mode 100644
index 05054b0490b89..0000000000000
--- a/db/schema_migrations/20230328150343
+++ /dev/null
@@ -1 +0,0 @@
-d5cb88bd614c000b9b782e8a827bf4efcf04c57688bd4bde3d01f555b52f43fb
\ No newline at end of file
diff --git a/db/schema_migrations/20230328151756 b/db/schema_migrations/20230328151756
deleted file mode 100644
index 306a6a4b4eaca..0000000000000
--- a/db/schema_migrations/20230328151756
+++ /dev/null
@@ -1 +0,0 @@
-3678d61d47421ba81190688ade76916cf7d40c3611ad84f41a3b979092269e73
\ No newline at end of file
diff --git a/db/schema_migrations/20230328165313 b/db/schema_migrations/20230328165313
deleted file mode 100644
index a9ddacf5e4801..0000000000000
--- a/db/schema_migrations/20230328165313
+++ /dev/null
@@ -1 +0,0 @@
-ea52a177f82cc872b1f38490ff17bf166a885a4df7cf2c6c99dc7b1cccd14d33
\ No newline at end of file
diff --git a/db/schema_migrations/20230328184031 b/db/schema_migrations/20230328184031
deleted file mode 100644
index 2a099b60ba103..0000000000000
--- a/db/schema_migrations/20230328184031
+++ /dev/null
@@ -1 +0,0 @@
-04dcd7983b02b2c97d64be9c55a1bdf921c39e5c5026ce086e8cc06932fd8344
\ No newline at end of file
diff --git a/db/schema_migrations/20230329032129 b/db/schema_migrations/20230329032129
deleted file mode 100644
index 3aec19e9d99cd..0000000000000
--- a/db/schema_migrations/20230329032129
+++ /dev/null
@@ -1 +0,0 @@
-89a256c209e4c402d3162c7c967b7515870e80801e637a372fb9ee670d8e535e
\ No newline at end of file
diff --git a/db/schema_migrations/20230329085754 b/db/schema_migrations/20230329085754
deleted file mode 100644
index fd2687b225f38..0000000000000
--- a/db/schema_migrations/20230329085754
+++ /dev/null
@@ -1 +0,0 @@
-52c5c662dc46313dece9ed9228af5ea2734f0fc4872ba0f6a762e77437b9564e
\ No newline at end of file
diff --git a/db/schema_migrations/20230329091107 b/db/schema_migrations/20230329091107
deleted file mode 100644
index 658d90e662f7c..0000000000000
--- a/db/schema_migrations/20230329091107
+++ /dev/null
@@ -1 +0,0 @@
-4ca98e9c93245a8fc1f4124d00d47d73d12b961affde1d53b7262ffc93582d83
\ No newline at end of file
diff --git a/db/schema_migrations/20230329091300 b/db/schema_migrations/20230329091300
deleted file mode 100644
index 4a4be64412612..0000000000000
--- a/db/schema_migrations/20230329091300
+++ /dev/null
@@ -1 +0,0 @@
-a85e3139d843295e666867129575818f61983a8b16eaa73f9b470e394d9c5476
\ No newline at end of file
diff --git a/db/schema_migrations/20230329100222 b/db/schema_migrations/20230329100222
deleted file mode 100644
index 5ca5919dadd0a..0000000000000
--- a/db/schema_migrations/20230329100222
+++ /dev/null
@@ -1 +0,0 @@
-70c83ed052082e1f37bd46c5abcb0b1b101ea08b719a68d8f39cb7545da97e61
\ No newline at end of file
diff --git a/db/schema_migrations/20230329152410 b/db/schema_migrations/20230329152410
deleted file mode 100644
index 4f322c1db9706..0000000000000
--- a/db/schema_migrations/20230329152410
+++ /dev/null
@@ -1 +0,0 @@
-e9197bef3594074f543df534372f25a19b07be76f661b699496d9f12f9930fe1
\ No newline at end of file
diff --git a/db/schema_migrations/20230329163232 b/db/schema_migrations/20230329163232
deleted file mode 100644
index dac25f628989c..0000000000000
--- a/db/schema_migrations/20230329163232
+++ /dev/null
@@ -1 +0,0 @@
-317e690eec5e3f3aa5a43610b848eb1ee9e5502b9480804ff363e45e66daac50
\ No newline at end of file
diff --git a/db/schema_migrations/20230329194244 b/db/schema_migrations/20230329194244
deleted file mode 100644
index 58b50705305e5..0000000000000
--- a/db/schema_migrations/20230329194244
+++ /dev/null
@@ -1 +0,0 @@
-9e9f4b2ed1a56fb3dd780cd22f82eab741639bb972c524984741d4f8cd799e5c
\ No newline at end of file
diff --git a/db/schema_migrations/20230329235300 b/db/schema_migrations/20230329235300
deleted file mode 100644
index 0f3d4099553cd..0000000000000
--- a/db/schema_migrations/20230329235300
+++ /dev/null
@@ -1 +0,0 @@
-44df5e98715af0cf9f8920e8fc35754901d578ae5c1dcc5fa7a3fb9ee49f995b
\ No newline at end of file
diff --git a/db/schema_migrations/20230330080731 b/db/schema_migrations/20230330080731
deleted file mode 100644
index 18a8e9dba8886..0000000000000
--- a/db/schema_migrations/20230330080731
+++ /dev/null
@@ -1 +0,0 @@
-5bc014685295ca8af21450de34e39fb54e6cef2fc53943cce84ea24370a9955f
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101438 b/db/schema_migrations/20230330101438
deleted file mode 100644
index 0e479e7b28f86..0000000000000
--- a/db/schema_migrations/20230330101438
+++ /dev/null
@@ -1 +0,0 @@
-ff2658630f5877b94536653994d211344210e10c0d3ef19d6052ca606bf8ea56
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101439 b/db/schema_migrations/20230330101439
deleted file mode 100644
index 64ccb9de3ee3e..0000000000000
--- a/db/schema_migrations/20230330101439
+++ /dev/null
@@ -1 +0,0 @@
-b388e3de152fda4ec4590fad5ffd503df85e474e807232e2afdacd51a4eebef9
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101440 b/db/schema_migrations/20230330101440
deleted file mode 100644
index 470fc0189d27d..0000000000000
--- a/db/schema_migrations/20230330101440
+++ /dev/null
@@ -1 +0,0 @@
-f20a1df2650018debf7b84f90c0459e4fac7120c90aa23f184bbb5a96ab6e62c
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101441 b/db/schema_migrations/20230330101441
deleted file mode 100644
index fb69231b91aba..0000000000000
--- a/db/schema_migrations/20230330101441
+++ /dev/null
@@ -1 +0,0 @@
-29c035a58df131daff23434a57999f04fbafde5a661e35bdc8556238c5822b5c
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101442 b/db/schema_migrations/20230330101442
deleted file mode 100644
index ba0def5c78450..0000000000000
--- a/db/schema_migrations/20230330101442
+++ /dev/null
@@ -1 +0,0 @@
-f2037e8c082b2355c7b004bc2f006f99f738c48e277b0013872c77d1347a0d14
\ No newline at end of file
diff --git a/db/schema_migrations/20230330101443 b/db/schema_migrations/20230330101443
deleted file mode 100644
index 4c0c0bc4b0afe..0000000000000
--- a/db/schema_migrations/20230330101443
+++ /dev/null
@@ -1 +0,0 @@
-75bbf5ead4cec9bd425d056c9bbdc0e090721caa74c143533a30afedf90047ca
\ No newline at end of file
diff --git a/db/schema_migrations/20230330103104 b/db/schema_migrations/20230330103104
deleted file mode 100644
index 804fb36631020..0000000000000
--- a/db/schema_migrations/20230330103104
+++ /dev/null
@@ -1 +0,0 @@
-e52fa4a4736346c3c03e9386be1f25cf8a2cf006c63432181afcf27473dce90a
\ No newline at end of file
diff --git a/db/schema_migrations/20230330215636 b/db/schema_migrations/20230330215636
deleted file mode 100644
index 21d09d1590662..0000000000000
--- a/db/schema_migrations/20230330215636
+++ /dev/null
@@ -1 +0,0 @@
-46f78841bf6d0ff3b852eeb2f6690ec9fa20a460566a8c23f8530f0e4ec60ed8
\ No newline at end of file
diff --git a/db/schema_migrations/20230331142006 b/db/schema_migrations/20230331142006
deleted file mode 100644
index be84e6af217d9..0000000000000
--- a/db/schema_migrations/20230331142006
+++ /dev/null
@@ -1 +0,0 @@
-73b3a7fa20bb22756e9e16f489c0743920c3342c6fc5a70cffafad84016873ab
\ No newline at end of file
diff --git a/db/schema_migrations/20230403023440 b/db/schema_migrations/20230403023440
deleted file mode 100644
index 2705965c70cc2..0000000000000
--- a/db/schema_migrations/20230403023440
+++ /dev/null
@@ -1 +0,0 @@
-0cd1bcb2a2a02c09e7fd9271f815522adc1c20a1b39953349cfe2fff4541ed66
\ No newline at end of file
diff --git a/db/schema_migrations/20230403023441 b/db/schema_migrations/20230403023441
deleted file mode 100644
index 6e259200d0eb6..0000000000000
--- a/db/schema_migrations/20230403023441
+++ /dev/null
@@ -1 +0,0 @@
-e9684618df40260a7bae8b3dc217f3dd662e1cbc5db8b8a6d0334716e034c77b
\ No newline at end of file
diff --git a/db/schema_migrations/20230403023828 b/db/schema_migrations/20230403023828
deleted file mode 100644
index 60cc18c8eecbf..0000000000000
--- a/db/schema_migrations/20230403023828
+++ /dev/null
@@ -1 +0,0 @@
-1056fb290b3f5acf11dca0848258494d42c075dc7dc18ca89873d6237fc7104b
\ No newline at end of file
diff --git a/db/schema_migrations/20230403041642 b/db/schema_migrations/20230403041642
deleted file mode 100644
index 2e066ad05d8a4..0000000000000
--- a/db/schema_migrations/20230403041642
+++ /dev/null
@@ -1 +0,0 @@
-695a7fb24cc41bf991f54df7250b7c72c4e22c6eefc6327b58bb658dcc072740
\ No newline at end of file
diff --git a/db/schema_migrations/20230403041917 b/db/schema_migrations/20230403041917
deleted file mode 100644
index bc3e2d3b2e28d..0000000000000
--- a/db/schema_migrations/20230403041917
+++ /dev/null
@@ -1 +0,0 @@
-3387abc29b2c499b8c1fafa8543f504d02cbca189b38f26a3776786416fa5820
\ No newline at end of file
diff --git a/db/schema_migrations/20230403085957 b/db/schema_migrations/20230403085957
deleted file mode 100644
index 6789a0a83a5d2..0000000000000
--- a/db/schema_migrations/20230403085957
+++ /dev/null
@@ -1 +0,0 @@
-731cdc55c22cfcfc6f23e59a7c051385a66259bb10f4b7dd22da21ee228357d2
\ No newline at end of file
diff --git a/db/schema_migrations/20230403085958 b/db/schema_migrations/20230403085958
deleted file mode 100644
index 882be7fa1cd27..0000000000000
--- a/db/schema_migrations/20230403085958
+++ /dev/null
@@ -1 +0,0 @@
-54e1499b13e6bbfb7c08e491caacae93ee21c1e939e41ffcf7ab83c6f50463ce
\ No newline at end of file
diff --git a/db/schema_migrations/20230403093349 b/db/schema_migrations/20230403093349
deleted file mode 100644
index 3dcdbd50bcd1b..0000000000000
--- a/db/schema_migrations/20230403093349
+++ /dev/null
@@ -1 +0,0 @@
-041dd0c558a77b965a9aa66e80eb30ad6e925779db4f69f3a8cf5f6293d25aa2
\ No newline at end of file
diff --git a/db/schema_migrations/20230403113620 b/db/schema_migrations/20230403113620
deleted file mode 100644
index bbecdc6288662..0000000000000
--- a/db/schema_migrations/20230403113620
+++ /dev/null
@@ -1 +0,0 @@
-52b7d165f3fcbfd16af2c2054693af4ce7d97ca51ac1c8900d357bec4401cd14
\ No newline at end of file
diff --git a/db/schema_migrations/20230403145705 b/db/schema_migrations/20230403145705
deleted file mode 100644
index 80e6357e3e45d..0000000000000
--- a/db/schema_migrations/20230403145705
+++ /dev/null
@@ -1 +0,0 @@
-856d50399914b6df0c07d328723197a57806c0883157cbfe67f0c578708a1bde
\ No newline at end of file
diff --git a/db/schema_migrations/20230403164454 b/db/schema_migrations/20230403164454
deleted file mode 100644
index 0283a3b16126e..0000000000000
--- a/db/schema_migrations/20230403164454
+++ /dev/null
@@ -1 +0,0 @@
-ff04f9ef9bb479b85223e361b96c921e25b436a86a0041627b595c3635848a5b
\ No newline at end of file
diff --git a/db/schema_migrations/20230403190527 b/db/schema_migrations/20230403190527
deleted file mode 100644
index 290c9c3933393..0000000000000
--- a/db/schema_migrations/20230403190527
+++ /dev/null
@@ -1 +0,0 @@
-0715accd97005c76bcb1e975bf00fd5fd4f34375a5d5a4131d107f13b1cd6be0
\ No newline at end of file
diff --git a/db/schema_migrations/20230403221928 b/db/schema_migrations/20230403221928
deleted file mode 100644
index 42fd52b4415d4..0000000000000
--- a/db/schema_migrations/20230403221928
+++ /dev/null
@@ -1 +0,0 @@
-458b23ebbf780535b3eec467bad2edbf3bcca3804569d892572c6e6fac2f2019
\ No newline at end of file
diff --git a/db/schema_migrations/20230403231455 b/db/schema_migrations/20230403231455
deleted file mode 100644
index 5d9c1f5a62099..0000000000000
--- a/db/schema_migrations/20230403231455
+++ /dev/null
@@ -1 +0,0 @@
-39167c767e9cbf437f7c58ee42dbc1524a3963b7eb5a9c8421f6c218611d1291
\ No newline at end of file
diff --git a/db/schema_migrations/20230403231841 b/db/schema_migrations/20230403231841
deleted file mode 100644
index f02d68ba424bc..0000000000000
--- a/db/schema_migrations/20230403231841
+++ /dev/null
@@ -1 +0,0 @@
-86bcc78ab4b5681cd31f6ca1ae43cb3c3ec5d17392a1eaceee9520cfa684d36d
\ No newline at end of file
diff --git a/db/schema_migrations/20230403232121 b/db/schema_migrations/20230403232121
deleted file mode 100644
index 519a8dc0bb255..0000000000000
--- a/db/schema_migrations/20230403232121
+++ /dev/null
@@ -1 +0,0 @@
-59297e1b83298ee3d02a70384355cd572229e5b5ab20ebea6dd9ffff0b9e243b
\ No newline at end of file
diff --git a/db/schema_migrations/20230404023648 b/db/schema_migrations/20230404023648
deleted file mode 100644
index c9ac5581cf342..0000000000000
--- a/db/schema_migrations/20230404023648
+++ /dev/null
@@ -1 +0,0 @@
-ef9f641608397a12e6b5384667194a8b3e5b929c76c365105f47fd00c5c7f219
\ No newline at end of file
diff --git a/db/schema_migrations/20230404023915 b/db/schema_migrations/20230404023915
deleted file mode 100644
index 99d7f3ec63cd2..0000000000000
--- a/db/schema_migrations/20230404023915
+++ /dev/null
@@ -1 +0,0 @@
-20bfe6e7faf02d4b20babf0f80d51bfd3618f3fd1faf512af948f1976d8c5838
\ No newline at end of file
diff --git a/db/schema_migrations/20230404030757 b/db/schema_migrations/20230404030757
deleted file mode 100644
index 989df2048b055..0000000000000
--- a/db/schema_migrations/20230404030757
+++ /dev/null
@@ -1 +0,0 @@
-3968fc8d21184f48f85209546fe515d0b4a407ad0837ef052ccbbbe15d0f9163
\ No newline at end of file
diff --git a/db/schema_migrations/20230404031041 b/db/schema_migrations/20230404031041
deleted file mode 100644
index 24b24fb6dc9b0..0000000000000
--- a/db/schema_migrations/20230404031041
+++ /dev/null
@@ -1 +0,0 @@
-a3e306b8ebe149c319788311f4f81386c9362d081babca8bcd7c850ae1cbc183
\ No newline at end of file
diff --git a/db/schema_migrations/20230404044338 b/db/schema_migrations/20230404044338
deleted file mode 100644
index caa04406a1793..0000000000000
--- a/db/schema_migrations/20230404044338
+++ /dev/null
@@ -1 +0,0 @@
-42d91918d6669bb02501657aeac062114ce6ce907baf690ab346e788c57a3324
\ No newline at end of file
diff --git a/db/schema_migrations/20230404050414 b/db/schema_migrations/20230404050414
deleted file mode 100644
index eed37e4fbed90..0000000000000
--- a/db/schema_migrations/20230404050414
+++ /dev/null
@@ -1 +0,0 @@
-919044fa4eca645e32496135af44cd01b5299413cea4dcd243a37ec144806e2f
\ No newline at end of file
diff --git a/db/schema_migrations/20230404061832 b/db/schema_migrations/20230404061832
deleted file mode 100644
index 14cdca25567f8..0000000000000
--- a/db/schema_migrations/20230404061832
+++ /dev/null
@@ -1 +0,0 @@
-51e141580bfb02dbe9ab215bd9283c01598353cb3f59fbe52ab0ab26a7974b49
\ No newline at end of file
diff --git a/db/schema_migrations/20230404111427 b/db/schema_migrations/20230404111427
deleted file mode 100644
index 3133f52cc5dcb..0000000000000
--- a/db/schema_migrations/20230404111427
+++ /dev/null
@@ -1 +0,0 @@
-571bcfb6ce5d85254cf0fc759278fbbb31d7f9967587efe2531bb0e56435b464
\ No newline at end of file
diff --git a/db/schema_migrations/20230404132544 b/db/schema_migrations/20230404132544
deleted file mode 100644
index ed8abfc31ec1f..0000000000000
--- a/db/schema_migrations/20230404132544
+++ /dev/null
@@ -1 +0,0 @@
-c2547b24345eb71c4b23d03a2b90150e0cb0fc89adaa92696fe72e038b71a6dd
\ No newline at end of file
diff --git a/db/schema_migrations/20230404160131 b/db/schema_migrations/20230404160131
deleted file mode 100644
index 089788a185f47..0000000000000
--- a/db/schema_migrations/20230404160131
+++ /dev/null
@@ -1 +0,0 @@
-d49adae338b04deee154fd2fcb9bebf4f746eb5e7d1d39402a617ca511a06bfe
\ No newline at end of file
diff --git a/db/schema_migrations/20230404194907 b/db/schema_migrations/20230404194907
deleted file mode 100644
index 76b16536f8d21..0000000000000
--- a/db/schema_migrations/20230404194907
+++ /dev/null
@@ -1 +0,0 @@
-7dccec7b92a1ea97acad03086c8d7c05ee06d1afdb88ffe34d6e83b1ffe61ad3
\ No newline at end of file
diff --git a/db/schema_migrations/20230404194908 b/db/schema_migrations/20230404194908
deleted file mode 100644
index c9324dbc0162e..0000000000000
--- a/db/schema_migrations/20230404194908
+++ /dev/null
@@ -1 +0,0 @@
-de2093c0fe297431a5a8275f482bcbf75d2672421b08942da0dcdaf6a26e1d8f
\ No newline at end of file
diff --git a/db/schema_migrations/20230405071033 b/db/schema_migrations/20230405071033
deleted file mode 100644
index 1412634cfa2b3..0000000000000
--- a/db/schema_migrations/20230405071033
+++ /dev/null
@@ -1 +0,0 @@
-b5ea5ce5590dfa2d9e989293f641964b2093eebeb606fe9b7a977441c555e9c1
\ No newline at end of file
diff --git a/db/schema_migrations/20230405072302 b/db/schema_migrations/20230405072302
deleted file mode 100644
index cfa7bf7f1754e..0000000000000
--- a/db/schema_migrations/20230405072302
+++ /dev/null
@@ -1 +0,0 @@
-d93a103c002a536d11f75256f20e2b8708ec760286f65d89ab5abe446fe629d4
\ No newline at end of file
diff --git a/db/schema_migrations/20230405094230 b/db/schema_migrations/20230405094230
deleted file mode 100644
index 2af4c0d876f08..0000000000000
--- a/db/schema_migrations/20230405094230
+++ /dev/null
@@ -1 +0,0 @@
-6b9ded39763a59b0047e256b9283084b4f05dbca46de85e7c8bb6c7d44d96d23
\ No newline at end of file
diff --git a/db/schema_migrations/20230405102815 b/db/schema_migrations/20230405102815
deleted file mode 100644
index a5c8f90fe6b22..0000000000000
--- a/db/schema_migrations/20230405102815
+++ /dev/null
@@ -1 +0,0 @@
-60ae9405a4d4f4c41abc0b6b29c557701ae10957622297d093c70fade32e2863
\ No newline at end of file
diff --git a/db/schema_migrations/20230405132104 b/db/schema_migrations/20230405132104
deleted file mode 100644
index e8d9bd7ded758..0000000000000
--- a/db/schema_migrations/20230405132104
+++ /dev/null
@@ -1 +0,0 @@
-eae464c7583b909d975c379d196b7ae5301580f7195907a476ca1a146d8cb6b1
\ No newline at end of file
diff --git a/db/schema_migrations/20230405132855 b/db/schema_migrations/20230405132855
deleted file mode 100644
index 209578a8ed4f7..0000000000000
--- a/db/schema_migrations/20230405132855
+++ /dev/null
@@ -1 +0,0 @@
-a7928284883d79b1204bb39a2a2d34b173771ce6dc484cefdb1c7ec3e9e9477a
\ No newline at end of file
diff --git a/db/schema_migrations/20230405200858 b/db/schema_migrations/20230405200858
deleted file mode 100644
index 185155ed4d887..0000000000000
--- a/db/schema_migrations/20230405200858
+++ /dev/null
@@ -1 +0,0 @@
-640e7ea2a9b2e90eff427680e5a6e2a2def9b7832a48b7b877f3aa75d8810fd3
\ No newline at end of file
diff --git a/db/schema_migrations/20230406040908 b/db/schema_migrations/20230406040908
deleted file mode 100644
index e5ca15fe7e632..0000000000000
--- a/db/schema_migrations/20230406040908
+++ /dev/null
@@ -1 +0,0 @@
-33c9561c8f21f756095ff7396b78bf78bd7f41e18e508c89b759d367d5e920ba
\ No newline at end of file
diff --git a/db/schema_migrations/20230406041555 b/db/schema_migrations/20230406041555
deleted file mode 100644
index cede3b1d25eeb..0000000000000
--- a/db/schema_migrations/20230406041555
+++ /dev/null
@@ -1 +0,0 @@
-75a2776017e8d2c015021ca056c09d2b5f7776f6443c59d1bd164519575c05ba
\ No newline at end of file
diff --git a/db/schema_migrations/20230406041629 b/db/schema_migrations/20230406041629
deleted file mode 100644
index 0d77ae52a2435..0000000000000
--- a/db/schema_migrations/20230406041629
+++ /dev/null
@@ -1 +0,0 @@
-e1726eb5b20b230f4b37ef56e0f3dd512bdcea3e67a9ba5a1725363bb17b79e6
\ No newline at end of file
diff --git a/db/schema_migrations/20230406042906 b/db/schema_migrations/20230406042906
deleted file mode 100644
index a32d144741b7a..0000000000000
--- a/db/schema_migrations/20230406042906
+++ /dev/null
@@ -1 +0,0 @@
-b6608c1bd719c6fcfe701b11737ebfa7a8db8da795a0037d08bb7adc0c9b40e2
\ No newline at end of file
diff --git a/db/schema_migrations/20230406043900 b/db/schema_migrations/20230406043900
deleted file mode 100644
index e41be92952292..0000000000000
--- a/db/schema_migrations/20230406043900
+++ /dev/null
@@ -1 +0,0 @@
-83c9ff25c312bd1c11e9be4fc8da12f89ec72174a0b303513899ee2fcd18e4d3
\ No newline at end of file
diff --git a/db/schema_migrations/20230406060452 b/db/schema_migrations/20230406060452
deleted file mode 100644
index ee6e212a27b6e..0000000000000
--- a/db/schema_migrations/20230406060452
+++ /dev/null
@@ -1 +0,0 @@
-95bad3e986fc44b20460c3e88b5195be1aa461e4a1e7d8427e9f731bca090f5c
\ No newline at end of file
diff --git a/db/schema_migrations/20230406073847 b/db/schema_migrations/20230406073847
deleted file mode 100644
index 8c854a9350c6a..0000000000000
--- a/db/schema_migrations/20230406073847
+++ /dev/null
@@ -1 +0,0 @@
-58b22a8ed1ea4f21b8a3b42ffdf4853c111d8c462ffbd97d5f7080e2c0587473
\ No newline at end of file
diff --git a/db/schema_migrations/20230406093640 b/db/schema_migrations/20230406093640
deleted file mode 100644
index 3bc9003b2fae8..0000000000000
--- a/db/schema_migrations/20230406093640
+++ /dev/null
@@ -1 +0,0 @@
-a49416e1b59ffb29bf2015c96e6bdf92428036862102fbbfa63284cc1da53c82
\ No newline at end of file
diff --git a/db/schema_migrations/20230406095544 b/db/schema_migrations/20230406095544
deleted file mode 100644
index 56e891d65dbe6..0000000000000
--- a/db/schema_migrations/20230406095544
+++ /dev/null
@@ -1 +0,0 @@
-3774f65f475364f3748502b035bdb3d18db0588a0f3ed45ca19cc5492ce754df
\ No newline at end of file
diff --git a/db/schema_migrations/20230406115900 b/db/schema_migrations/20230406115900
deleted file mode 100644
index 38fa9134dacea..0000000000000
--- a/db/schema_migrations/20230406115900
+++ /dev/null
@@ -1 +0,0 @@
-85cf98db148785c25a6ed472a300f5967aea916ef9b937d78bff90e33905886f
\ No newline at end of file
diff --git a/db/schema_migrations/20230406121544 b/db/schema_migrations/20230406121544
deleted file mode 100644
index 3039b8b297f65..0000000000000
--- a/db/schema_migrations/20230406121544
+++ /dev/null
@@ -1 +0,0 @@
-62541ed3a4cd0d62c227c29403d9685bec1779226a00c9c96c13352eed10f1b4
\ No newline at end of file
diff --git a/db/schema_migrations/20230406134436 b/db/schema_migrations/20230406134436
deleted file mode 100644
index 17d51bba6ce68..0000000000000
--- a/db/schema_migrations/20230406134436
+++ /dev/null
@@ -1 +0,0 @@
-3b7a512959c9d109ee4b454693ebfafed624869c82fa64d92b3f780165e91feb
\ No newline at end of file
diff --git a/db/schema_migrations/20230406150254 b/db/schema_migrations/20230406150254
deleted file mode 100644
index 3e3463a76f93f..0000000000000
--- a/db/schema_migrations/20230406150254
+++ /dev/null
@@ -1 +0,0 @@
-2b8aea677f295a0ab8f5ca9fbe7162156a06de89bd30ab5b252eb4460bcc7a2e
\ No newline at end of file
diff --git a/db/schema_migrations/20230406150354 b/db/schema_migrations/20230406150354
deleted file mode 100644
index 484af1e53ad81..0000000000000
--- a/db/schema_migrations/20230406150354
+++ /dev/null
@@ -1 +0,0 @@
-2f1ef88ab1731b20821a86a74006ed0856d3c7baa5e197f72410aedb15cb2894
\ No newline at end of file
diff --git a/db/schema_migrations/20230406150454 b/db/schema_migrations/20230406150454
deleted file mode 100644
index f7237bd5ef27d..0000000000000
--- a/db/schema_migrations/20230406150454
+++ /dev/null
@@ -1 +0,0 @@
-9966f807ce21016777a87d437355241cd8e5cacf2ccd143258ef0446e6f26e93
\ No newline at end of file
diff --git a/db/schema_migrations/20230407164616 b/db/schema_migrations/20230407164616
deleted file mode 100644
index 94a275ef9c21c..0000000000000
--- a/db/schema_migrations/20230407164616
+++ /dev/null
@@ -1 +0,0 @@
-ffc795945693f4856bd10224788ceb8305227ec296223c450af75a26a11f4811
\ No newline at end of file
diff --git a/db/schema_migrations/20230410092450 b/db/schema_migrations/20230410092450
deleted file mode 100644
index 1b7b88026f548..0000000000000
--- a/db/schema_migrations/20230410092450
+++ /dev/null
@@ -1 +0,0 @@
-3a2c45579f8f566a2224afcab84b9f403e49379603e164f141a4dc89b5f4b512
\ No newline at end of file
diff --git a/db/schema_migrations/20230410111251 b/db/schema_migrations/20230410111251
deleted file mode 100644
index 37a559a91e79c..0000000000000
--- a/db/schema_migrations/20230410111251
+++ /dev/null
@@ -1 +0,0 @@
-4955274e8f504af6e06432bd195e64eb6c520118a50f7da19af2fcf5872459cf
\ No newline at end of file
diff --git a/db/schema_migrations/20230410123709 b/db/schema_migrations/20230410123709
deleted file mode 100644
index 2cf17b397ddf9..0000000000000
--- a/db/schema_migrations/20230410123709
+++ /dev/null
@@ -1 +0,0 @@
-d1e5678ea93b5b8f5d76b0332e79934badbaa84546754b66916bb2816cfaf307
\ No newline at end of file
diff --git a/db/schema_migrations/20230411011959 b/db/schema_migrations/20230411011959
deleted file mode 100644
index 830774fc02973..0000000000000
--- a/db/schema_migrations/20230411011959
+++ /dev/null
@@ -1 +0,0 @@
-31e8f1f8d65ea821efb158bd59657776de54ecbd5e10d3a64c5afe37706c5388
\ No newline at end of file
diff --git a/db/schema_migrations/20230411153310 b/db/schema_migrations/20230411153310
deleted file mode 100644
index 14f317ccf08c0..0000000000000
--- a/db/schema_migrations/20230411153310
+++ /dev/null
@@ -1 +0,0 @@
-f4472433ac5b74296409a04790d64ed56551358c98428ebb2e5f15d2f3e2db31
\ No newline at end of file
diff --git a/db/schema_migrations/20230411171001 b/db/schema_migrations/20230411171001
deleted file mode 100644
index 59b8c273f198e..0000000000000
--- a/db/schema_migrations/20230411171001
+++ /dev/null
@@ -1 +0,0 @@
-7182fb09394b77f01346e68b104a5a8814f48fd63e763207f1b983faae10d805
\ No newline at end of file
diff --git a/db/schema_migrations/20230411205121 b/db/schema_migrations/20230411205121
deleted file mode 100644
index b90bda11c27ff..0000000000000
--- a/db/schema_migrations/20230411205121
+++ /dev/null
@@ -1 +0,0 @@
-cb1766c3c3b6604353dfcb774b8b4f3fe65dac10d15312785855153769ac6fe0
\ No newline at end of file
diff --git a/db/schema_migrations/20230412013251 b/db/schema_migrations/20230412013251
deleted file mode 100644
index 82f226a482de6..0000000000000
--- a/db/schema_migrations/20230412013251
+++ /dev/null
@@ -1 +0,0 @@
-d81ed136179bbc28a6b8048de34674ced7c0ffa891a0045b108f891979bbc46c
\ No newline at end of file
diff --git a/db/schema_migrations/20230412073614 b/db/schema_migrations/20230412073614
deleted file mode 100644
index bb6ac60b05111..0000000000000
--- a/db/schema_migrations/20230412073614
+++ /dev/null
@@ -1 +0,0 @@
-984ebbfc7a8f6ba62715da2fe5ff46ab4030eb17baff69e82f56d1596c6f2e31
\ No newline at end of file
diff --git a/db/schema_migrations/20230412080242 b/db/schema_migrations/20230412080242
deleted file mode 100644
index a19a1b31b40f5..0000000000000
--- a/db/schema_migrations/20230412080242
+++ /dev/null
@@ -1 +0,0 @@
-fabf026dac1c69b291895dcc047bb03baf31376f72d289d798d537da1b4ac53a
\ No newline at end of file
diff --git a/db/schema_migrations/20230412104514 b/db/schema_migrations/20230412104514
deleted file mode 100644
index 50c4a36e7905f..0000000000000
--- a/db/schema_migrations/20230412104514
+++ /dev/null
@@ -1 +0,0 @@
-5a1245d37e10d03320a3cd8afda34226e54c6f6641c3abedfcb1333ea6ed69a0
\ No newline at end of file
diff --git a/db/schema_migrations/20230412141541 b/db/schema_migrations/20230412141541
deleted file mode 100644
index 5ad6e38d98b94..0000000000000
--- a/db/schema_migrations/20230412141541
+++ /dev/null
@@ -1 +0,0 @@
-777065413e8eb5605037885fb1a38c74b1f464733afb2718380f081edb9ab8a8
\ No newline at end of file
diff --git a/db/schema_migrations/20230412151659 b/db/schema_migrations/20230412151659
deleted file mode 100644
index 96c304452d87d..0000000000000
--- a/db/schema_migrations/20230412151659
+++ /dev/null
@@ -1 +0,0 @@
-dccf257ed6a503983fe54f8e06d37e4a64906e1dc9f7e970fdfab77f13eebedb
\ No newline at end of file
diff --git a/db/schema_migrations/20230412152538 b/db/schema_migrations/20230412152538
deleted file mode 100644
index 74f27a94bb571..0000000000000
--- a/db/schema_migrations/20230412152538
+++ /dev/null
@@ -1 +0,0 @@
-82f54822df6794347ba83f4c1a78540b7eb47c2deb059de143cd9a5b77f47f1f
\ No newline at end of file
diff --git a/db/schema_migrations/20230412185837 b/db/schema_migrations/20230412185837
deleted file mode 100644
index d4c425e68facd..0000000000000
--- a/db/schema_migrations/20230412185837
+++ /dev/null
@@ -1 +0,0 @@
-f9c342816a6c656b1c13b8e9d0a771c1ee6a9847c03a76577c662f9cf238ad03
\ No newline at end of file
diff --git a/db/schema_migrations/20230412185920 b/db/schema_migrations/20230412185920
deleted file mode 100644
index 4609cd6d2bf37..0000000000000
--- a/db/schema_migrations/20230412185920
+++ /dev/null
@@ -1 +0,0 @@
-772e42722b07397934795164c2587e44ed4c0552d5c07eb8d867e66ee6795c65
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201517 b/db/schema_migrations/20230412201517
deleted file mode 100644
index 8ecf8e9b941c2..0000000000000
--- a/db/schema_migrations/20230412201517
+++ /dev/null
@@ -1 +0,0 @@
-4719d78fb3b9b2ec197edfbc4e0f7d4e79b1ecb4e71e1c01a2f7c966e2d0aef1
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201528 b/db/schema_migrations/20230412201528
deleted file mode 100644
index 23631545870e1..0000000000000
--- a/db/schema_migrations/20230412201528
+++ /dev/null
@@ -1 +0,0 @@
-f98482c919a5a5ffc6284b4fe81d39d4ae46afc2c0bacb7e726425ee6f187bd7
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201539 b/db/schema_migrations/20230412201539
deleted file mode 100644
index d1f9056904c43..0000000000000
--- a/db/schema_migrations/20230412201539
+++ /dev/null
@@ -1 +0,0 @@
-8c05ce2cfd9d56e89035a74b4f86c4a96e00e804a4ab6710e9f8b5f878f49356
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201549 b/db/schema_migrations/20230412201549
deleted file mode 100644
index 84b0b0ebca514..0000000000000
--- a/db/schema_migrations/20230412201549
+++ /dev/null
@@ -1 +0,0 @@
-099cdc51e234b92894828e9f736ce557ae5102bf7b7b56014c31d4cf8ee97f37
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201600 b/db/schema_migrations/20230412201600
deleted file mode 100644
index 990a49c26a438..0000000000000
--- a/db/schema_migrations/20230412201600
+++ /dev/null
@@ -1 +0,0 @@
-271b199deb4ce20c30fa5fb0b07d5dea8819f79a8bf9dac0eba3121ae980d614
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201611 b/db/schema_migrations/20230412201611
deleted file mode 100644
index 1fd41d259bec1..0000000000000
--- a/db/schema_migrations/20230412201611
+++ /dev/null
@@ -1 +0,0 @@
-2ed349b5aee1df4644e16df2fecc247108585ea7c49989ed2c0812be48d5be1c
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201621 b/db/schema_migrations/20230412201621
deleted file mode 100644
index accd8b360217c..0000000000000
--- a/db/schema_migrations/20230412201621
+++ /dev/null
@@ -1 +0,0 @@
-857a60f6916c045790dca8621c69601dbfb07f7524b8cdb6df6ac8a34ee1782b
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201632 b/db/schema_migrations/20230412201632
deleted file mode 100644
index 1d72fb6b1aa32..0000000000000
--- a/db/schema_migrations/20230412201632
+++ /dev/null
@@ -1 +0,0 @@
-2c20678f0e73f75706eb3e3b3115b38f3c313ccb77f2fdb7bd5ebc971c8093ef
\ No newline at end of file
diff --git a/db/schema_migrations/20230412201642 b/db/schema_migrations/20230412201642
deleted file mode 100644
index 743d67ab0e337..0000000000000
--- a/db/schema_migrations/20230412201642
+++ /dev/null
@@ -1 +0,0 @@
-c4b1137f6d3a111c230ad7f6d0d29c64d919daa6a8628e945152d12c15c421fb
\ No newline at end of file
diff --git a/db/schema_migrations/20230412203234 b/db/schema_migrations/20230412203234
deleted file mode 100644
index 8ab84c8424f2a..0000000000000
--- a/db/schema_migrations/20230412203234
+++ /dev/null
@@ -1 +0,0 @@
-4e5758e3112cad9b5a243b0123c365869b3d7a0de4800d0e0672ae82f71b8053
\ No newline at end of file
diff --git a/db/schema_migrations/20230412204143 b/db/schema_migrations/20230412204143
deleted file mode 100644
index b59f406ebbe1e..0000000000000
--- a/db/schema_migrations/20230412204143
+++ /dev/null
@@ -1 +0,0 @@
-12acd41d0550fcf363d3db4a093b64465d59004cbb07bfa0da073f0d7c4acf52
\ No newline at end of file
diff --git a/db/schema_migrations/20230412204201 b/db/schema_migrations/20230412204201
deleted file mode 100644
index 12f879042ac66..0000000000000
--- a/db/schema_migrations/20230412204201
+++ /dev/null
@@ -1 +0,0 @@
-f9466af9e29ae09542c1bd64cae923ed34f079d405a35704e55d01456eb6a519
\ No newline at end of file
diff --git a/db/schema_migrations/20230412204224 b/db/schema_migrations/20230412204224
deleted file mode 100644
index 026b02e1cbd9e..0000000000000
--- a/db/schema_migrations/20230412204224
+++ /dev/null
@@ -1 +0,0 @@
-e2e596b67adcca6ccf0b714aafdadaffded1d11c1fc043aa13d9499552c37433
\ No newline at end of file
diff --git a/db/schema_migrations/20230412214119 b/db/schema_migrations/20230412214119
deleted file mode 100644
index 80a8f21a96059..0000000000000
--- a/db/schema_migrations/20230412214119
+++ /dev/null
@@ -1 +0,0 @@
-aac6aa036a97fa8331983085d8afad2dd870c80a687f6c0ed09476e438e15e76
\ No newline at end of file
diff --git a/db/schema_migrations/20230413012807 b/db/schema_migrations/20230413012807
deleted file mode 100644
index bfb25c1bc6325..0000000000000
--- a/db/schema_migrations/20230413012807
+++ /dev/null
@@ -1 +0,0 @@
-7bf75dca15fcf1a73a9d201968ab85eb18983d1921a5bf7d0661083137de40c9
\ No newline at end of file
diff --git a/db/schema_migrations/20230413041917 b/db/schema_migrations/20230413041917
deleted file mode 100644
index f4c1f05a565ee..0000000000000
--- a/db/schema_migrations/20230413041917
+++ /dev/null
@@ -1 +0,0 @@
-c359118e94c992bd19d8f0bd10f702bc117c944663a1f84f3d678bada242c09d
\ No newline at end of file
diff --git a/db/schema_migrations/20230413041918 b/db/schema_migrations/20230413041918
deleted file mode 100644
index 373b9cfa66a71..0000000000000
--- a/db/schema_migrations/20230413041918
+++ /dev/null
@@ -1 +0,0 @@
-86b631d6511154139835d508b4f694c604b0d6c12d553d107e4c206f034b8453
\ No newline at end of file
diff --git a/db/schema_migrations/20230413041919 b/db/schema_migrations/20230413041919
deleted file mode 100644
index 6376268aaabe9..0000000000000
--- a/db/schema_migrations/20230413041919
+++ /dev/null
@@ -1 +0,0 @@
-8e05119e15d3a547db7844697ae5cbfc4760a4f329320acc8519a3ba9271ff29
\ No newline at end of file
diff --git a/db/schema_migrations/20230413041920 b/db/schema_migrations/20230413041920
deleted file mode 100644
index c2f9dd23919ea..0000000000000
--- a/db/schema_migrations/20230413041920
+++ /dev/null
@@ -1 +0,0 @@
-aebd6315b218f36b524d856dee5ce82d838693f689124b181fa6242dda1f80fc
\ No newline at end of file
diff --git a/db/schema_migrations/20230413080906 b/db/schema_migrations/20230413080906
deleted file mode 100644
index 20037d0f314e0..0000000000000
--- a/db/schema_migrations/20230413080906
+++ /dev/null
@@ -1 +0,0 @@
-44c6a5d0a7e3083dd5bf0afcfeff9cbd1061a3bb444504d11c44c38adeb75123
\ No newline at end of file
diff --git a/db/schema_migrations/20230413080918 b/db/schema_migrations/20230413080918
deleted file mode 100644
index 866d0a817bc38..0000000000000
--- a/db/schema_migrations/20230413080918
+++ /dev/null
@@ -1 +0,0 @@
-38e2f3cf25cc09d9f396de1fa0d299bde55daeb59c98d886df02db1d337a452f
\ No newline at end of file
diff --git a/db/schema_migrations/20230413153140 b/db/schema_migrations/20230413153140
deleted file mode 100644
index 97af4a6962f84..0000000000000
--- a/db/schema_migrations/20230413153140
+++ /dev/null
@@ -1 +0,0 @@
-e78e74c9c068235ede55859b56bea671d9da5c3e74ac315e1b9391b6eef2649b
\ No newline at end of file
diff --git a/db/schema_migrations/20230414075119 b/db/schema_migrations/20230414075119
deleted file mode 100644
index 9c062a74af0a7..0000000000000
--- a/db/schema_migrations/20230414075119
+++ /dev/null
@@ -1 +0,0 @@
-be2246a2d36d87793007f1a0cf3eddface8de605eee40a93ba3985d26e6b924b
\ No newline at end of file
diff --git a/db/schema_migrations/20230414140202 b/db/schema_migrations/20230414140202
deleted file mode 100644
index 6e50edaa549ba..0000000000000
--- a/db/schema_migrations/20230414140202
+++ /dev/null
@@ -1 +0,0 @@
-253faa0063e11decde1c0aacc1c15cbf3035e533934a6cd1d3da46e5a4a4eae4
\ No newline at end of file
diff --git a/db/schema_migrations/20230414150202 b/db/schema_migrations/20230414150202
deleted file mode 100644
index 43065106a98b7..0000000000000
--- a/db/schema_migrations/20230414150202
+++ /dev/null
@@ -1 +0,0 @@
-827358117f7eb0d16f99350186bff641ecf88f37b1cd46551173e3eef76cb474
\ No newline at end of file
diff --git a/db/schema_migrations/20230414190012 b/db/schema_migrations/20230414190012
deleted file mode 100644
index 5973075344e88..0000000000000
--- a/db/schema_migrations/20230414190012
+++ /dev/null
@@ -1 +0,0 @@
-0202a3aa13d7d9c47fdd33f9029900ed5a81b37efccceee532565d2b31499e61
\ No newline at end of file
diff --git a/db/schema_migrations/20230414200202 b/db/schema_migrations/20230414200202
deleted file mode 100644
index 7a68c986f94af..0000000000000
--- a/db/schema_migrations/20230414200202
+++ /dev/null
@@ -1 +0,0 @@
-1e7e465343930dd14d3fa98aeababa836db03e70de81f0bc97bbab46409d2712
\ No newline at end of file
diff --git a/db/schema_migrations/20230414230535 b/db/schema_migrations/20230414230535
deleted file mode 100644
index 388c5343f4ba0..0000000000000
--- a/db/schema_migrations/20230414230535
+++ /dev/null
@@ -1 +0,0 @@
-36c538abaeb4239d5cc0424ebe2ac2f01c427d4acdfaf849f181d066f658899e
\ No newline at end of file
diff --git a/db/schema_migrations/20230417145900 b/db/schema_migrations/20230417145900
deleted file mode 100644
index ef7b1361f3718..0000000000000
--- a/db/schema_migrations/20230417145900
+++ /dev/null
@@ -1 +0,0 @@
-18b05ed9e90eeee98f7e9f00cbe18f510bec13f78cf17dc4f7d78c53d024d8cb
\ No newline at end of file
diff --git a/db/schema_migrations/20230418154454 b/db/schema_migrations/20230418154454
deleted file mode 100644
index 5607349f86f24..0000000000000
--- a/db/schema_migrations/20230418154454
+++ /dev/null
@@ -1 +0,0 @@
-bd0a4ebd07f8d3f5741840bb60073f54a37ee23498266c65725f15d576b3f748
\ No newline at end of file
diff --git a/db/schema_migrations/20230418164957 b/db/schema_migrations/20230418164957
deleted file mode 100644
index e7fa549aba461..0000000000000
--- a/db/schema_migrations/20230418164957
+++ /dev/null
@@ -1 +0,0 @@
-80eb5db3db246ff6b2b857252cee05049cc0f7c09d0487175cfa90eeaf93f20c
\ No newline at end of file
diff --git a/db/schema_migrations/20230418183540 b/db/schema_migrations/20230418183540
deleted file mode 100644
index dc40376098bd1..0000000000000
--- a/db/schema_migrations/20230418183540
+++ /dev/null
@@ -1 +0,0 @@
-febd4b1827b82705c737b8f0567a8d337d11735f97c3f43b8360bd8fccaae3e4
\ No newline at end of file
diff --git a/db/schema_migrations/20230418215853 b/db/schema_migrations/20230418215853
deleted file mode 100644
index dec4ae4650e55..0000000000000
--- a/db/schema_migrations/20230418215853
+++ /dev/null
@@ -1 +0,0 @@
-84a104a3d1004e8a4695f309d2154ca3b74f865c02a111fd2f6d352daad065ff
\ No newline at end of file
diff --git a/db/schema_migrations/20230419010332 b/db/schema_migrations/20230419010332
deleted file mode 100644
index ab1fdc390792f..0000000000000
--- a/db/schema_migrations/20230419010332
+++ /dev/null
@@ -1 +0,0 @@
-440922ff7763edaa21e1ceaa435929f5c181d25bfd712f9f4b67792cc59d58d6
\ No newline at end of file
diff --git a/db/schema_migrations/20230419010551 b/db/schema_migrations/20230419010551
deleted file mode 100644
index e3bca4b4efa08..0000000000000
--- a/db/schema_migrations/20230419010551
+++ /dev/null
@@ -1 +0,0 @@
-2bf372259e17947046aa63889975a4051395785dfa27092e55f1e3541984fa74
\ No newline at end of file
diff --git a/db/schema_migrations/20230419012426 b/db/schema_migrations/20230419012426
deleted file mode 100644
index 335247d13c262..0000000000000
--- a/db/schema_migrations/20230419012426
+++ /dev/null
@@ -1 +0,0 @@
-108adc46f0e9e05912325e8fbd7d32d35d80257e55c370d782640c06c7737030
\ No newline at end of file
diff --git a/db/schema_migrations/20230419012621 b/db/schema_migrations/20230419012621
deleted file mode 100644
index de5f54ac3c111..0000000000000
--- a/db/schema_migrations/20230419012621
+++ /dev/null
@@ -1 +0,0 @@
-0a8b81bdb20958c543322578cb0955a212319d272338f3064ee8d5a493282c24
\ No newline at end of file
diff --git a/db/schema_migrations/20230419094535 b/db/schema_migrations/20230419094535
deleted file mode 100644
index 7df3afa8a1727..0000000000000
--- a/db/schema_migrations/20230419094535
+++ /dev/null
@@ -1 +0,0 @@
-09e9e754b83635abe717fa686b13488f965ae9678f74e0a47e802941d3501d5a
\ No newline at end of file
diff --git a/db/schema_migrations/20230419094939 b/db/schema_migrations/20230419094939
deleted file mode 100644
index 643e94129a278..0000000000000
--- a/db/schema_migrations/20230419094939
+++ /dev/null
@@ -1 +0,0 @@
-a0e01b39610c5c307e34a5215ce4aa47a24fc0f5cff62ebef13172ef6761198b
\ No newline at end of file
diff --git a/db/schema_migrations/20230419105225 b/db/schema_migrations/20230419105225
deleted file mode 100644
index 96eaf04f7be36..0000000000000
--- a/db/schema_migrations/20230419105225
+++ /dev/null
@@ -1 +0,0 @@
-c8e606b6e85bee317017cb15bd9d4249378b4d2b9225fb493e85086063f0f23d
\ No newline at end of file
diff --git a/db/schema_migrations/20230419121943 b/db/schema_migrations/20230419121943
deleted file mode 100644
index 255098a54117d..0000000000000
--- a/db/schema_migrations/20230419121943
+++ /dev/null
@@ -1 +0,0 @@
-101dac198ed6204b5b74f809765d2a7f1907907fdfcfbe579989b8fcf61610c0
\ No newline at end of file
diff --git a/db/schema_migrations/20230419130952 b/db/schema_migrations/20230419130952
deleted file mode 100644
index fe1a371aad9ca..0000000000000
--- a/db/schema_migrations/20230419130952
+++ /dev/null
@@ -1 +0,0 @@
-1172667d682c57cae72696030f3e5f58a57f5c71244190785a02c07e065173c6
\ No newline at end of file
diff --git a/db/schema_migrations/20230419164438 b/db/schema_migrations/20230419164438
deleted file mode 100644
index 56881cd904ae3..0000000000000
--- a/db/schema_migrations/20230419164438
+++ /dev/null
@@ -1 +0,0 @@
-859bc13b517efd3020d6192486e94fd9430387872fb01df77e43551c2a691fe6
\ No newline at end of file
diff --git a/db/schema_migrations/20230419192748 b/db/schema_migrations/20230419192748
deleted file mode 100644
index 4cf603ce39ca7..0000000000000
--- a/db/schema_migrations/20230419192748
+++ /dev/null
@@ -1 +0,0 @@
-732417f422b8f73df9e7a56ce7690ba8cc6a87b5e773fa356a0a50ed72dcace2
\ No newline at end of file
diff --git a/db/schema_migrations/20230419193807 b/db/schema_migrations/20230419193807
deleted file mode 100644
index 180d5b0d1478a..0000000000000
--- a/db/schema_migrations/20230419193807
+++ /dev/null
@@ -1 +0,0 @@
-26904715659fd8d5bf3bf912781c9ae1cb61e8c990b46f12228aabdeb4f26ce7
\ No newline at end of file
diff --git a/db/schema_migrations/20230420002547 b/db/schema_migrations/20230420002547
deleted file mode 100644
index 3631fb2e72d2d..0000000000000
--- a/db/schema_migrations/20230420002547
+++ /dev/null
@@ -1 +0,0 @@
-a2f9f863a50f908e67e35f2b3f73ba7b228ed74ea0efe67425bd9c266c94a84c
\ No newline at end of file
diff --git a/db/schema_migrations/20230420005610 b/db/schema_migrations/20230420005610
deleted file mode 100644
index c78a155b95eb4..0000000000000
--- a/db/schema_migrations/20230420005610
+++ /dev/null
@@ -1 +0,0 @@
-0600ca21c065ed0ec4a9bf8904fce64b7901d5f3960ebd1d7e50833d6024d71f
\ No newline at end of file
diff --git a/db/schema_migrations/20230420005930 b/db/schema_migrations/20230420005930
deleted file mode 100644
index ec88e4ad94a75..0000000000000
--- a/db/schema_migrations/20230420005930
+++ /dev/null
@@ -1 +0,0 @@
-bfb2f8193f033172d8cbc7edd046d5921fb2c3a5992b00b451f495ad90c60325
\ No newline at end of file
diff --git a/db/schema_migrations/20230420012220 b/db/schema_migrations/20230420012220
deleted file mode 100644
index 56a78b90585d9..0000000000000
--- a/db/schema_migrations/20230420012220
+++ /dev/null
@@ -1 +0,0 @@
-c6897ef9e8c57b2b0dc8c94c0b2b9311996528b8f88bbf9b6a955de5d5c5120f
\ No newline at end of file
diff --git a/db/schema_migrations/20230420040912 b/db/schema_migrations/20230420040912
deleted file mode 100644
index ceda1cc651d97..0000000000000
--- a/db/schema_migrations/20230420040912
+++ /dev/null
@@ -1 +0,0 @@
-5c83e4c7cb2a022b94b2ea6dd33d1fdb771e69b106c2643c21d454cd7c9c6caf
\ No newline at end of file
diff --git a/db/schema_migrations/20230420041344 b/db/schema_migrations/20230420041344
deleted file mode 100644
index d172aa22c8179..0000000000000
--- a/db/schema_migrations/20230420041344
+++ /dev/null
@@ -1 +0,0 @@
-4097ee7ac8f0e017fee16b63d186fb1d132128c5f12e948c197933a9cd5e4e20
\ No newline at end of file
diff --git a/db/schema_migrations/20230420065656 b/db/schema_migrations/20230420065656
deleted file mode 100644
index dd89c9e19e326..0000000000000
--- a/db/schema_migrations/20230420065656
+++ /dev/null
@@ -1 +0,0 @@
-e29be6311d828a76c594cf350d5212fac9913362dd3e9b96fda6f74c50edfcdb
\ No newline at end of file
diff --git a/db/schema_migrations/20230420070009 b/db/schema_migrations/20230420070009
deleted file mode 100644
index 7dfad0f6dee27..0000000000000
--- a/db/schema_migrations/20230420070009
+++ /dev/null
@@ -1 +0,0 @@
-74b9c628c09856c3285452be85a853103e7b7860d1e33df664bdcae927f690d1
\ No newline at end of file
diff --git a/db/schema_migrations/20230420115733 b/db/schema_migrations/20230420115733
deleted file mode 100644
index cac0ef60f61ad..0000000000000
--- a/db/schema_migrations/20230420115733
+++ /dev/null
@@ -1 +0,0 @@
-d59b8bdea46ede31ff3d66d5aa18f4efb3afc216b13392b27214d7b609695da8
\ No newline at end of file
diff --git a/db/schema_migrations/20230420120431 b/db/schema_migrations/20230420120431
deleted file mode 100644
index d3c041ba0e3c3..0000000000000
--- a/db/schema_migrations/20230420120431
+++ /dev/null
@@ -1 +0,0 @@
-33961f47238c49d09b748df67c89f9069db10e90e598ea1c0da3dd99bc6dc427
\ No newline at end of file
diff --git a/db/schema_migrations/20230420131608 b/db/schema_migrations/20230420131608
deleted file mode 100644
index 0219d0a5960f5..0000000000000
--- a/db/schema_migrations/20230420131608
+++ /dev/null
@@ -1 +0,0 @@
-91967e2d402dba78ae04cdfe27b0ad68e582b8daf23dd252ee8087f82ad3f39f
\ No newline at end of file
diff --git a/db/schema_migrations/20230420132910 b/db/schema_migrations/20230420132910
deleted file mode 100644
index 8b2e9e1f127ba..0000000000000
--- a/db/schema_migrations/20230420132910
+++ /dev/null
@@ -1 +0,0 @@
-41063f964b7dfe641b0123e8c73277fca518ebf833d5301465df5b584ba73042
\ No newline at end of file
diff --git a/db/schema_migrations/20230420144418 b/db/schema_migrations/20230420144418
deleted file mode 100644
index 77795e4c831d0..0000000000000
--- a/db/schema_migrations/20230420144418
+++ /dev/null
@@ -1 +0,0 @@
-a9dd9e623e54ddf68711f5c22f0480f39b5b433a87d0d3232bad02530d80e8af
\ No newline at end of file
diff --git a/db/schema_migrations/20230421035557 b/db/schema_migrations/20230421035557
deleted file mode 100644
index 5e4f51509bedb..0000000000000
--- a/db/schema_migrations/20230421035557
+++ /dev/null
@@ -1 +0,0 @@
-d685a5657a16728099225cb8f1545e09b317dc1608521d5df1272160cce46ddc
\ No newline at end of file
diff --git a/db/schema_migrations/20230421081907 b/db/schema_migrations/20230421081907
deleted file mode 100644
index 19e2fb92fb1b7..0000000000000
--- a/db/schema_migrations/20230421081907
+++ /dev/null
@@ -1 +0,0 @@
-4291223fe8e407a9273db25c92e951bd1996382285d6ba9ce41f311d87ebfffa
\ No newline at end of file
diff --git a/db/schema_migrations/20230421124302 b/db/schema_migrations/20230421124302
deleted file mode 100644
index 0cbe24b1e6dc7..0000000000000
--- a/db/schema_migrations/20230421124302
+++ /dev/null
@@ -1 +0,0 @@
-3d8630d52fa7998ffd4775d0e070e778c8317416b241fd6a5149188ca7d2ff35
\ No newline at end of file
diff --git a/db/schema_migrations/20230421165020 b/db/schema_migrations/20230421165020
deleted file mode 100644
index a1121e3f83df1..0000000000000
--- a/db/schema_migrations/20230421165020
+++ /dev/null
@@ -1 +0,0 @@
-1e33e8da1f2f10f976e19bcf234f7ac5bdcc0eed7d60288ead2eaf87dfd678c9
\ No newline at end of file
diff --git a/db/schema_migrations/20230422013640 b/db/schema_migrations/20230422013640
deleted file mode 100644
index 7a26cccb40933..0000000000000
--- a/db/schema_migrations/20230422013640
+++ /dev/null
@@ -1 +0,0 @@
-4bc5d5e45c6624f0931a45e2515219bd0a89a16eb55e87763366954dec214e46
\ No newline at end of file
diff --git a/db/schema_migrations/20230424094117 b/db/schema_migrations/20230424094117
deleted file mode 100644
index 3e0002ddd6b58..0000000000000
--- a/db/schema_migrations/20230424094117
+++ /dev/null
@@ -1 +0,0 @@
-e69855d9b788edb799158a839917e5320461891be3a0bd1799e46827e36bdaab
\ No newline at end of file
diff --git a/db/schema_migrations/20230424122236 b/db/schema_migrations/20230424122236
deleted file mode 100644
index 122f038a27ea2..0000000000000
--- a/db/schema_migrations/20230424122236
+++ /dev/null
@@ -1 +0,0 @@
-4939508a43fee149f5d424cdd0e8487f81aa8b7e4c09b74ad78787177686f8fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230424131551 b/db/schema_migrations/20230424131551
deleted file mode 100644
index c3a97cd5eea87..0000000000000
--- a/db/schema_migrations/20230424131551
+++ /dev/null
@@ -1 +0,0 @@
-e6c9d240ceb8ec7f86485cee6b92a5cea2707bf94f8d4264c5bafd7fb812173b
\ No newline at end of file
diff --git a/db/schema_migrations/20230424155321 b/db/schema_migrations/20230424155321
deleted file mode 100644
index 0d8b21d4a4bda..0000000000000
--- a/db/schema_migrations/20230424155321
+++ /dev/null
@@ -1 +0,0 @@
-0a043de128c0a756f9f6028fb255b775ca854fb15222d04de7d7a99299b6b099
\ No newline at end of file
diff --git a/db/schema_migrations/20230424194721 b/db/schema_migrations/20230424194721
deleted file mode 100644
index da92827dfd655..0000000000000
--- a/db/schema_migrations/20230424194721
+++ /dev/null
@@ -1 +0,0 @@
-c400976f894b3d451bbf1a58e57f376cd86916680bb10623217b851a593cd4ea
\ No newline at end of file
diff --git a/db/schema_migrations/20230425101542 b/db/schema_migrations/20230425101542
deleted file mode 100644
index 9f98cee6b3ee2..0000000000000
--- a/db/schema_migrations/20230425101542
+++ /dev/null
@@ -1 +0,0 @@
-ddc00d954a8398cc7c7206fc866418c55f6066abc229e8d26892cf316ae4a219
\ No newline at end of file
diff --git a/db/schema_migrations/20230425114355 b/db/schema_migrations/20230425114355
deleted file mode 100644
index 79290404d4f91..0000000000000
--- a/db/schema_migrations/20230425114355
+++ /dev/null
@@ -1 +0,0 @@
-09de9c1e164024589169853cf4ddadb95bd69dd08f5e84a836579deead2c599c
\ No newline at end of file
diff --git a/db/schema_migrations/20230425173111 b/db/schema_migrations/20230425173111
deleted file mode 100644
index d1b86236552f0..0000000000000
--- a/db/schema_migrations/20230425173111
+++ /dev/null
@@ -1 +0,0 @@
-b1f6b1bbfdc4f2f5df1b360fdfbeffc99ca024d65a55c2a2d2fcebe1fdc90cfb
\ No newline at end of file
diff --git a/db/schema_migrations/20230425521418 b/db/schema_migrations/20230425521418
deleted file mode 100644
index 52d053b6b2350..0000000000000
--- a/db/schema_migrations/20230425521418
+++ /dev/null
@@ -1 +0,0 @@
-251e091be6b704a3bcb43d2c9a0b4123dd2ba2f9166161c1fdbe7e7ab3edc57f
\ No newline at end of file
diff --git a/db/schema_migrations/20230426030342 b/db/schema_migrations/20230426030342
deleted file mode 100644
index 08f6ed3d81a55..0000000000000
--- a/db/schema_migrations/20230426030342
+++ /dev/null
@@ -1 +0,0 @@
-54267e34c6978456efca6c784c4e4ea7541dac98a704095a9766809725021bb8
\ No newline at end of file
diff --git a/db/schema_migrations/20230426085615 b/db/schema_migrations/20230426085615
deleted file mode 100644
index a0166399442b9..0000000000000
--- a/db/schema_migrations/20230426085615
+++ /dev/null
@@ -1 +0,0 @@
-e331d6f2d5934cce0ac78862abb3eac5c0567be95b0865f5ac38299ee7e147ca
\ No newline at end of file
diff --git a/db/schema_migrations/20230426102200 b/db/schema_migrations/20230426102200
deleted file mode 100644
index c0f31f015e1fe..0000000000000
--- a/db/schema_migrations/20230426102200
+++ /dev/null
@@ -1 +0,0 @@
-81b99d212b01381866430868137e2e6a4abcb525a2be59849b2f3edd62d595b2
\ No newline at end of file
diff --git a/db/schema_migrations/20230426161259 b/db/schema_migrations/20230426161259
deleted file mode 100644
index 15cf2ef65f406..0000000000000
--- a/db/schema_migrations/20230426161259
+++ /dev/null
@@ -1 +0,0 @@
-176d8f13dc7743305a0637248aeb128e65d223d546a330869102c9d3c1714541
\ No newline at end of file
diff --git a/db/schema_migrations/20230426161341 b/db/schema_migrations/20230426161341
deleted file mode 100644
index 07b903c06e921..0000000000000
--- a/db/schema_migrations/20230426161341
+++ /dev/null
@@ -1 +0,0 @@
-9c9634937e59a27f4f3e48da2d4dc6964dee50d1b043cc9d668ec5934e7b6fff
\ No newline at end of file
diff --git a/db/schema_migrations/20230427065641 b/db/schema_migrations/20230427065641
deleted file mode 100644
index 4a202ea0bc797..0000000000000
--- a/db/schema_migrations/20230427065641
+++ /dev/null
@@ -1 +0,0 @@
-69f768f9b0eed0f81e206b819f403b3d3b9b2f16d415fcfbb4d9eafc920b55d6
\ No newline at end of file
diff --git a/db/schema_migrations/20230427065942 b/db/schema_migrations/20230427065942
deleted file mode 100644
index 6bb8571c4f4ff..0000000000000
--- a/db/schema_migrations/20230427065942
+++ /dev/null
@@ -1 +0,0 @@
-88617cc027cd260d56db9d2c44724e4ffba0b01604cb1c444ee9af2e36919cc8
\ No newline at end of file
diff --git a/db/schema_migrations/20230427094534 b/db/schema_migrations/20230427094534
deleted file mode 100644
index 344a7f476bc06..0000000000000
--- a/db/schema_migrations/20230427094534
+++ /dev/null
@@ -1 +0,0 @@
-53c1bc1774ad4d570538e5486640e9d5beef87baf0301ba89ddfca019745ac2e
\ No newline at end of file
diff --git a/db/schema_migrations/20230427190005 b/db/schema_migrations/20230427190005
deleted file mode 100644
index 514c2c9071d49..0000000000000
--- a/db/schema_migrations/20230427190005
+++ /dev/null
@@ -1 +0,0 @@
-b704051dd0fd69f22a1f33739fd8d969acd0c56e4b56c8711daf10a735bc2027
\ No newline at end of file
diff --git a/db/schema_migrations/20230427194552 b/db/schema_migrations/20230427194552
deleted file mode 100644
index 10d4b9e687e90..0000000000000
--- a/db/schema_migrations/20230427194552
+++ /dev/null
@@ -1 +0,0 @@
-e0b4dc1848c0d4c5880366861b9806f98747d5bcddc270c14c7757c4d5398819
\ No newline at end of file
diff --git a/db/schema_migrations/20230428065426 b/db/schema_migrations/20230428065426
deleted file mode 100644
index b8f0198a80776..0000000000000
--- a/db/schema_migrations/20230428065426
+++ /dev/null
@@ -1 +0,0 @@
-09efd0a8f9ffc13961dc55313883553e545235184435483ccf8f91986f3ead79
\ No newline at end of file
diff --git a/db/schema_migrations/20230428070443 b/db/schema_migrations/20230428070443
deleted file mode 100644
index c1798ec1bf41d..0000000000000
--- a/db/schema_migrations/20230428070443
+++ /dev/null
@@ -1 +0,0 @@
-8277328b39ff873c549453bbdc8b0ae67e49cc23fd6e8166aea68c1d61fc7116
\ No newline at end of file
diff --git a/db/schema_migrations/20230428085332 b/db/schema_migrations/20230428085332
deleted file mode 100644
index 8ad6c10ada287..0000000000000
--- a/db/schema_migrations/20230428085332
+++ /dev/null
@@ -1 +0,0 @@
-9e822fbc2c7ce8044d0b38c5f1a9056431792e83fc9ed83056444c094e16c484
\ No newline at end of file
diff --git a/db/schema_migrations/20230428101217 b/db/schema_migrations/20230428101217
deleted file mode 100644
index 9e22a997a41c5..0000000000000
--- a/db/schema_migrations/20230428101217
+++ /dev/null
@@ -1 +0,0 @@
-600258b230518791e57a8a9934d573dcc4734275c346b1dbcff6931d1d549574
\ No newline at end of file
diff --git a/db/schema_migrations/20230428134334 b/db/schema_migrations/20230428134334
deleted file mode 100644
index 96e5841736f65..0000000000000
--- a/db/schema_migrations/20230428134334
+++ /dev/null
@@ -1 +0,0 @@
-43d27869d87ec93da96fbc9ea23f50b7588d5f491b1d5c53beeed7a529003e09
\ No newline at end of file
diff --git a/db/schema_migrations/20230428165514 b/db/schema_migrations/20230428165514
deleted file mode 100644
index 2cad40833c10a..0000000000000
--- a/db/schema_migrations/20230428165514
+++ /dev/null
@@ -1 +0,0 @@
-ad16293967c9751d138690328308944dd0930cd88e1afa16d825fbaf2cc8299c
\ No newline at end of file
diff --git a/db/schema_migrations/20230501090213 b/db/schema_migrations/20230501090213
deleted file mode 100644
index 64147bd90185d..0000000000000
--- a/db/schema_migrations/20230501090213
+++ /dev/null
@@ -1 +0,0 @@
-99b301394b83a9260da47d2bb56356f2421fcb7d8cf0600f56af13f5f57ab127
\ No newline at end of file
diff --git a/db/schema_migrations/20230501094322 b/db/schema_migrations/20230501094322
deleted file mode 100644
index 4369f8e90d5ea..0000000000000
--- a/db/schema_migrations/20230501094322
+++ /dev/null
@@ -1 +0,0 @@
-083992ccf9c36826383d36d6b72b3188d48892191179e2fcd9b434e49f86bc9d
\ No newline at end of file
diff --git a/db/schema_migrations/20230501111636 b/db/schema_migrations/20230501111636
deleted file mode 100644
index 77570c78964ac..0000000000000
--- a/db/schema_migrations/20230501111636
+++ /dev/null
@@ -1 +0,0 @@
-1ba16001c05873a7fbda732d0d34b1d42d8c05d883f2f48b37305c31b955b103
\ No newline at end of file
diff --git a/db/schema_migrations/20230501163253 b/db/schema_migrations/20230501163253
deleted file mode 100644
index e0f178a65a7bd..0000000000000
--- a/db/schema_migrations/20230501163253
+++ /dev/null
@@ -1 +0,0 @@
-e13f88c8de95d10e1150b07e6d112aaa9221e0a866fce3f92883cec9ee026acd
\ No newline at end of file
diff --git a/db/schema_migrations/20230501165244 b/db/schema_migrations/20230501165244
deleted file mode 100644
index df068bbd3fd0a..0000000000000
--- a/db/schema_migrations/20230501165244
+++ /dev/null
@@ -1 +0,0 @@
-8d1f891b30ff45432ae9dff5d97d6d241dd98c168f4b5fe6db6637bf93dd18e3
\ No newline at end of file
diff --git a/db/schema_migrations/20230501180958 b/db/schema_migrations/20230501180958
deleted file mode 100644
index f7d05a866c663..0000000000000
--- a/db/schema_migrations/20230501180958
+++ /dev/null
@@ -1 +0,0 @@
-cf1a6d7a46b0166fea848ed823c0cfcfaeeff66ccbc3f85207a949fbc9eb7660
\ No newline at end of file
diff --git a/db/schema_migrations/20230502014227 b/db/schema_migrations/20230502014227
deleted file mode 100644
index a5ed25b30de33..0000000000000
--- a/db/schema_migrations/20230502014227
+++ /dev/null
@@ -1 +0,0 @@
-d1948970874f890d178db6b1df9053bf5bb45d701c8c295e1e8e3d7d6b4d175d
\ No newline at end of file
diff --git a/db/schema_migrations/20230502083003 b/db/schema_migrations/20230502083003
deleted file mode 100644
index 6bc23ce73cabc..0000000000000
--- a/db/schema_migrations/20230502083003
+++ /dev/null
@@ -1 +0,0 @@
-fabae67014e7d212e2537185c2cd21a0660398d8e423a3b4744773eb67047b57
\ No newline at end of file
diff --git a/db/schema_migrations/20230502102832 b/db/schema_migrations/20230502102832
deleted file mode 100644
index f82a528e5e3e0..0000000000000
--- a/db/schema_migrations/20230502102832
+++ /dev/null
@@ -1 +0,0 @@
-7543d5128ef49f1c169e30db24015cd1deae271ed20be29d34e67e6cc4ece372
\ No newline at end of file
diff --git a/db/schema_migrations/20230502102833 b/db/schema_migrations/20230502102833
deleted file mode 100644
index f9629db77884f..0000000000000
--- a/db/schema_migrations/20230502102833
+++ /dev/null
@@ -1 +0,0 @@
-d977e336cc71f43157c2d87c529706abe50cb962fcf2e36c2fd315135c881440
\ No newline at end of file
diff --git a/db/schema_migrations/20230502120021 b/db/schema_migrations/20230502120021
deleted file mode 100644
index 13d84b077b159..0000000000000
--- a/db/schema_migrations/20230502120021
+++ /dev/null
@@ -1 +0,0 @@
-9602256dc3cea8f0fce716ba341e364ac51e592ff6f71e51c230be2896bcfd49
\ No newline at end of file
diff --git a/db/schema_migrations/20230502120022 b/db/schema_migrations/20230502120022
deleted file mode 100644
index abc7f157f88cb..0000000000000
--- a/db/schema_migrations/20230502120022
+++ /dev/null
@@ -1 +0,0 @@
-576982c8efcf40da159f3f721cf6b2947e61e92637f861c031d3731ddeaf2d05
\ No newline at end of file
diff --git a/db/schema_migrations/20230502134532 b/db/schema_migrations/20230502134532
deleted file mode 100644
index 3fddcce3f7f1a..0000000000000
--- a/db/schema_migrations/20230502134532
+++ /dev/null
@@ -1 +0,0 @@
-6ba72f7fa8d90e6cf5f880b950c52e3643eb6d72672e66df71d0879957704a07
\ No newline at end of file
diff --git a/db/schema_migrations/20230502182754 b/db/schema_migrations/20230502182754
deleted file mode 100644
index 22361f8dfd715..0000000000000
--- a/db/schema_migrations/20230502182754
+++ /dev/null
@@ -1 +0,0 @@
-95333c4b6b7169a457c425369b2e4ce22cb2a355af5adc218d3b743ffba4b9b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230502193525 b/db/schema_migrations/20230502193525
deleted file mode 100644
index a6b4bae1888e8..0000000000000
--- a/db/schema_migrations/20230502193525
+++ /dev/null
@@ -1 +0,0 @@
-cf43d34ef75776417d3f0ef73e79fb71735d3ce8323082a63c9f7feb1a95ba06
\ No newline at end of file
diff --git a/db/schema_migrations/20230502201251 b/db/schema_migrations/20230502201251
deleted file mode 100644
index 7acaa0045495d..0000000000000
--- a/db/schema_migrations/20230502201251
+++ /dev/null
@@ -1 +0,0 @@
-55c34b57a1cfdc706c7e8ab53cb964011b81fce313404d0da91a9d0495ee1fd8
\ No newline at end of file
diff --git a/db/schema_migrations/20230503032750 b/db/schema_migrations/20230503032750
deleted file mode 100644
index fd4a7dff04708..0000000000000
--- a/db/schema_migrations/20230503032750
+++ /dev/null
@@ -1 +0,0 @@
-1d8dc513156e6fcdfdd8670eb92c67fc261135527398310a089b8d6c5d70c213
\ No newline at end of file
diff --git a/db/schema_migrations/20230503100753 b/db/schema_migrations/20230503100753
deleted file mode 100644
index 9dfc04b52ae7a..0000000000000
--- a/db/schema_migrations/20230503100753
+++ /dev/null
@@ -1 +0,0 @@
-2db1e083151334d1f53d3da97c66a5f9995997a1e9556bb7acd54122b6f765f6
\ No newline at end of file
diff --git a/db/schema_migrations/20230503115918 b/db/schema_migrations/20230503115918
deleted file mode 100644
index 328d5e5b25595..0000000000000
--- a/db/schema_migrations/20230503115918
+++ /dev/null
@@ -1 +0,0 @@
-e5368a0d203bdf66e8808b2c1555ba4321a41755af09ec899e28f1ea8d6e02a7
\ No newline at end of file
diff --git a/db/schema_migrations/20230503152349 b/db/schema_migrations/20230503152349
deleted file mode 100644
index b53f7e1da2886..0000000000000
--- a/db/schema_migrations/20230503152349
+++ /dev/null
@@ -1 +0,0 @@
-1cda8d54c964870fd0660dc864e39ef31c0a91994a275b7478d615141670b693
\ No newline at end of file
diff --git a/db/schema_migrations/20230503173101 b/db/schema_migrations/20230503173101
deleted file mode 100644
index 9f327e2505010..0000000000000
--- a/db/schema_migrations/20230503173101
+++ /dev/null
@@ -1 +0,0 @@
-d30a71027d3b43e5545772d42bd68b9f7b8699787aaab7f35cd1a58603288cda
\ No newline at end of file
diff --git a/db/schema_migrations/20230503175406 b/db/schema_migrations/20230503175406
deleted file mode 100644
index 3519271d62757..0000000000000
--- a/db/schema_migrations/20230503175406
+++ /dev/null
@@ -1 +0,0 @@
-f239e2946d97b25d7f365d0cdf439be300f4b1bbc39e089abc8e8342a32679ed
\ No newline at end of file
diff --git a/db/schema_migrations/20230503181808 b/db/schema_migrations/20230503181808
deleted file mode 100644
index e6d4423bc8638..0000000000000
--- a/db/schema_migrations/20230503181808
+++ /dev/null
@@ -1 +0,0 @@
-59423550699ab55d8bd2439c423c113d6f66d2cfcea2e606ffad92e00ae555de
\ No newline at end of file
diff --git a/db/schema_migrations/20230503191056 b/db/schema_migrations/20230503191056
deleted file mode 100644
index d274119287c50..0000000000000
--- a/db/schema_migrations/20230503191056
+++ /dev/null
@@ -1 +0,0 @@
-0421519d9d454666fd00f3d8e6c2c48e889239a6975a52de7aefe19f48ea994f
\ No newline at end of file
diff --git a/db/schema_migrations/20230504010535 b/db/schema_migrations/20230504010535
deleted file mode 100644
index 77617d38e8500..0000000000000
--- a/db/schema_migrations/20230504010535
+++ /dev/null
@@ -1 +0,0 @@
-68d1cbddace4f53fe437d234f9a9eac2264c88ef4a34353abc11bbbbdccc63c3
\ No newline at end of file
diff --git a/db/schema_migrations/20230504084524 b/db/schema_migrations/20230504084524
deleted file mode 100644
index 00d15c6398ccd..0000000000000
--- a/db/schema_migrations/20230504084524
+++ /dev/null
@@ -1 +0,0 @@
-f9022593be2e4304e2a0bc34410284ba3543211d2e3faa6fa7b7ba8cd703ffb4
\ No newline at end of file
diff --git a/db/schema_migrations/20230504112809 b/db/schema_migrations/20230504112809
deleted file mode 100644
index cdf2abc6d7b92..0000000000000
--- a/db/schema_migrations/20230504112809
+++ /dev/null
@@ -1 +0,0 @@
-73e02a60ed38365748c54399ccdd7ccfdfaac901682e84c1f52b113b30f682e6
\ No newline at end of file
diff --git a/db/schema_migrations/20230504182314 b/db/schema_migrations/20230504182314
deleted file mode 100644
index e460078f4a3a0..0000000000000
--- a/db/schema_migrations/20230504182314
+++ /dev/null
@@ -1 +0,0 @@
-33a5243e26cdcaa4151aa19e6e1837043303dc75295bc6d6468b7c5b849201d9
\ No newline at end of file
diff --git a/db/schema_migrations/20230505115558 b/db/schema_migrations/20230505115558
deleted file mode 100644
index 7906938db93c1..0000000000000
--- a/db/schema_migrations/20230505115558
+++ /dev/null
@@ -1 +0,0 @@
-3e5c849215b0bac1a2e68bc815dc19583f4f5dbb7a205eceff6f5b7e80ed3246
\ No newline at end of file
diff --git a/db/schema_migrations/20230505122015 b/db/schema_migrations/20230505122015
deleted file mode 100644
index d08efd284c072..0000000000000
--- a/db/schema_migrations/20230505122015
+++ /dev/null
@@ -1 +0,0 @@
-703e964d90c3758f26ca852b6ca4b62319a1fe30e41cd4cf87f128aef5bf0360
\ No newline at end of file
diff --git a/db/schema_migrations/20230507192028 b/db/schema_migrations/20230507192028
deleted file mode 100644
index f6e1ec5c1678b..0000000000000
--- a/db/schema_migrations/20230507192028
+++ /dev/null
@@ -1 +0,0 @@
-f248bac33290d490c88e79445a7600cb120761e3a8ee73e9e6ceb46d934399f2
\ No newline at end of file
diff --git a/db/schema_migrations/20230508034422 b/db/schema_migrations/20230508034422
deleted file mode 100644
index e4bce1f0681fe..0000000000000
--- a/db/schema_migrations/20230508034422
+++ /dev/null
@@ -1 +0,0 @@
-22359f0d7c7f08f2293a0302c36854e78cd6fdf51a555ed36303f56bfc6ee914
\ No newline at end of file
diff --git a/db/schema_migrations/20230508074515 b/db/schema_migrations/20230508074515
deleted file mode 100644
index f62368fbba679..0000000000000
--- a/db/schema_migrations/20230508074515
+++ /dev/null
@@ -1 +0,0 @@
-7f3a70214dc73e754311019b208284cd2784ca4331458a98ec109e50598e7900
\ No newline at end of file
diff --git a/db/schema_migrations/20230508093910 b/db/schema_migrations/20230508093910
deleted file mode 100644
index d9b056e68f91c..0000000000000
--- a/db/schema_migrations/20230508093910
+++ /dev/null
@@ -1 +0,0 @@
-1e0b966332d5094050ea779ba6efefaa5c0c2a7d9f2ec05a1fa8a049bd6fcd84
\ No newline at end of file
diff --git a/db/schema_migrations/20230508095017 b/db/schema_migrations/20230508095017
deleted file mode 100644
index 00fefae99f6cf..0000000000000
--- a/db/schema_migrations/20230508095017
+++ /dev/null
@@ -1 +0,0 @@
-02a4bd854b5f2269c917fa15823f423544a165a37a6341f76c6555e4b11659f3
\ No newline at end of file
diff --git a/db/schema_migrations/20230508150219 b/db/schema_migrations/20230508150219
deleted file mode 100644
index 79146f5188aa7..0000000000000
--- a/db/schema_migrations/20230508150219
+++ /dev/null
@@ -1 +0,0 @@
-02095a4b6238d84d569162ea6ad90d1f02975234a40174e4ca5a9d80524de57c
\ No newline at end of file
diff --git a/db/schema_migrations/20230508175057 b/db/schema_migrations/20230508175057
deleted file mode 100644
index 959c02b49c8f4..0000000000000
--- a/db/schema_migrations/20230508175057
+++ /dev/null
@@ -1 +0,0 @@
-eaec908173fb60b88867e14c73c6ba7d6079742bae7ead59fa021d6d57e622da
\ No newline at end of file
diff --git a/db/schema_migrations/20230509013743 b/db/schema_migrations/20230509013743
deleted file mode 100644
index 776ec9d19a61b..0000000000000
--- a/db/schema_migrations/20230509013743
+++ /dev/null
@@ -1 +0,0 @@
-c312816ffabb9442b57d826a9e8c2214ae7672bf03938a911ddae490309fe87d
\ No newline at end of file
diff --git a/db/schema_migrations/20230509072635 b/db/schema_migrations/20230509072635
deleted file mode 100644
index 9eec816272071..0000000000000
--- a/db/schema_migrations/20230509072635
+++ /dev/null
@@ -1 +0,0 @@
-1e5bbc3b9d8c244a78e98c60c1f24c3295738334125b8d2b566d97742aee5a97
\ No newline at end of file
diff --git a/db/schema_migrations/20230509085428 b/db/schema_migrations/20230509085428
deleted file mode 100644
index cf7214ceadcb6..0000000000000
--- a/db/schema_migrations/20230509085428
+++ /dev/null
@@ -1 +0,0 @@
-6179fe3d8c419c58e028fc1fe5d554678976229eff88f087beec174cb669d4ce
\ No newline at end of file
diff --git a/db/schema_migrations/20230509115525 b/db/schema_migrations/20230509115525
deleted file mode 100644
index e3c0ada40cd03..0000000000000
--- a/db/schema_migrations/20230509115525
+++ /dev/null
@@ -1 +0,0 @@
-92b70129d19796653569fb730be43ea6eed7dacbce224e1323124fdf03b0a0b0
\ No newline at end of file
diff --git a/db/schema_migrations/20230509131736 b/db/schema_migrations/20230509131736
deleted file mode 100644
index 593c9495eb237..0000000000000
--- a/db/schema_migrations/20230509131736
+++ /dev/null
@@ -1 +0,0 @@
-f9545a27756e5ca05220ffebcf89e8268e0231cbd8c7af0a89d13c70f5a070ec
\ No newline at end of file
diff --git a/db/schema_migrations/20230509144234 b/db/schema_migrations/20230509144234
deleted file mode 100644
index 0116d971e381f..0000000000000
--- a/db/schema_migrations/20230509144234
+++ /dev/null
@@ -1 +0,0 @@
-8c6d6a8d77dac3291f8af00e61c5ce0124c0742d0009f84b0d5bab7b43024bbe
\ No newline at end of file
diff --git a/db/schema_migrations/20230510013754 b/db/schema_migrations/20230510013754
deleted file mode 100644
index f59495e6ff6fa..0000000000000
--- a/db/schema_migrations/20230510013754
+++ /dev/null
@@ -1 +0,0 @@
-ee83bf5d8c283d1d24f4f7300abd0bb96e51ecfef480cab3a74875ebecf5cbcd
\ No newline at end of file
diff --git a/db/schema_migrations/20230510062503 b/db/schema_migrations/20230510062503
deleted file mode 100644
index f6be2a733925a..0000000000000
--- a/db/schema_migrations/20230510062503
+++ /dev/null
@@ -1 +0,0 @@
-2bd476bf0389b70aa5736ff69023993d37d54c4d333e3a91de9e57370935d6ec
\ No newline at end of file
diff --git a/db/schema_migrations/20230510130050 b/db/schema_migrations/20230510130050
deleted file mode 100644
index 3f5f91eb7be3b..0000000000000
--- a/db/schema_migrations/20230510130050
+++ /dev/null
@@ -1 +0,0 @@
-0b487a9ef3407ae8e3f9e2a9b0e7ac2a125048b4ea91ec1bd2ef46ce0508620b
\ No newline at end of file
diff --git a/db/schema_migrations/20230510141454 b/db/schema_migrations/20230510141454
deleted file mode 100644
index f54ad6684cced..0000000000000
--- a/db/schema_migrations/20230510141454
+++ /dev/null
@@ -1 +0,0 @@
-cef4d4de7e960091f19f0970ebe0d2f375d9615c0bcce472612383e550e98a74
\ No newline at end of file
diff --git a/db/schema_migrations/20230510142316 b/db/schema_migrations/20230510142316
deleted file mode 100644
index 236be8d6ad319..0000000000000
--- a/db/schema_migrations/20230510142316
+++ /dev/null
@@ -1 +0,0 @@
-63743777cb7580e64c61847990e4e2e00f20584d314729107ae52dcd056ae18a
\ No newline at end of file
diff --git a/db/schema_migrations/20230510142931 b/db/schema_migrations/20230510142931
deleted file mode 100644
index 58f213fd93211..0000000000000
--- a/db/schema_migrations/20230510142931
+++ /dev/null
@@ -1 +0,0 @@
-ba6f80a4e9dbb316ec52fb707927600581ca48942cec73a3ab971326379388fd
\ No newline at end of file
diff --git a/db/schema_migrations/20230510152153 b/db/schema_migrations/20230510152153
deleted file mode 100644
index c30cf28e6a064..0000000000000
--- a/db/schema_migrations/20230510152153
+++ /dev/null
@@ -1 +0,0 @@
-58b2ebc440992501aacfe7400f43a297f72f16d1faefce307bf71bc3d5755600
\ No newline at end of file
diff --git a/db/schema_migrations/20230511132140 b/db/schema_migrations/20230511132140
deleted file mode 100644
index e90a58e2e2836..0000000000000
--- a/db/schema_migrations/20230511132140
+++ /dev/null
@@ -1 +0,0 @@
-a9fc2734da81d15b8c6bdb3812c22e7c5a24d6729b98bf9118e6c8a9c85a6712
\ No newline at end of file
diff --git a/db/schema_migrations/20230512023321 b/db/schema_migrations/20230512023321
deleted file mode 100644
index ad6c781e1640e..0000000000000
--- a/db/schema_migrations/20230512023321
+++ /dev/null
@@ -1 +0,0 @@
-f2461838b62f7449f6b436c259724cb14b1ad5cd29cbff6f9e80e8b9e6f38984
\ No newline at end of file
diff --git a/db/schema_migrations/20230512104238 b/db/schema_migrations/20230512104238
deleted file mode 100644
index 7147448d13e6e..0000000000000
--- a/db/schema_migrations/20230512104238
+++ /dev/null
@@ -1 +0,0 @@
-db35cec0252dc30e2de62c9d61c0230d603f5714a986412d8a5ebdc2d9c0a1d5
\ No newline at end of file
diff --git a/db/schema_migrations/20230512141931 b/db/schema_migrations/20230512141931
deleted file mode 100644
index 7652e281eb70c..0000000000000
--- a/db/schema_migrations/20230512141931
+++ /dev/null
@@ -1 +0,0 @@
-2acead22b097b6873efa3108fedb374eeed793aef1519d9825685d97d844d2fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230512143000 b/db/schema_migrations/20230512143000
deleted file mode 100644
index 6534634133dfc..0000000000000
--- a/db/schema_migrations/20230512143000
+++ /dev/null
@@ -1 +0,0 @@
-3a29402e93ec0239bf6012f29b31613f2ea91def3096673ee0b44bfb8624a532
\ No newline at end of file
diff --git a/db/schema_migrations/20230515101208 b/db/schema_migrations/20230515101208
deleted file mode 100644
index 5cd9727331ff6..0000000000000
--- a/db/schema_migrations/20230515101208
+++ /dev/null
@@ -1 +0,0 @@
-ddd627c22bc925cb186c54d1df2897cba93027c2919dbe279063ac82a496b812
\ No newline at end of file
diff --git a/db/schema_migrations/20230515102353 b/db/schema_migrations/20230515102353
deleted file mode 100644
index 17eee8f1d9f8b..0000000000000
--- a/db/schema_migrations/20230515102353
+++ /dev/null
@@ -1 +0,0 @@
-c7cad916d89ef08e0c7c184b2c68a09aa5fa7ea39de11e2bff3aa190e74ca986
\ No newline at end of file
diff --git a/db/schema_migrations/20230515111314 b/db/schema_migrations/20230515111314
deleted file mode 100644
index d2d7d2c94c4aa..0000000000000
--- a/db/schema_migrations/20230515111314
+++ /dev/null
@@ -1 +0,0 @@
-2a011d12459e0c21832df777569a12f4f2bbdaa5f57da7dc3823147f948d7772
\ No newline at end of file
diff --git a/db/schema_migrations/20230515142300 b/db/schema_migrations/20230515142300
deleted file mode 100644
index 362c553959a50..0000000000000
--- a/db/schema_migrations/20230515142300
+++ /dev/null
@@ -1 +0,0 @@
-365a9c05c660ba40b1b66256fa696cf8064388b4589b6d0bc507780e081526f2
\ No newline at end of file
diff --git a/db/schema_migrations/20230515153600 b/db/schema_migrations/20230515153600
deleted file mode 100644
index 59cf7492b56d0..0000000000000
--- a/db/schema_migrations/20230515153600
+++ /dev/null
@@ -1 +0,0 @@
-147c720a8103a14bd96f01618b68f5e46ed44b2b72cca43d17d7abfe0632c980
\ No newline at end of file
diff --git a/db/schema_migrations/20230516032545 b/db/schema_migrations/20230516032545
deleted file mode 100644
index d9c5caaa3fd51..0000000000000
--- a/db/schema_migrations/20230516032545
+++ /dev/null
@@ -1 +0,0 @@
-5f7e7d5b4af1a2e022e64ba2098c9e6be15853b2242334a41b4d53c5454201fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230516033729 b/db/schema_migrations/20230516033729
deleted file mode 100644
index 128f8154d294b..0000000000000
--- a/db/schema_migrations/20230516033729
+++ /dev/null
@@ -1 +0,0 @@
-ab3a2fa247fa1170aa38ec0471f136b479d715137138929a4d690f7b6022d022
\ No newline at end of file
diff --git a/db/schema_migrations/20230516044606 b/db/schema_migrations/20230516044606
deleted file mode 100644
index b8ff16b9baa36..0000000000000
--- a/db/schema_migrations/20230516044606
+++ /dev/null
@@ -1 +0,0 @@
-2cfada37b139bfc64aab871250f947275fb78cbf6df1a6fd71e4dd424db66e26
\ No newline at end of file
diff --git a/db/schema_migrations/20230516045238 b/db/schema_migrations/20230516045238
deleted file mode 100644
index 7784967128c6f..0000000000000
--- a/db/schema_migrations/20230516045238
+++ /dev/null
@@ -1 +0,0 @@
-05ea1ebd6dd6547a074b63b8783a9c1088e42d849d787dc1babe1d4f9c950765
\ No newline at end of file
diff --git a/db/schema_migrations/20230516045442 b/db/schema_migrations/20230516045442
deleted file mode 100644
index 968cdc1688923..0000000000000
--- a/db/schema_migrations/20230516045442
+++ /dev/null
@@ -1 +0,0 @@
-0449ecd4e28fdc64e73326e6b6d48ecdf9bfa26e3de37dc948ce86ee104c96e0
\ No newline at end of file
diff --git a/db/schema_migrations/20230516072100 b/db/schema_migrations/20230516072100
deleted file mode 100644
index d135a85db85a8..0000000000000
--- a/db/schema_migrations/20230516072100
+++ /dev/null
@@ -1 +0,0 @@
-e9b3449d98a151fa834fb8e59ba7cacf7e94ac1357a195a372ff5c515c137ec8
\ No newline at end of file
diff --git a/db/schema_migrations/20230516080816 b/db/schema_migrations/20230516080816
deleted file mode 100644
index 720e9275ea20d..0000000000000
--- a/db/schema_migrations/20230516080816
+++ /dev/null
@@ -1 +0,0 @@
-d45ccbc7191760bf61396cf3b50110352149958dfe3696d5e4a172f9e96e204a
\ No newline at end of file
diff --git a/db/schema_migrations/20230516110414 b/db/schema_migrations/20230516110414
deleted file mode 100644
index 207e7fe65aa65..0000000000000
--- a/db/schema_migrations/20230516110414
+++ /dev/null
@@ -1 +0,0 @@
-8a7d9123c689553d0aed06eea5714e9abd9f52cf6bc07b7349dcc723a3d8552a
\ No newline at end of file
diff --git a/db/schema_migrations/20230516115259 b/db/schema_migrations/20230516115259
deleted file mode 100644
index 7e4047fd5add7..0000000000000
--- a/db/schema_migrations/20230516115259
+++ /dev/null
@@ -1 +0,0 @@
-28a6e5cfda097a1dff9b43a082979bda1dd893c85d24db40148cf989450f0d86
\ No newline at end of file
diff --git a/db/schema_migrations/20230516123202 b/db/schema_migrations/20230516123202
deleted file mode 100644
index 8c06f7dee50d7..0000000000000
--- a/db/schema_migrations/20230516123202
+++ /dev/null
@@ -1 +0,0 @@
-e8ee612d995d72b0c0c955b80a73ac2428b6b7e932723fb8c906bb3729fb2884
\ No newline at end of file
diff --git a/db/schema_migrations/20230516125656 b/db/schema_migrations/20230516125656
deleted file mode 100644
index 779b304284b1f..0000000000000
--- a/db/schema_migrations/20230516125656
+++ /dev/null
@@ -1 +0,0 @@
-693293c630a849e387820e4b023590595801983a40cfb879205c673a3e2dba3d
\ No newline at end of file
diff --git a/db/schema_migrations/20230516172446 b/db/schema_migrations/20230516172446
deleted file mode 100644
index 9acb91b01e3cc..0000000000000
--- a/db/schema_migrations/20230516172446
+++ /dev/null
@@ -1 +0,0 @@
-dc6c1ae9051671b4684bee64522186cde317bba32bdc4e4e1a6c9267f732f25b
\ No newline at end of file
diff --git a/db/schema_migrations/20230516175449 b/db/schema_migrations/20230516175449
deleted file mode 100644
index d52db116a5eff..0000000000000
--- a/db/schema_migrations/20230516175449
+++ /dev/null
@@ -1 +0,0 @@
-7c9152abad40bce13c5a1dd3931c9a81a892f516bc07ec4fa9414b9ae35496a2
\ No newline at end of file
diff --git a/db/schema_migrations/20230516183736 b/db/schema_migrations/20230516183736
deleted file mode 100644
index 1e7ccb7c0152b..0000000000000
--- a/db/schema_migrations/20230516183736
+++ /dev/null
@@ -1 +0,0 @@
-ccdbefaed7b3e32082ac2c4c49af1fcdf6d9c317739e6e67cc41156ed92404cf
\ No newline at end of file
diff --git a/db/schema_migrations/20230516192543 b/db/schema_migrations/20230516192543
deleted file mode 100644
index e7137fd2448b6..0000000000000
--- a/db/schema_migrations/20230516192543
+++ /dev/null
@@ -1 +0,0 @@
-0565e50d50fa969c55f276f105e389819830591223aea399340a5288ef4618ee
\ No newline at end of file
diff --git a/db/schema_migrations/20230517001535 b/db/schema_migrations/20230517001535
deleted file mode 100644
index 1511ebfbccbc2..0000000000000
--- a/db/schema_migrations/20230517001535
+++ /dev/null
@@ -1 +0,0 @@
-5d23a9be6e9ba6424208c3e14fc708e45b3a68e14de7be87e294c4e3d926a31f
\ No newline at end of file
diff --git a/db/schema_migrations/20230517005523 b/db/schema_migrations/20230517005523
deleted file mode 100644
index 7fdac2b99610f..0000000000000
--- a/db/schema_migrations/20230517005523
+++ /dev/null
@@ -1 +0,0 @@
-4d84a87532b45436e64d0c919b361548b4b69b200ec3a91f454af718a51fd22a
\ No newline at end of file
diff --git a/db/schema_migrations/20230517090826 b/db/schema_migrations/20230517090826
deleted file mode 100644
index cf060a2c15172..0000000000000
--- a/db/schema_migrations/20230517090826
+++ /dev/null
@@ -1 +0,0 @@
-bfb3fe79af46a042287b1a0e86d79ad61c8ed2ac5e693d06249c52d8152de307
\ No newline at end of file
diff --git a/db/schema_migrations/20230517151041 b/db/schema_migrations/20230517151041
deleted file mode 100644
index acd95a39933f9..0000000000000
--- a/db/schema_migrations/20230517151041
+++ /dev/null
@@ -1 +0,0 @@
-ce12aa5cb3f207f2bfa19a27a1765ad027f825b6d75e7029fee5141e3160e5cb
\ No newline at end of file
diff --git a/db/schema_migrations/20230517151141 b/db/schema_migrations/20230517151141
deleted file mode 100644
index 658a579833273..0000000000000
--- a/db/schema_migrations/20230517151141
+++ /dev/null
@@ -1 +0,0 @@
-06246b8d7df8d18c3d8e5308f1dcc8375e011f507a969c95678aa8d532a24644
\ No newline at end of file
diff --git a/db/schema_migrations/20230517151241 b/db/schema_migrations/20230517151241
deleted file mode 100644
index fc08cf92ae83a..0000000000000
--- a/db/schema_migrations/20230517151241
+++ /dev/null
@@ -1 +0,0 @@
-f528675db7c4884930b4febc91aca6105189cd040416b92e21364ffe9d9e9bfd
\ No newline at end of file
diff --git a/db/schema_migrations/20230517163300 b/db/schema_migrations/20230517163300
deleted file mode 100644
index a2baef62fe995..0000000000000
--- a/db/schema_migrations/20230517163300
+++ /dev/null
@@ -1 +0,0 @@
-bdda58a5015942f8fe98dedbbab66ff9e39505229da2e6d1726eb73105a89ae1
\ No newline at end of file
diff --git a/db/schema_migrations/20230517182802 b/db/schema_migrations/20230517182802
deleted file mode 100644
index e9ef71cf8bc6d..0000000000000
--- a/db/schema_migrations/20230517182802
+++ /dev/null
@@ -1 +0,0 @@
-8cd0b7369ad654e72fb12b9ae0d54cb38ada4b24a20358541dc5ab18ae60605c
\ No newline at end of file
diff --git a/db/schema_migrations/20230517182958 b/db/schema_migrations/20230517182958
deleted file mode 100644
index 769fceffb7583..0000000000000
--- a/db/schema_migrations/20230517182958
+++ /dev/null
@@ -1 +0,0 @@
-7a34b874349603c65c5ad8d71033a8ec23e7253c51bef20314a5c45d8da9903f
\ No newline at end of file
diff --git a/db/schema_migrations/20230517183403 b/db/schema_migrations/20230517183403
deleted file mode 100644
index 1a4eed8c66949..0000000000000
--- a/db/schema_migrations/20230517183403
+++ /dev/null
@@ -1 +0,0 @@
-7169d207128db503be38e1106f63a7c2e752ceacbfba93142a731267ce0fa0fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230518005523 b/db/schema_migrations/20230518005523
deleted file mode 100644
index 700da3dff742d..0000000000000
--- a/db/schema_migrations/20230518005523
+++ /dev/null
@@ -1 +0,0 @@
-7428675eac2c572aa3521df7af7e79f7cf1b6e8f8472e99c842dddf2f3c7ce77
\ No newline at end of file
diff --git a/db/schema_migrations/20230518071251 b/db/schema_migrations/20230518071251
deleted file mode 100644
index eb84686e80228..0000000000000
--- a/db/schema_migrations/20230518071251
+++ /dev/null
@@ -1 +0,0 @@
-eabab8fcee59ed11ddaca9a19d5d16b257b9665f4189843cdd4177e9f5680169
\ No newline at end of file
diff --git a/db/schema_migrations/20230518121320 b/db/schema_migrations/20230518121320
deleted file mode 100644
index 333985c9b5eaa..0000000000000
--- a/db/schema_migrations/20230518121320
+++ /dev/null
@@ -1 +0,0 @@
-34f1874ef8bab4bee142d12e78c84697e8889e6fc6d5b4dfbcdc6e7ed16861b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230519011151 b/db/schema_migrations/20230519011151
deleted file mode 100644
index 7a9f4dbcee467..0000000000000
--- a/db/schema_migrations/20230519011151
+++ /dev/null
@@ -1 +0,0 @@
-c2340753bf27ef119dd76a49ada76f07ef6f22577ae11651e81bba6bd7502f08
\ No newline at end of file
diff --git a/db/schema_migrations/20230519023720 b/db/schema_migrations/20230519023720
deleted file mode 100644
index 13e5eeaff1ea8..0000000000000
--- a/db/schema_migrations/20230519023720
+++ /dev/null
@@ -1 +0,0 @@
-fe0db2f640801d6086d5199364bfdf6f868cc53eda46c6e0896b49915775b652
\ No newline at end of file
diff --git a/db/schema_migrations/20230519103034 b/db/schema_migrations/20230519103034
deleted file mode 100644
index cfefd850e2364..0000000000000
--- a/db/schema_migrations/20230519103034
+++ /dev/null
@@ -1 +0,0 @@
-99247380d6a83a3eb0d03270848d7a53276072633073343a5b3bda709b836694
\ No newline at end of file
diff --git a/db/schema_migrations/20230519112106 b/db/schema_migrations/20230519112106
deleted file mode 100644
index a8eb4476be60b..0000000000000
--- a/db/schema_migrations/20230519112106
+++ /dev/null
@@ -1 +0,0 @@
-be307c86a15692e694a276b52274ae400a90f31dfb7fde6ace37683fba1ed4b2
\ No newline at end of file
diff --git a/db/schema_migrations/20230519135414 b/db/schema_migrations/20230519135414
deleted file mode 100644
index 159130e2d4491..0000000000000
--- a/db/schema_migrations/20230519135414
+++ /dev/null
@@ -1 +0,0 @@
-e0aaa0eb24b0e2be91593198366d85408ea5b88399c1a2bd4e41fa9acabeb227
\ No newline at end of file
diff --git a/db/schema_migrations/20230521521419 b/db/schema_migrations/20230521521419
deleted file mode 100644
index 9591cbde58633..0000000000000
--- a/db/schema_migrations/20230521521419
+++ /dev/null
@@ -1 +0,0 @@
-04dd0a9bdfe5890f8a44aa15bbbc295a25883bb27fbee0015937a1f6c432a231
\ No newline at end of file
diff --git a/db/schema_migrations/20230522073230 b/db/schema_migrations/20230522073230
deleted file mode 100644
index dee1babf25b3f..0000000000000
--- a/db/schema_migrations/20230522073230
+++ /dev/null
@@ -1 +0,0 @@
-d630b2bbfbb4ac030da8020745005bf7326b337ea9dbf4a57130e95d1824b780
\ No newline at end of file
diff --git a/db/schema_migrations/20230522103433 b/db/schema_migrations/20230522103433
deleted file mode 100644
index 625410b73a121..0000000000000
--- a/db/schema_migrations/20230522103433
+++ /dev/null
@@ -1 +0,0 @@
-b5c1ad2fe2f4d38b39ac9c621b36f62c0a06b74846f5afdad4d88804bb1d7acf
\ No newline at end of file
diff --git a/db/schema_migrations/20230522111534 b/db/schema_migrations/20230522111534
deleted file mode 100644
index 72d0719a93f2b..0000000000000
--- a/db/schema_migrations/20230522111534
+++ /dev/null
@@ -1 +0,0 @@
-99c1d226ac26e20e8cb1ad43663cad4e9e2cc296d8a76914b2fe402ff3674b24
\ No newline at end of file
diff --git a/db/schema_migrations/20230522132239 b/db/schema_migrations/20230522132239
deleted file mode 100644
index 365eb1606cb45..0000000000000
--- a/db/schema_migrations/20230522132239
+++ /dev/null
@@ -1 +0,0 @@
-7cda2cca39c53859e84bb7ecf3a2a9817f598486632a3cdd922dde6057b5c930
\ No newline at end of file
diff --git a/db/schema_migrations/20230522180913 b/db/schema_migrations/20230522180913
deleted file mode 100644
index efae214ea6be0..0000000000000
--- a/db/schema_migrations/20230522180913
+++ /dev/null
@@ -1 +0,0 @@
-a050f273e3582d5e651f691631dae28a3e1c60a3f95d1f6f05b0ea47be609e8b
\ No newline at end of file
diff --git a/db/schema_migrations/20230522181134 b/db/schema_migrations/20230522181134
deleted file mode 100644
index b37e66a370a67..0000000000000
--- a/db/schema_migrations/20230522181134
+++ /dev/null
@@ -1 +0,0 @@
-746360d5f65be831e1225d343983ca870464eaa5a84f619d6b28975ecfc4a876
\ No newline at end of file
diff --git a/db/schema_migrations/20230522210320 b/db/schema_migrations/20230522210320
deleted file mode 100644
index 74a32da1d1a57..0000000000000
--- a/db/schema_migrations/20230522210320
+++ /dev/null
@@ -1 +0,0 @@
-6c287edd3102743f83a94b3f961074eb2d85c63c7f7789c63cb51a11ef4c04c1
\ No newline at end of file
diff --git a/db/schema_migrations/20230522220709 b/db/schema_migrations/20230522220709
deleted file mode 100644
index aadbdc7f2cfe8..0000000000000
--- a/db/schema_migrations/20230522220709
+++ /dev/null
@@ -1 +0,0 @@
-ef28d42bc0e59c42c6764f0859d36307bf4c6594d109fcfaabbb8ae5392ed563
\ No newline at end of file
diff --git a/db/schema_migrations/20230522225610 b/db/schema_migrations/20230522225610
deleted file mode 100644
index d9e737d11de30..0000000000000
--- a/db/schema_migrations/20230522225610
+++ /dev/null
@@ -1 +0,0 @@
-efa846e74dcc14732fe78f8458e1d44bb12f3b97282c14e4a33c87eac561e032
\ No newline at end of file
diff --git a/db/schema_migrations/20230523073455 b/db/schema_migrations/20230523073455
deleted file mode 100644
index b1f55a3744b26..0000000000000
--- a/db/schema_migrations/20230523073455
+++ /dev/null
@@ -1 +0,0 @@
-45f116be064d575bba2acab71458a89dbe5332c3cfb4544eb51638bf86081123
\ No newline at end of file
diff --git a/db/schema_migrations/20230523074248 b/db/schema_migrations/20230523074248
deleted file mode 100644
index 29b21d2fcf772..0000000000000
--- a/db/schema_migrations/20230523074248
+++ /dev/null
@@ -1 +0,0 @@
-a9408102327280918366975b599985f3e382ebd493267fd010ad2dcbe6140eb3
\ No newline at end of file
diff --git a/db/schema_migrations/20230523074517 b/db/schema_migrations/20230523074517
deleted file mode 100644
index e6017c55df350..0000000000000
--- a/db/schema_migrations/20230523074517
+++ /dev/null
@@ -1 +0,0 @@
-662b78b3f796cec08f325ec71389bdaf9efa0695b6bfe224b18295175f1383bf
\ No newline at end of file
diff --git a/db/schema_migrations/20230523122242 b/db/schema_migrations/20230523122242
deleted file mode 100644
index 36316e887779b..0000000000000
--- a/db/schema_migrations/20230523122242
+++ /dev/null
@@ -1 +0,0 @@
-16c5eed18bf8beb8200fc2eaae9ffe532439e463cdb417f84eabc29992779558
\ No newline at end of file
diff --git a/db/schema_migrations/20230523125245 b/db/schema_migrations/20230523125245
deleted file mode 100644
index bfb22be77ddd5..0000000000000
--- a/db/schema_migrations/20230523125245
+++ /dev/null
@@ -1 +0,0 @@
-1379d0f878297bd4815cbb2d58bc0187b9bb3609bdeb87ab20983682f1abfa55
\ No newline at end of file
diff --git a/db/schema_migrations/20230523125430 b/db/schema_migrations/20230523125430
deleted file mode 100644
index 9d0b8e8d289da..0000000000000
--- a/db/schema_migrations/20230523125430
+++ /dev/null
@@ -1 +0,0 @@
-75c06f09e255289919d30c3cb9514c9c76f8510c689a23f4341bcd7948b8dae4
\ No newline at end of file
diff --git a/db/schema_migrations/20230523131914 b/db/schema_migrations/20230523131914
deleted file mode 100644
index 1b7c9249f5949..0000000000000
--- a/db/schema_migrations/20230523131914
+++ /dev/null
@@ -1 +0,0 @@
-3e5b2d18d3e0b7c573860c256cc3e6badfd79606f6822b9a108777f2d311f108
\ No newline at end of file
diff --git a/db/schema_migrations/20230523132647 b/db/schema_migrations/20230523132647
deleted file mode 100644
index 056ca2315af55..0000000000000
--- a/db/schema_migrations/20230523132647
+++ /dev/null
@@ -1 +0,0 @@
-852a190346dc674f5ddb0890c0daa5a3066beba73c638ffa48b8cdde7f1809bc
\ No newline at end of file
diff --git a/db/schema_migrations/20230523210653 b/db/schema_migrations/20230523210653
deleted file mode 100644
index 0f72d2ef77818..0000000000000
--- a/db/schema_migrations/20230523210653
+++ /dev/null
@@ -1 +0,0 @@
-20696f0e2e6e7bc7df4696fd91e621538f7a2f8f55e2059bc83f0081811bc365
\ No newline at end of file
diff --git a/db/schema_migrations/20230523210758 b/db/schema_migrations/20230523210758
deleted file mode 100644
index b9e5467643a7d..0000000000000
--- a/db/schema_migrations/20230523210758
+++ /dev/null
@@ -1 +0,0 @@
-5cae86aed3b05da49cfa963f0c601763ef433839be4360b6280f8f66f60b279d
\ No newline at end of file
diff --git a/db/schema_migrations/20230524012641 b/db/schema_migrations/20230524012641
deleted file mode 100644
index 7f01ad8b01337..0000000000000
--- a/db/schema_migrations/20230524012641
+++ /dev/null
@@ -1 +0,0 @@
-3fa8bd64992a6c1bf7d9dc1d9fca2173b425df72d9b5e44fcc72ebbca93d3995
\ No newline at end of file
diff --git a/db/schema_migrations/20230524093249 b/db/schema_migrations/20230524093249
deleted file mode 100644
index 1421e0aad4e94..0000000000000
--- a/db/schema_migrations/20230524093249
+++ /dev/null
@@ -1 +0,0 @@
-82219f2b9352956f8e9d116d003236603442b9eae70406d814dcc2199ca512f7
\ No newline at end of file
diff --git a/db/schema_migrations/20230524093355 b/db/schema_migrations/20230524093355
deleted file mode 100644
index 399d33043da3c..0000000000000
--- a/db/schema_migrations/20230524093355
+++ /dev/null
@@ -1 +0,0 @@
-962b8a385dc47c892fc3a55542ec5dcb9426e60084418549dcbca438bc804bdd
\ No newline at end of file
diff --git a/db/schema_migrations/20230524095108 b/db/schema_migrations/20230524095108
deleted file mode 100644
index 8b898896b78dc..0000000000000
--- a/db/schema_migrations/20230524095108
+++ /dev/null
@@ -1 +0,0 @@
-1cafb842d106d59f63dc12d4cdb215af023f8a6d19d80cbd69af3de51f5d4bac
\ No newline at end of file
diff --git a/db/schema_migrations/20230524120241 b/db/schema_migrations/20230524120241
deleted file mode 100644
index ae2b35d899f2e..0000000000000
--- a/db/schema_migrations/20230524120241
+++ /dev/null
@@ -1 +0,0 @@
-3709d98612eca5bfe996c20770b313322cde010fbf5b1e69c8ef688a456e1ace
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135543 b/db/schema_migrations/20230524135543
deleted file mode 100644
index 6f8f62289e8a0..0000000000000
--- a/db/schema_migrations/20230524135543
+++ /dev/null
@@ -1 +0,0 @@
-95b28bcaa72d53bfdc7430407c89eac7a59016b9317e44214dbb968cc3b41723
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135555 b/db/schema_migrations/20230524135555
deleted file mode 100644
index 70746a5ad8314..0000000000000
--- a/db/schema_migrations/20230524135555
+++ /dev/null
@@ -1 +0,0 @@
-ee90ed971ac9b67e539e367621b5bcefdf583ae9e53a1add59a70c3168035e26
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135607 b/db/schema_migrations/20230524135607
deleted file mode 100644
index f4e535a7736b2..0000000000000
--- a/db/schema_migrations/20230524135607
+++ /dev/null
@@ -1 +0,0 @@
-88c6b1d18c6c9b74b7be1831cd692f5004d04ca0d1e190eb5e1a2e079cfed50d
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135620 b/db/schema_migrations/20230524135620
deleted file mode 100644
index 1d09b6cc98af5..0000000000000
--- a/db/schema_migrations/20230524135620
+++ /dev/null
@@ -1 +0,0 @@
-a04c487f7d900c7108fcdd6957ac70ff1f00797bb2d503c50849edaeb500f561
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135632 b/db/schema_migrations/20230524135632
deleted file mode 100644
index 14610334452ee..0000000000000
--- a/db/schema_migrations/20230524135632
+++ /dev/null
@@ -1 +0,0 @@
-ecd3ca58470c44d3138416b77e9af8ad5583debe55e925d7ada4e9694c2ebc9f
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135645 b/db/schema_migrations/20230524135645
deleted file mode 100644
index 97083156370fd..0000000000000
--- a/db/schema_migrations/20230524135645
+++ /dev/null
@@ -1 +0,0 @@
-47468406daedd3dbfc3dcc7841d8139fa8a6981acd71343ff873d83cd8dc7a66
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135658 b/db/schema_migrations/20230524135658
deleted file mode 100644
index 1167d0d3db35a..0000000000000
--- a/db/schema_migrations/20230524135658
+++ /dev/null
@@ -1 +0,0 @@
-4f8cf41b2f65f2033769788fd271ea8b77b998c5ce186cc332942417e2bf9b62
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135711 b/db/schema_migrations/20230524135711
deleted file mode 100644
index 58f892c964ad3..0000000000000
--- a/db/schema_migrations/20230524135711
+++ /dev/null
@@ -1 +0,0 @@
-157a4ab1510c029cc65e78bd7f41446fb39be4504f39362eda7e2552fd3f3697
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135724 b/db/schema_migrations/20230524135724
deleted file mode 100644
index bd8039b15474d..0000000000000
--- a/db/schema_migrations/20230524135724
+++ /dev/null
@@ -1 +0,0 @@
-89ed7b769afadb76236dd9392cf06656177fa572ffc26c9e4c19035c28bdc445
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135737 b/db/schema_migrations/20230524135737
deleted file mode 100644
index af46dc6fe3849..0000000000000
--- a/db/schema_migrations/20230524135737
+++ /dev/null
@@ -1 +0,0 @@
-463414e049c5e3ddf7eb61e33cd08d66bf0cb244de7e6395feacb4ed4b7885fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135750 b/db/schema_migrations/20230524135750
deleted file mode 100644
index ef09aa2412fd9..0000000000000
--- a/db/schema_migrations/20230524135750
+++ /dev/null
@@ -1 +0,0 @@
-df54efbd38edbea5409cd01d3c82457dfae985ae475db5fa4076ee99eeda320c
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135803 b/db/schema_migrations/20230524135803
deleted file mode 100644
index 604664e02913d..0000000000000
--- a/db/schema_migrations/20230524135803
+++ /dev/null
@@ -1 +0,0 @@
-f348cf0f6dab2252143f802d85983a660fe21501a17b771bdbc5507e5ff6a5ca
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135815 b/db/schema_migrations/20230524135815
deleted file mode 100644
index 85aa04da3a96e..0000000000000
--- a/db/schema_migrations/20230524135815
+++ /dev/null
@@ -1 +0,0 @@
-9914afc99657b855caba9e083c66c71863c199c0e0fe3d1331a87a12b327cf7d
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135828 b/db/schema_migrations/20230524135828
deleted file mode 100644
index 557404d10bd8b..0000000000000
--- a/db/schema_migrations/20230524135828
+++ /dev/null
@@ -1 +0,0 @@
-f885a506e2176cec1de13d708dbd68a1ae6912f738079d6f5cce272687c2afb9
\ No newline at end of file
diff --git a/db/schema_migrations/20230524135840 b/db/schema_migrations/20230524135840
deleted file mode 100644
index 2d50808bfd8fc..0000000000000
--- a/db/schema_migrations/20230524135840
+++ /dev/null
@@ -1 +0,0 @@
-52632ee5e346f88fa1e00c8d99a210e79aa2718da09ebe1c0aa468b872779dd4
\ No newline at end of file
diff --git a/db/schema_migrations/20230524142655 b/db/schema_migrations/20230524142655
deleted file mode 100644
index 35aa474f5dd9d..0000000000000
--- a/db/schema_migrations/20230524142655
+++ /dev/null
@@ -1 +0,0 @@
-81f0d62ff5c06d5c34984dae613535d7ffbe9f0f3b25d2a694c5607e5e590805
\ No newline at end of file
diff --git a/db/schema_migrations/20230524150232 b/db/schema_migrations/20230524150232
deleted file mode 100644
index c25f1a6ab47e6..0000000000000
--- a/db/schema_migrations/20230524150232
+++ /dev/null
@@ -1 +0,0 @@
-073d817772476d9d32fa623547fb711c9e6890f507b974272fe8bca4e5c17a83
\ No newline at end of file
diff --git a/db/schema_migrations/20230524150438 b/db/schema_migrations/20230524150438
deleted file mode 100644
index 0e4efed2240c7..0000000000000
--- a/db/schema_migrations/20230524150438
+++ /dev/null
@@ -1 +0,0 @@
-093e6faef2171b8d7ab75bc096cfe140d5c595f113a911ca000529cf66f6eb6d
\ No newline at end of file
diff --git a/db/schema_migrations/20230524201454 b/db/schema_migrations/20230524201454
deleted file mode 100644
index 1f4d660033c74..0000000000000
--- a/db/schema_migrations/20230524201454
+++ /dev/null
@@ -1 +0,0 @@
-65b99cce227ef0a66cc83624170c680cc6edf72bd7e30e7c562104f4dbebabf9
\ No newline at end of file
diff --git a/db/schema_migrations/20230525064706 b/db/schema_migrations/20230525064706
deleted file mode 100644
index dbd9a6a54255c..0000000000000
--- a/db/schema_migrations/20230525064706
+++ /dev/null
@@ -1 +0,0 @@
-e532fbf81ec8ce67616f93945c7ac384ff491410227a388aff7a2a01c43e4f2a
\ No newline at end of file
diff --git a/db/schema_migrations/20230525180605 b/db/schema_migrations/20230525180605
deleted file mode 100644
index 19a40a0d20d29..0000000000000
--- a/db/schema_migrations/20230525180605
+++ /dev/null
@@ -1 +0,0 @@
-004443f655b7fd50d161cd529839925b446a9aba6f62d58d710379b91ed72f1d
\ No newline at end of file
diff --git a/db/schema_migrations/20230529163335 b/db/schema_migrations/20230529163335
deleted file mode 100644
index 5a165b81efa5b..0000000000000
--- a/db/schema_migrations/20230529163335
+++ /dev/null
@@ -1 +0,0 @@
-91e92552fb6283fd1d796c057418bf1f8346f7834eea324aab0fa82f0277c51b
\ No newline at end of file
diff --git a/db/schema_migrations/20230529173607 b/db/schema_migrations/20230529173607
deleted file mode 100644
index f0f2251241459..0000000000000
--- a/db/schema_migrations/20230529173607
+++ /dev/null
@@ -1 +0,0 @@
-5b2b9a7c58ed2153a70e4f32dbd8a4c4c9976afce478d761ced2ae9de43ea377
\ No newline at end of file
diff --git a/db/schema_migrations/20230529182720 b/db/schema_migrations/20230529182720
deleted file mode 100644
index a232e2ea178e4..0000000000000
--- a/db/schema_migrations/20230529182720
+++ /dev/null
@@ -1 +0,0 @@
-8d56850b0b02aa7237c5a31c7c98f0db96e20a4d4fb0a0646482bc75bcadf615
\ No newline at end of file
diff --git a/db/schema_migrations/20230529183648 b/db/schema_migrations/20230529183648
deleted file mode 100644
index c4d08703216ff..0000000000000
--- a/db/schema_migrations/20230529183648
+++ /dev/null
@@ -1 +0,0 @@
-32991a8e920d92c6f1bff2754d2af44ed816602aa5a29012b5884ee3a017bdee
\ No newline at end of file
diff --git a/db/schema_migrations/20230529184716 b/db/schema_migrations/20230529184716
deleted file mode 100644
index da1f596ea77db..0000000000000
--- a/db/schema_migrations/20230529184716
+++ /dev/null
@@ -1 +0,0 @@
-b3f7215cdec2da13bc1ca4f656ec7f7a356155e6e656baac388023a1231fe19d
\ No newline at end of file
diff --git a/db/schema_migrations/20230529185110 b/db/schema_migrations/20230529185110
deleted file mode 100644
index eab98ff654943..0000000000000
--- a/db/schema_migrations/20230529185110
+++ /dev/null
@@ -1 +0,0 @@
-6a3f8302ec88005555e91b6192476b49a1d032ce2c7f414cf9a908df16f93b3f
\ No newline at end of file
diff --git a/db/schema_migrations/20230530003417 b/db/schema_migrations/20230530003417
deleted file mode 100644
index e75305f71a8d5..0000000000000
--- a/db/schema_migrations/20230530003417
+++ /dev/null
@@ -1 +0,0 @@
-4604d184499892cace131232cdf728745b0e616261bdcfa6acd5ff304056759b
\ No newline at end of file
diff --git a/db/schema_migrations/20230530003634 b/db/schema_migrations/20230530003634
deleted file mode 100644
index 28f38a3d676da..0000000000000
--- a/db/schema_migrations/20230530003634
+++ /dev/null
@@ -1 +0,0 @@
-0c2334dff5bb442d05e9b4c5cfe03128dfebf8d085625ce9df1b7bdc33ed439c
\ No newline at end of file
diff --git a/db/schema_migrations/20230530015535 b/db/schema_migrations/20230530015535
deleted file mode 100644
index cfc95b4db0686..0000000000000
--- a/db/schema_migrations/20230530015535
+++ /dev/null
@@ -1 +0,0 @@
-29516b4b02e3feda356c99c7e0b3a1011de830c38781ad61ce4cb3650559e1ee
\ No newline at end of file
diff --git a/db/schema_migrations/20230530100400 b/db/schema_migrations/20230530100400
deleted file mode 100644
index c27ba5036fb3a..0000000000000
--- a/db/schema_migrations/20230530100400
+++ /dev/null
@@ -1 +0,0 @@
-b25dec0fa0c5fb952ba29561d9bbc9364e8459f8a381f776b6a2bd99100be239
\ No newline at end of file
diff --git a/db/schema_migrations/20230530112122 b/db/schema_migrations/20230530112122
deleted file mode 100644
index 6c8fc76ba3121..0000000000000
--- a/db/schema_migrations/20230530112122
+++ /dev/null
@@ -1 +0,0 @@
-f42b0e96388af93c226418f09c2b81a31677f9ba9fe10aa357f2b88ea1d415d8
\ No newline at end of file
diff --git a/db/schema_migrations/20230530112602 b/db/schema_migrations/20230530112602
deleted file mode 100644
index 4d1e17322d8d1..0000000000000
--- a/db/schema_migrations/20230530112602
+++ /dev/null
@@ -1 +0,0 @@
-81dca424fac6ac462d15b8bb03bb272de970f6a701b3cbd78e86587bfa2a5733
\ No newline at end of file
diff --git a/db/schema_migrations/20230530114845 b/db/schema_migrations/20230530114845
deleted file mode 100644
index 57327b544196f..0000000000000
--- a/db/schema_migrations/20230530114845
+++ /dev/null
@@ -1 +0,0 @@
-442196dbc3b0e8669e697971cf74b1235d35211ea6db1d861eca80dd277e7f9a
\ No newline at end of file
diff --git a/db/schema_migrations/20230530115830 b/db/schema_migrations/20230530115830
deleted file mode 100644
index 993715316855f..0000000000000
--- a/db/schema_migrations/20230530115830
+++ /dev/null
@@ -1 +0,0 @@
-6e78a4ca76337129033cc9660ac203eb12187665ab5bb404fe6d8e3e5764365b
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140456 b/db/schema_migrations/20230530140456
deleted file mode 100644
index c0655e8c696c3..0000000000000
--- a/db/schema_migrations/20230530140456
+++ /dev/null
@@ -1 +0,0 @@
-21784b0f64cadd7e042ef1f749734f36a9c75dab191b52b54abdf446ef0165ae
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140509 b/db/schema_migrations/20230530140509
deleted file mode 100644
index f841985a0289c..0000000000000
--- a/db/schema_migrations/20230530140509
+++ /dev/null
@@ -1 +0,0 @@
-4331529950dc93a211f0e367aa9b24beef89406c55f86d37848cad082d10cc4c
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140521 b/db/schema_migrations/20230530140521
deleted file mode 100644
index 3217b3d5f79d8..0000000000000
--- a/db/schema_migrations/20230530140521
+++ /dev/null
@@ -1 +0,0 @@
-14e7ccf0a930dde1369c7dcd0fc6a8719daccf461efbb2f6abb9ddc33beef670
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140534 b/db/schema_migrations/20230530140534
deleted file mode 100644
index 50232dfe0ca34..0000000000000
--- a/db/schema_migrations/20230530140534
+++ /dev/null
@@ -1 +0,0 @@
-2ffca5ebb17dacbea2ec15ba6496db4c1cf02501dcc420a5e2853792c78c1e61
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140546 b/db/schema_migrations/20230530140546
deleted file mode 100644
index 9e7a59023a89c..0000000000000
--- a/db/schema_migrations/20230530140546
+++ /dev/null
@@ -1 +0,0 @@
-3be698933e9c19c8723bb02950bda4948fa2ba70782aee59e4103566cb38804f
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140558 b/db/schema_migrations/20230530140558
deleted file mode 100644
index 66d3798b6d902..0000000000000
--- a/db/schema_migrations/20230530140558
+++ /dev/null
@@ -1 +0,0 @@
-f8f4a9cc99a61bc5d9ab630e9d240470a7584e755277b73d8b434a1348b6063a
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140611 b/db/schema_migrations/20230530140611
deleted file mode 100644
index a34c2af36434f..0000000000000
--- a/db/schema_migrations/20230530140611
+++ /dev/null
@@ -1 +0,0 @@
-8ef2b55c4da3b3c5b975b9cc3e8d71c6db90a7f9288e6edb4fd828f82c545e11
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140623 b/db/schema_migrations/20230530140623
deleted file mode 100644
index 5a98eaf1236b0..0000000000000
--- a/db/schema_migrations/20230530140623
+++ /dev/null
@@ -1 +0,0 @@
-b0384e0289bb98ffde357520d553484146be9e1a91abc916a1ad5ecf41e57ae8
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140634 b/db/schema_migrations/20230530140634
deleted file mode 100644
index 81d15a8b79083..0000000000000
--- a/db/schema_migrations/20230530140634
+++ /dev/null
@@ -1 +0,0 @@
-fe8957b8fa9ecc302f622a6282633f6dc1b93c007f1d66a5bfc88154bbbf9e24
\ No newline at end of file
diff --git a/db/schema_migrations/20230530140646 b/db/schema_migrations/20230530140646
deleted file mode 100644
index f52e19736b140..0000000000000
--- a/db/schema_migrations/20230530140646
+++ /dev/null
@@ -1 +0,0 @@
-08044e26d8e3d1c721665541179a8d968db6b62d479d0761e66421df9e4c64d9
\ No newline at end of file
diff --git a/db/schema_migrations/20230530162437 b/db/schema_migrations/20230530162437
deleted file mode 100644
index 0669629e95aab..0000000000000
--- a/db/schema_migrations/20230530162437
+++ /dev/null
@@ -1 +0,0 @@
-b07828fad996d20f523d7d5b19da2c10e0faa3fe0784a8e314b6db077cbd99c8
\ No newline at end of file
diff --git a/db/schema_migrations/20230531054422 b/db/schema_migrations/20230531054422
deleted file mode 100644
index f038ca979e00b..0000000000000
--- a/db/schema_migrations/20230531054422
+++ /dev/null
@@ -1 +0,0 @@
-5fadce4dbc2280ca1d68f8271f4d44ea3c492769b65ebb1d8f2ae94cfb6d6c75
\ No newline at end of file
diff --git a/db/schema_migrations/20230531134916 b/db/schema_migrations/20230531134916
deleted file mode 100644
index 5cf00727101d3..0000000000000
--- a/db/schema_migrations/20230531134916
+++ /dev/null
@@ -1 +0,0 @@
-fc2e3d8e6aca7b00569340b0468488a4b0545b39e67857a5b40824f6d0a62a97
\ No newline at end of file
diff --git a/db/schema_migrations/20230531135001 b/db/schema_migrations/20230531135001
deleted file mode 100644
index 32850b297da14..0000000000000
--- a/db/schema_migrations/20230531135001
+++ /dev/null
@@ -1 +0,0 @@
-1a672c9412b8ceeec35fd375bf86dde325781c9cb94340995d2cab4bb804e4bf
\ No newline at end of file
diff --git a/db/schema_migrations/20230531142032 b/db/schema_migrations/20230531142032
deleted file mode 100644
index bae2817773a59..0000000000000
--- a/db/schema_migrations/20230531142032
+++ /dev/null
@@ -1 +0,0 @@
-3e77f991a4daa9756b541255e3b8da9d8accb52a5a4b625613771982e3dff3b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230531142053 b/db/schema_migrations/20230531142053
deleted file mode 100644
index 55da4601012df..0000000000000
--- a/db/schema_migrations/20230531142053
+++ /dev/null
@@ -1 +0,0 @@
-0a4b3b8848f486e34e1f0426bae4e15f67e851447fc3fe397cf2039e03b185b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230531164258 b/db/schema_migrations/20230531164258
deleted file mode 100644
index d83c75990cf47..0000000000000
--- a/db/schema_migrations/20230531164258
+++ /dev/null
@@ -1 +0,0 @@
-e149178598dcfaadb8c56107a0c3f4bff7a8e942968fb879c479c7d1a8cca401
\ No newline at end of file
diff --git a/db/schema_migrations/20230531165731 b/db/schema_migrations/20230531165731
deleted file mode 100644
index 6463d3cf3b3f3..0000000000000
--- a/db/schema_migrations/20230531165731
+++ /dev/null
@@ -1 +0,0 @@
-83ec5273ae18c7dc8f554373df9c09e5b771912d5f093f455dd1e919a680e6ca
\ No newline at end of file
diff --git a/db/schema_migrations/20230601035558 b/db/schema_migrations/20230601035558
deleted file mode 100644
index ca8db670ce66a..0000000000000
--- a/db/schema_migrations/20230601035558
+++ /dev/null
@@ -1 +0,0 @@
-fd3d95427744b03f8bf58a5b172ad05f26ef6d1855440c39524b9e9d92617c3a
\ No newline at end of file
diff --git a/db/schema_migrations/20230601084041 b/db/schema_migrations/20230601084041
deleted file mode 100644
index 7eac90f4c337b..0000000000000
--- a/db/schema_migrations/20230601084041
+++ /dev/null
@@ -1 +0,0 @@
-c64ff0998a0cd143f98c3b2461f71ddadafac5e3834c6980d658e390d1533dd9
\ No newline at end of file
diff --git a/db/schema_migrations/20230601085810 b/db/schema_migrations/20230601085810
deleted file mode 100644
index 097289312cf90..0000000000000
--- a/db/schema_migrations/20230601085810
+++ /dev/null
@@ -1 +0,0 @@
-a4a4414391127d2397a77b71268293b3138e3b8a9339e9b330dd39546c84c20d
\ No newline at end of file
diff --git a/db/schema_migrations/20230601085815 b/db/schema_migrations/20230601085815
deleted file mode 100644
index 976aff98227c4..0000000000000
--- a/db/schema_migrations/20230601085815
+++ /dev/null
@@ -1 +0,0 @@
-6f01da9082c19f595e17fbcb4c07c6c8d87b68fa7b1ce0083bad5f4e77841d4e
\ No newline at end of file
diff --git a/db/schema_migrations/20230601085820 b/db/schema_migrations/20230601085820
deleted file mode 100644
index 8a84b934500c7..0000000000000
--- a/db/schema_migrations/20230601085820
+++ /dev/null
@@ -1 +0,0 @@
-55ced52ffaf54ecf9b2c97b1088bef1210208227a7a46ddfaca1bf6c70873462
\ No newline at end of file
diff --git a/db/schema_migrations/20230601184234 b/db/schema_migrations/20230601184234
deleted file mode 100644
index 1b490eaf30dd4..0000000000000
--- a/db/schema_migrations/20230601184234
+++ /dev/null
@@ -1 +0,0 @@
-4dcfbb2dc0168ab14a30e27d655910a56c2ad2585a4769ebceb22077dd8dd839
\ No newline at end of file
diff --git a/db/schema_migrations/20230602063059 b/db/schema_migrations/20230602063059
deleted file mode 100644
index 53ae46fb8f587..0000000000000
--- a/db/schema_migrations/20230602063059
+++ /dev/null
@@ -1 +0,0 @@
-915530f0de68a448bb9c88572896dc0979a38b5624dc5006811a4c635e35c71e
\ No newline at end of file
diff --git a/db/schema_migrations/20230602112904 b/db/schema_migrations/20230602112904
deleted file mode 100644
index 9384d768b547d..0000000000000
--- a/db/schema_migrations/20230602112904
+++ /dev/null
@@ -1 +0,0 @@
-de2fe5c2a2669efb9ed0e17442e11a6e1d85d2eabe5e8a9810251e2bc85d4466
\ No newline at end of file
diff --git a/db/schema_migrations/20230602131429 b/db/schema_migrations/20230602131429
deleted file mode 100644
index f0b2a856eca0d..0000000000000
--- a/db/schema_migrations/20230602131429
+++ /dev/null
@@ -1 +0,0 @@
-0e1fe8e6e8367a7b000e622636125db9c43463e789bbb97774407506500bd0cd
\ No newline at end of file
diff --git a/db/schema_migrations/20230603174306 b/db/schema_migrations/20230603174306
deleted file mode 100644
index 04cbccbd92d9d..0000000000000
--- a/db/schema_migrations/20230603174306
+++ /dev/null
@@ -1 +0,0 @@
-454e3d39b12034fc319c528d7bca658b066bf150b9e75f3d51af127fe1f46289
\ No newline at end of file
diff --git a/db/schema_migrations/20230605043258 b/db/schema_migrations/20230605043258
deleted file mode 100644
index 54c14183c514d..0000000000000
--- a/db/schema_migrations/20230605043258
+++ /dev/null
@@ -1 +0,0 @@
-c2c3012773050935afbcaaf1ca223e94d8fed23b079e00a95d423f4d3d53cf60
\ No newline at end of file
diff --git a/db/schema_migrations/20230605043814 b/db/schema_migrations/20230605043814
deleted file mode 100644
index 067917a1bd2a6..0000000000000
--- a/db/schema_migrations/20230605043814
+++ /dev/null
@@ -1 +0,0 @@
-f03ee1653d68dee14261380f8dd270d849133c33403eceb310999bc22cbe4084
\ No newline at end of file
diff --git a/db/schema_migrations/20230605085936 b/db/schema_migrations/20230605085936
deleted file mode 100644
index f8b9df81c0da5..0000000000000
--- a/db/schema_migrations/20230605085936
+++ /dev/null
@@ -1 +0,0 @@
-8e78d4837a56de399861b4ec7ef4052a5df486834f8a97496a9bc51765413379
\ No newline at end of file
diff --git a/db/schema_migrations/20230605085957 b/db/schema_migrations/20230605085957
deleted file mode 100644
index be5ad58e0f31c..0000000000000
--- a/db/schema_migrations/20230605085957
+++ /dev/null
@@ -1 +0,0 @@
-bfe04f7c677a6703fc1476079c8f2f48c860747a73c4d16d58bebee31fff5ec9
\ No newline at end of file
diff --git a/db/schema_migrations/20230605093005 b/db/schema_migrations/20230605093005
deleted file mode 100644
index 273961a1f40f9..0000000000000
--- a/db/schema_migrations/20230605093005
+++ /dev/null
@@ -1 +0,0 @@
-df354a2edec37d3b09bc9deebe895637f8a86c90ffb2569cefe6d791458a65ba
\ No newline at end of file
diff --git a/db/schema_migrations/20230605095810 b/db/schema_migrations/20230605095810
deleted file mode 100644
index 7d8d7bb7fd588..0000000000000
--- a/db/schema_migrations/20230605095810
+++ /dev/null
@@ -1 +0,0 @@
-8703eac92c20c68dc7ff20a94b788e1c5115c2e5b6b665ada428cfa24a5958db
\ No newline at end of file
diff --git a/db/schema_migrations/20230605192000 b/db/schema_migrations/20230605192000
deleted file mode 100644
index 503275e177fea..0000000000000
--- a/db/schema_migrations/20230605192000
+++ /dev/null
@@ -1 +0,0 @@
-854fe8f8aacba841ee3e7c89624bcde6951e71a936fd48e7fd871dd4232269f3
\ No newline at end of file
diff --git a/db/schema_migrations/20230606124754 b/db/schema_migrations/20230606124754
deleted file mode 100644
index 28485780317c9..0000000000000
--- a/db/schema_migrations/20230606124754
+++ /dev/null
@@ -1 +0,0 @@
-490dc775459b89701c9531c7d10698734e47bd22a17aca07df12f8ac5a6d38e9
\ No newline at end of file
diff --git a/db/schema_migrations/20230606124854 b/db/schema_migrations/20230606124854
deleted file mode 100644
index db75e3358c4e0..0000000000000
--- a/db/schema_migrations/20230606124854
+++ /dev/null
@@ -1 +0,0 @@
-dd1cf7175a283e60af315372d96ea6836aff4e678830ab9b9d8e3367dc351c92
\ No newline at end of file
diff --git a/db/schema_migrations/20230606124855 b/db/schema_migrations/20230606124855
deleted file mode 100644
index 2d919d1a1c41b..0000000000000
--- a/db/schema_migrations/20230606124855
+++ /dev/null
@@ -1 +0,0 @@
-afe649b351bee4ec7152d465a73c35e4356d947c25fec727db2b4e38f268da41
\ No newline at end of file
diff --git a/db/schema_migrations/20230606124856 b/db/schema_migrations/20230606124856
deleted file mode 100644
index 1b81ad76033b1..0000000000000
--- a/db/schema_migrations/20230606124856
+++ /dev/null
@@ -1 +0,0 @@
-df3b650081b827ab465aa0bf35b30a8fcb81a0c3609caecfa30e71d71761c809
\ No newline at end of file
diff --git a/db/schema_migrations/20230606182433 b/db/schema_migrations/20230606182433
deleted file mode 100644
index e08f3f5fdc18b..0000000000000
--- a/db/schema_migrations/20230606182433
+++ /dev/null
@@ -1 +0,0 @@
-987987571003b905a1f05c07fbe4119bdb077c54752a7379499969c6979964a1
\ No newline at end of file
diff --git a/db/schema_migrations/20230606183327 b/db/schema_migrations/20230606183327
deleted file mode 100644
index d3d4b811eea03..0000000000000
--- a/db/schema_migrations/20230606183327
+++ /dev/null
@@ -1 +0,0 @@
-a6fbd8a132215155117646648c8d44af158c2578563fc02d7705b8608b61eee4
\ No newline at end of file
diff --git a/db/schema_migrations/20230606193037 b/db/schema_migrations/20230606193037
deleted file mode 100644
index 181a1a89ef9b0..0000000000000
--- a/db/schema_migrations/20230606193037
+++ /dev/null
@@ -1 +0,0 @@
-0537c5c23fc1a7e65780157a9bc4ee8db8a5d064779832c699222c5ab2e6e0eb
\ No newline at end of file
diff --git a/db/schema_migrations/20230607080200 b/db/schema_migrations/20230607080200
deleted file mode 100644
index 40d108b35903a..0000000000000
--- a/db/schema_migrations/20230607080200
+++ /dev/null
@@ -1 +0,0 @@
-056459290c9fdced219b524418237e183540aa1aa97c9e3aeab637a005a04bea
\ No newline at end of file
diff --git a/db/schema_migrations/20230607093222 b/db/schema_migrations/20230607093222
deleted file mode 100644
index 94230685b2ce8..0000000000000
--- a/db/schema_migrations/20230607093222
+++ /dev/null
@@ -1 +0,0 @@
-f2357daf5c6e21e2695987894aec547b44bb792b087dd0a46eee0b51f66285fe
\ No newline at end of file
diff --git a/db/schema_migrations/20230607101334 b/db/schema_migrations/20230607101334
deleted file mode 100644
index b77753aeb929f..0000000000000
--- a/db/schema_migrations/20230607101334
+++ /dev/null
@@ -1 +0,0 @@
-b806f1e1cd7aed2400b8cdfae6abaa0a71ea4ac3e3280fb7b188104356b14eef
\ No newline at end of file
diff --git a/db/schema_migrations/20230607102017 b/db/schema_migrations/20230607102017
deleted file mode 100644
index a753dd25d8679..0000000000000
--- a/db/schema_migrations/20230607102017
+++ /dev/null
@@ -1 +0,0 @@
-ba5e05f3be87f4e7176eadb1f560fd7da45ab5a44d2928c811316a6ddef2c798
\ No newline at end of file
diff --git a/db/schema_migrations/20230607102721 b/db/schema_migrations/20230607102721
deleted file mode 100644
index 4fd49784c7f9a..0000000000000
--- a/db/schema_migrations/20230607102721
+++ /dev/null
@@ -1 +0,0 @@
-78c1ea40259ac9f6d4087d24ce5f3b4be13009a93c8fab88594bcd64859c7ec5
\ No newline at end of file
diff --git a/db/schema_migrations/20230607102731 b/db/schema_migrations/20230607102731
deleted file mode 100644
index be16c7c03a9f1..0000000000000
--- a/db/schema_migrations/20230607102731
+++ /dev/null
@@ -1 +0,0 @@
-8b9382a9d76f6decebb19a8268c58bd3ee2bb9a83b2d79e541e47987211e41f7
\ No newline at end of file
diff --git a/db/schema_migrations/20230607165632 b/db/schema_migrations/20230607165632
deleted file mode 100644
index f3bf5f7152114..0000000000000
--- a/db/schema_migrations/20230607165632
+++ /dev/null
@@ -1 +0,0 @@
-97cb755e20cebc2517a73aed85491fb6348a49cbf97c4f3e02e6e0d700c7ad27
\ No newline at end of file
diff --git a/db/schema_migrations/20230607165718 b/db/schema_migrations/20230607165718
deleted file mode 100644
index 1e82b3551bb0c..0000000000000
--- a/db/schema_migrations/20230607165718
+++ /dev/null
@@ -1 +0,0 @@
-5952f90d7d6b6e98d25ff85ac98299bb8b274cdaaacae7d9dff91226733aa32b
\ No newline at end of file
diff --git a/db/schema_migrations/20230608071301 b/db/schema_migrations/20230608071301
deleted file mode 100644
index c990876d02917..0000000000000
--- a/db/schema_migrations/20230608071301
+++ /dev/null
@@ -1 +0,0 @@
-1b351251391721ad1663e3a520cdde8520378b1b6a3496339f1cdaaaa04310bc
\ No newline at end of file
diff --git a/db/schema_migrations/20230608081257 b/db/schema_migrations/20230608081257
deleted file mode 100644
index 1e637e22e144d..0000000000000
--- a/db/schema_migrations/20230608081257
+++ /dev/null
@@ -1 +0,0 @@
-cba57f523bb3d233ce1f7a0447ee25e37dafcd4ae3cd8a02ef052136e36b0938
\ No newline at end of file
diff --git a/db/schema_migrations/20230608081924 b/db/schema_migrations/20230608081924
deleted file mode 100644
index 1db529907a1f6..0000000000000
--- a/db/schema_migrations/20230608081924
+++ /dev/null
@@ -1 +0,0 @@
-24b2ac86b56c1eb32409d921dfba52dc9f9ba6817c9aa19ae5058d46926e79ce
\ No newline at end of file
diff --git a/db/schema_migrations/20230608101503 b/db/schema_migrations/20230608101503
deleted file mode 100644
index ee470820d86ec..0000000000000
--- a/db/schema_migrations/20230608101503
+++ /dev/null
@@ -1 +0,0 @@
-28a1bb5c35d928096f8a6165747934f1d76d9ebcc5fa6891ffc66de6f7413bfe
\ No newline at end of file
diff --git a/db/schema_migrations/20230608195429 b/db/schema_migrations/20230608195429
deleted file mode 100644
index 98160bb833a85..0000000000000
--- a/db/schema_migrations/20230608195429
+++ /dev/null
@@ -1 +0,0 @@
-d197bce429eac614d825a6e4a21d302b426dd17221e5fb0eb09a7bb39f140679
\ No newline at end of file
diff --git a/db/schema_migrations/20230608231452 b/db/schema_migrations/20230608231452
deleted file mode 100644
index 5fabdf1da3bc0..0000000000000
--- a/db/schema_migrations/20230608231452
+++ /dev/null
@@ -1 +0,0 @@
-23a2b03a241a52dd898d55b4440195dee84d1bf638176a1c56d5ea27ecf895e4
\ No newline at end of file
diff --git a/db/schema_migrations/20230608232452 b/db/schema_migrations/20230608232452
deleted file mode 100644
index 16d8725ff865c..0000000000000
--- a/db/schema_migrations/20230608232452
+++ /dev/null
@@ -1 +0,0 @@
-525048a3306c63d37d30d93377e4210c0bf65d680d0191b6981f464829e502bb
\ No newline at end of file
diff --git a/db/schema_migrations/20230608233452 b/db/schema_migrations/20230608233452
deleted file mode 100644
index 5a87b7fd02794..0000000000000
--- a/db/schema_migrations/20230608233452
+++ /dev/null
@@ -1 +0,0 @@
-d87c28da8a8155060b2913e7e2fea95353c6512bc013a50f6b3360332307c930
\ No newline at end of file
diff --git a/db/schema_migrations/20230608234452 b/db/schema_migrations/20230608234452
deleted file mode 100644
index 5cace1b63359d..0000000000000
--- a/db/schema_migrations/20230608234452
+++ /dev/null
@@ -1 +0,0 @@
-2d03e7e6d73f655b164251c7b504d695179a345f88cdea9304dc0efec94b573d
\ No newline at end of file
diff --git a/db/schema_migrations/20230608235452 b/db/schema_migrations/20230608235452
deleted file mode 100644
index 34ed071830cc8..0000000000000
--- a/db/schema_migrations/20230608235452
+++ /dev/null
@@ -1 +0,0 @@
-570b154e7c912e75b7ffb899b809eb5aeead6c6fc8b427db8342a5df25a0734b
\ No newline at end of file
diff --git a/db/schema_migrations/20230609000452 b/db/schema_migrations/20230609000452
deleted file mode 100644
index acd2130c554ae..0000000000000
--- a/db/schema_migrations/20230609000452
+++ /dev/null
@@ -1 +0,0 @@
-4ebf7479ab3d40be6b8dbcfad034c62ce6cd66a9118da85f8344e68b5bfc08b5
\ No newline at end of file
diff --git a/db/schema_migrations/20230609001452 b/db/schema_migrations/20230609001452
deleted file mode 100644
index 1173e2f9cbe7b..0000000000000
--- a/db/schema_migrations/20230609001452
+++ /dev/null
@@ -1 +0,0 @@
-ed093ce5b064fbd7f5ac99ae8add45a2ccf1e4a4911086a11517d0f99644299d
\ No newline at end of file
diff --git a/db/schema_migrations/20230609002452 b/db/schema_migrations/20230609002452
deleted file mode 100644
index e9a16c956c701..0000000000000
--- a/db/schema_migrations/20230609002452
+++ /dev/null
@@ -1 +0,0 @@
-d516424bba378d9857c5807b9cef648ee4fe13531207c9aae91ece58894151d8
\ No newline at end of file
diff --git a/db/schema_migrations/20230609003452 b/db/schema_migrations/20230609003452
deleted file mode 100644
index e920a9ef97c8e..0000000000000
--- a/db/schema_migrations/20230609003452
+++ /dev/null
@@ -1 +0,0 @@
-a3a08d3d10ca4e0e2a0d382a222ca4438313d4ee9a8998cbe2348a37517ef3ff
\ No newline at end of file
diff --git a/db/schema_migrations/20230609004452 b/db/schema_migrations/20230609004452
deleted file mode 100644
index f79d7a39587b5..0000000000000
--- a/db/schema_migrations/20230609004452
+++ /dev/null
@@ -1 +0,0 @@
-a5e5bc6b56f1134d94d46b084172961869bb6f7d5d5d828ba5f076dd9cf9a2ad
\ No newline at end of file
diff --git a/db/schema_migrations/20230609005452 b/db/schema_migrations/20230609005452
deleted file mode 100644
index d2f249b31bdc2..0000000000000
--- a/db/schema_migrations/20230609005452
+++ /dev/null
@@ -1 +0,0 @@
-c66905576a5cdbf1f299fa6af77414ef889b108e0212f7ce9e6e9f132c134af9
\ No newline at end of file
diff --git a/db/schema_migrations/20230609010452 b/db/schema_migrations/20230609010452
deleted file mode 100644
index 2d5e64b037f13..0000000000000
--- a/db/schema_migrations/20230609010452
+++ /dev/null
@@ -1 +0,0 @@
-c4f9c35213d69b2285fecf253bd3d50c962c55a3cfc4b50c3905571e6c99e9b6
\ No newline at end of file
diff --git a/db/schema_migrations/20230609011452 b/db/schema_migrations/20230609011452
deleted file mode 100644
index 826750c912f17..0000000000000
--- a/db/schema_migrations/20230609011452
+++ /dev/null
@@ -1 +0,0 @@
-32adffeb44d662bb83d3685820bf2d149963b09ff25488586cbb0ad81fe5672f
\ No newline at end of file
diff --git a/db/schema_migrations/20230609085234 b/db/schema_migrations/20230609085234
deleted file mode 100644
index 0fbe9b8d2073d..0000000000000
--- a/db/schema_migrations/20230609085234
+++ /dev/null
@@ -1 +0,0 @@
-8fe12238b9e06a72c43f307f54aa75ef115f2885c8d7a5b42fa5dec7ff2a384a
\ No newline at end of file
diff --git a/db/schema_migrations/20230609115844 b/db/schema_migrations/20230609115844
deleted file mode 100644
index 14e4983cb1f2c..0000000000000
--- a/db/schema_migrations/20230609115844
+++ /dev/null
@@ -1 +0,0 @@
-07d0936d683690e32c1d7843a00e5f6070dcb2bfe0b52f6d1a72ea8d2f9d6b61
\ No newline at end of file
diff --git a/db/schema_migrations/20230612072807 b/db/schema_migrations/20230612072807
deleted file mode 100644
index 1ebfdb2047dd1..0000000000000
--- a/db/schema_migrations/20230612072807
+++ /dev/null
@@ -1 +0,0 @@
-bad7f2ba1016d7a1c81e4f1ce390cf669f128f9ac368f7b1b091a73f1d1230cc
\ No newline at end of file
diff --git a/db/schema_migrations/20230612075608 b/db/schema_migrations/20230612075608
deleted file mode 100644
index ec86690f7c9e0..0000000000000
--- a/db/schema_migrations/20230612075608
+++ /dev/null
@@ -1 +0,0 @@
-c1bd88e757c7c08d340066201e3cba4fe23c1d0e78b7a4fbca0e7c9d87df802e
\ No newline at end of file
diff --git a/db/schema_migrations/20230612083337 b/db/schema_migrations/20230612083337
deleted file mode 100644
index 928a485a27c87..0000000000000
--- a/db/schema_migrations/20230612083337
+++ /dev/null
@@ -1 +0,0 @@
-21ad4cb522f5a7bb8f4d5883be0d195968206af01051bc4288d287dc15e87572
\ No newline at end of file
diff --git a/db/schema_migrations/20230612083655 b/db/schema_migrations/20230612083655
deleted file mode 100644
index 2e9f6e55c2a09..0000000000000
--- a/db/schema_migrations/20230612083655
+++ /dev/null
@@ -1 +0,0 @@
-dbe7656846b46a8e4e7c4b4d04ae034d08eb35b7bad1b530e428c2725542fe43
\ No newline at end of file
diff --git a/db/schema_migrations/20230612083810 b/db/schema_migrations/20230612083810
deleted file mode 100644
index c5bffbc4d2608..0000000000000
--- a/db/schema_migrations/20230612083810
+++ /dev/null
@@ -1 +0,0 @@
-fe353050a5b4e9650e5ba4985668958032ac105c9cff86d75c974e567bfe9074
\ No newline at end of file
diff --git a/db/schema_migrations/20230612084013 b/db/schema_migrations/20230612084013
deleted file mode 100644
index 078054b88a33e..0000000000000
--- a/db/schema_migrations/20230612084013
+++ /dev/null
@@ -1 +0,0 @@
-3c03bbb4082c8b0e42197a4bc9ad80aa3dcfa09d8e183fdaa503278ec5db79be
\ No newline at end of file
diff --git a/db/schema_migrations/20230612162643 b/db/schema_migrations/20230612162643
deleted file mode 100644
index f6591703cde43..0000000000000
--- a/db/schema_migrations/20230612162643
+++ /dev/null
@@ -1 +0,0 @@
-3bddacf1e0535168b890b48528a92847a335db3e71dd70f2d5763488e65db0c9
\ No newline at end of file
diff --git a/db/schema_migrations/20230614073136 b/db/schema_migrations/20230614073136
deleted file mode 100644
index 26a818571a75d..0000000000000
--- a/db/schema_migrations/20230614073136
+++ /dev/null
@@ -1 +0,0 @@
-79f18af7750cabcdfe7f7b54c745cce14c1ece44c6cdb5c7d7760784bcb4ee0c
\ No newline at end of file
diff --git a/db/schema_migrations/20230614181637 b/db/schema_migrations/20230614181637
deleted file mode 100644
index 0cd4d1d26d369..0000000000000
--- a/db/schema_migrations/20230614181637
+++ /dev/null
@@ -1 +0,0 @@
-a4587f858d87d2a79607a6449201524a62fff8edef613ad4b5d0b46da08742ab
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083713 b/db/schema_migrations/20230615083713
deleted file mode 100644
index bba2480cbf8d3..0000000000000
--- a/db/schema_migrations/20230615083713
+++ /dev/null
@@ -1 +0,0 @@
-a65e4718899a9339ef47da715f1fe48e20142b634bb95b0db70d2e4b6c5cc103
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083715 b/db/schema_migrations/20230615083715
deleted file mode 100644
index e4ad899ae832a..0000000000000
--- a/db/schema_migrations/20230615083715
+++ /dev/null
@@ -1 +0,0 @@
-e5ba43d180f8761c1892541ab4ca38c178bd3768f5ca0b9cfa977309306d600f
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083720 b/db/schema_migrations/20230615083720
deleted file mode 100644
index f8f60a3dce4c9..0000000000000
--- a/db/schema_migrations/20230615083720
+++ /dev/null
@@ -1 +0,0 @@
-96ad4cbf0debff7b289fa59b4af6164cd06226972ba55fbe696ad0e4c73eea0e
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083725 b/db/schema_migrations/20230615083725
deleted file mode 100644
index 6ac0680cf6a99..0000000000000
--- a/db/schema_migrations/20230615083725
+++ /dev/null
@@ -1 +0,0 @@
-c9e40d4c7d14b0914d520a8b425a8805e25e43beaea9b9a21a76e94c77431f79
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083730 b/db/schema_migrations/20230615083730
deleted file mode 100644
index 42e2d42e1f912..0000000000000
--- a/db/schema_migrations/20230615083730
+++ /dev/null
@@ -1 +0,0 @@
-694a5369b0d8536402e0fe1091413bd20f978035fa0f2ba0487d5287ffc6fe19
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083734 b/db/schema_migrations/20230615083734
deleted file mode 100644
index 98b8e15bb8d84..0000000000000
--- a/db/schema_migrations/20230615083734
+++ /dev/null
@@ -1 +0,0 @@
-c871540f13d8d0ee7945ff1dd625ace59ec2b1f0907701ba7ff62d411bd51dac
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083738 b/db/schema_migrations/20230615083738
deleted file mode 100644
index e11c8271bf3c2..0000000000000
--- a/db/schema_migrations/20230615083738
+++ /dev/null
@@ -1 +0,0 @@
-5eb86fcc023323c515964827c44052b5b6d8b6b216b3ccbde8b2e2033fd72180
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083741 b/db/schema_migrations/20230615083741
deleted file mode 100644
index d283365a0572a..0000000000000
--- a/db/schema_migrations/20230615083741
+++ /dev/null
@@ -1 +0,0 @@
-86407b35a175581e639e9e7d537e5655a80cf998f7c46e17b011b4f0241ffd5c
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083744 b/db/schema_migrations/20230615083744
deleted file mode 100644
index 6a09de1bf8a19..0000000000000
--- a/db/schema_migrations/20230615083744
+++ /dev/null
@@ -1 +0,0 @@
-0bfa09f5e8290de7dc2931b1ef6f5259653619cb4a722a04dc58c3c98eb523e4
\ No newline at end of file
diff --git a/db/schema_migrations/20230615083748 b/db/schema_migrations/20230615083748
deleted file mode 100644
index 115ecab5e8a14..0000000000000
--- a/db/schema_migrations/20230615083748
+++ /dev/null
@@ -1 +0,0 @@
-c18fe1c9744ebb939972f561f1de88afafedd0bba61b190d5fce4df25bd2d9f7
\ No newline at end of file
diff --git a/db/schema_migrations/20230615202125 b/db/schema_migrations/20230615202125
deleted file mode 100644
index fc64742291df1..0000000000000
--- a/db/schema_migrations/20230615202125
+++ /dev/null
@@ -1 +0,0 @@
-99ecaa37e4b47b15fafb593e9af6bcf37f393dd10ecfdbd11a196c4700ab9571
\ No newline at end of file
diff --git a/db/schema_migrations/20230615202511 b/db/schema_migrations/20230615202511
deleted file mode 100644
index 391fa51d1f99d..0000000000000
--- a/db/schema_migrations/20230615202511
+++ /dev/null
@@ -1 +0,0 @@
-eb2627c95cf579d4c8a0eaa239093b0b3badbf666c257425bcb5d5a47cbf7d87
\ No newline at end of file
diff --git a/ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb b/ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb
index d0b50c73cd654..65bf3ace23c27 100644
--- a/ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb
+++ b/ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillProjectStatisticsStorageSizeWithoutUploadsSize, :migration, schema: 20230216060333, feature_category: :consumables_cost_management do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::BackfillProjectStatisticsStorageSizeWithoutUploadsSize, :migration, schema: 20230616082958, feature_category: :consumables_cost_management do # rubocop:disable Layout/LineLength
   include MigrationHelpers::ProjectStatisticsHelper
 
   let!(:namespace) { table(:namespaces) }
diff --git a/ee/spec/migrations/20230113201308_backfill_namespace_ldap_settings_spec.rb b/ee/spec/migrations/20230113201308_backfill_namespace_ldap_settings_spec.rb
deleted file mode 100644
index c26ccbe2e4a97..0000000000000
--- a/ee/spec/migrations/20230113201308_backfill_namespace_ldap_settings_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe BackfillNamespaceLdapSettings, feature_category: :system_access do
-  describe '#up' do
-    it 'schedules background migration' do
-      migrate!
-
-      expect(described_class::MIGRATION).to have_scheduled_batched_migration(
-        table_name: :namespaces,
-        column_name: :id,
-        interval: described_class::INTERVAL)
-    end
-  end
-
-  describe '#down' do
-    it 'does not schedule background migration' do
-      schema_migrate_down!
-
-      expect(described_class::MIGRATION).not_to have_scheduled_batched_migration(
-        table_name: :namespaces,
-        column_name: :id,
-        interval: described_class::INTERVAL)
-    end
-  end
-end
diff --git a/ee/spec/migrations/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug_spec.rb b/ee/spec/migrations/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug_spec.rb
deleted file mode 100644
index 9218260a3b65a..0000000000000
--- a/ee/spec/migrations/20230310213308_sync_security_policy_rule_schedules_that_may_have_been_deleted_by_a_bug_spec.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SyncSecurityPolicyRuleSchedulesThatMayHaveBeenDeletedByABug, feature_category: :security_policy_management do
-  let(:migration) { described_class.new }
-
-  let(:projects) { table(:projects) }
-  let(:namespaces) { table(:namespaces) }
-  let(:users) { table(:users) }
-  let(:security_orchestration_policy_configurations) { table(:security_orchestration_policy_configurations) }
-  let(:security_orchestration_policy_rule_schedules) { table(:security_orchestration_policy_rule_schedules) }
-
-  let(:user) { users.create!(name: 'Example User', email: 'user@example.com', projects_limit: 0) }
-  let(:namespace_1) { namespaces.create!(name: '1', path: '1') }
-  let(:namespace_2) { namespaces.create!(name: '2', path: '2') }
-  let(:namespace_3) { namespaces.create!(name: '3', path: '3') }
-  let(:project_1) { projects.create!(namespace_id: namespace_1.id, project_namespace_id: namespace_1.id) }
-  let(:project_2) { projects.create!(namespace_id: namespace_2.id, project_namespace_id: namespace_2.id) }
-  let(:project_3) { projects.create!(namespace_id: namespace_3.id, project_namespace_id: namespace_3.id) }
-  let(:policy_configuration_1) { create_policy_configuration(project_id: project_1.id) }
-  let(:policy_configuration_2) { create_policy_configuration(project_id: project_2.id) }
-  let(:policy_configuration_3) { create_policy_configuration(project_id: project_3.id) }
-
-  describe '#up' do
-    before do
-      # Not impacted by bug
-      create_rule_schedule(configuration_id: policy_configuration_1.id, policy_index: 0, rule_index: 0)
-
-      # Impacted by bug
-      create_rule_schedule(configuration_id: policy_configuration_2.id, policy_index: 1, rule_index: 0)
-      create_rule_schedule(configuration_id: policy_configuration_3.id, policy_index: 2, rule_index: 0)
-      create_rule_schedule(configuration_id: policy_configuration_3.id, policy_index: 2, rule_index: 1)
-    end
-
-    it 'bulk enqueues one SyncScanPoliciesWorker for each unique policy configuration id' do
-      expect(Security::SyncScanPoliciesWorker).to receive(:bulk_perform_async) do |args|
-        expect(args.length).to eq(2)
-        expect(args).to contain_exactly([policy_configuration_2.id], [policy_configuration_3.id])
-      end
-
-      migrate!
-    end
-  end
-
-  def create_policy_configuration(project_id:)
-    security_orchestration_policy_configurations.create!(
-      project_id: project_id,
-      security_policy_management_project_id: project_id
-    )
-  end
-
-  def create_rule_schedule(configuration_id:, policy_index:, rule_index:, user_id: user.id, cron: '*/15 * * * *')
-    security_orchestration_policy_rule_schedules.create!(
-      security_orchestration_policy_configuration_id: configuration_id,
-      user_id: user_id,
-      cron: cron,
-      policy_index: policy_index,
-      rule_index: rule_index
-    )
-  end
-end
diff --git a/ee/spec/migrations/20230403221928_resync_scan_result_policies_for_namespaces_spec.rb b/ee/spec/migrations/20230403221928_resync_scan_result_policies_for_namespaces_spec.rb
deleted file mode 100644
index 97e4741533a5b..0000000000000
--- a/ee/spec/migrations/20230403221928_resync_scan_result_policies_for_namespaces_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ResyncScanResultPoliciesForNamespaces, feature_category: :security_policy_management do
-  let(:migration) { described_class.new }
-
-  let(:projects) { table(:projects) }
-  let(:namespaces) { table(:namespaces) }
-  let(:security_orchestration_policy_configurations) { table(:security_orchestration_policy_configurations) }
-
-  let(:group_namespace_1) do
-    namespaces.create!(name: 'group_1', path: 'group_1', type: 'Group').tap do |group|
-      group.update!(traversal_ids: [group.id])
-    end
-  end
-
-  let(:group_namespace_2) do
-    namespaces.create!(name: 'group_2', path: 'group_2', type: 'Group').tap do |group|
-      group.update!(traversal_ids: [group.id])
-    end
-  end
-
-  let(:project_namespace_1) { namespaces.create!(name: '1', path: '1', type: 'Project', parent_id: group_namespace_1) }
-  let(:project_namespace_2) { namespaces.create!(name: '2', path: '2', type: 'Project', parent_id: group_namespace_2) }
-  let(:project_namespace_3) { namespaces.create!(name: '3', path: '3', type: 'Project', parent_id: group_namespace_2) }
-
-  let(:policy_project_namespace) { namespaces.create!(name: '4', path: '4', type: 'Project') }
-  let(:policy_project) do
-    projects.create!(
-      name: 'Policy Project',
-      namespace_id: policy_project_namespace.id,
-      project_namespace_id: policy_project_namespace.id
-    )
-  end
-
-  let(:project_1) { projects.create!(namespace_id: group_namespace_1.id, project_namespace_id: project_namespace_1.id) }
-  let(:project_2) { projects.create!(namespace_id: group_namespace_2.id, project_namespace_id: project_namespace_2.id) }
-  let(:project_3) { projects.create!(namespace_id: group_namespace_2.id, project_namespace_id: project_namespace_3.id) }
-
-  let(:project_policy_configuration) { create_policy_configuration(project_id: project_1.id) }
-  let(:namespace_policy_configuration_1) { create_policy_configuration(namespace_id: group_namespace_1.id) }
-  let(:namespace_policy_configuration_2) { create_policy_configuration(namespace_id: group_namespace_2.id) }
-
-  describe '#up' do
-    it 'enqueues ProcessScanResultPolicyWorker for each project of policy configuration namespace' do
-      expect(Security::ProcessScanResultPolicyWorker).to receive(:perform_async).with(project_1.id,
-        namespace_policy_configuration_1.id)
-      expect(Security::ProcessScanResultPolicyWorker).to receive(:perform_async).with(project_2.id,
-        namespace_policy_configuration_2.id)
-      expect(Security::ProcessScanResultPolicyWorker).to receive(:perform_async).with(project_3.id,
-        namespace_policy_configuration_2.id)
-
-      migrate!
-    end
-  end
-
-  def create_policy_configuration(policy_project_id: policy_project.id, project_id: nil, namespace_id: nil)
-    security_orchestration_policy_configurations.create!(
-      project_id: project_id,
-      namespace_id: namespace_id,
-      security_policy_management_project_id: policy_project_id
-    )
-  end
-end
diff --git a/ee/spec/migrations/20230501165244_remove_software_license_policies_without_scan_result_policy_id_spec.rb b/ee/spec/migrations/20230501165244_remove_software_license_policies_without_scan_result_policy_id_spec.rb
deleted file mode 100644
index d54167b5e4de3..0000000000000
--- a/ee/spec/migrations/20230501165244_remove_software_license_policies_without_scan_result_policy_id_spec.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveSoftwareLicensePoliciesWithoutScanResultPolicyId, feature_category: :security_policy_management do
-  let(:migration) { described_class.new }
-
-  let(:software_license_policies) { table(:software_license_policies) }
-  let(:projects) { table(:projects) }
-  let(:namespace) { table(:namespaces).create!(name: 'name', path: 'path') }
-  let(:project) { projects.create!(namespace_id: namespace.id, project_namespace_id: namespace.id) }
-  let(:scan_result_policies) { table(:scan_result_policies) }
-  let(:security_orchestration_policy_configurations) { table(:security_orchestration_policy_configurations) }
-  let(:software_licenses) { table(:software_licenses) }
-
-  let!(:security_orchestration_policy_configuration) do
-    security_orchestration_policy_configurations.create!(namespace_id: namespace.id,
-      security_policy_management_project_id: project.id)
-  end
-
-  let!(:scan_result_policy) do
-    scan_result_policies.create!(
-      security_orchestration_policy_configuration_id: security_orchestration_policy_configuration.id,
-      orchestration_policy_idx: 1)
-  end
-
-  let!(:spdx_identifier_license) { software_licenses.create!(name: 'spdx license') }
-
-  let!(:license_policy_with_scan_result_policy_id) do
-    software_license_policies.create!(project_id: project.id, software_license_id: spdx_identifier_license.id,
-      scan_result_policy_id: scan_result_policy.id)
-  end
-
-  describe '#up' do
-    context 'with orphan software licenses' do
-      let!(:license_policy_without_scan_result_policy_id) do
-        software_license_policies.create!(project_id: project.id, software_license_id: spdx_identifier_license.id)
-      end
-
-      it 'deletes only orphan software licenses' do
-        expect { migrate! }.to change { SoftwareLicensePolicy.count }.from(2).to(1)
-      end
-    end
-
-    context 'without orphan licenses' do
-      it 'does not delete any software license' do
-        expect { migrate! }.not_to change { SoftwareLicensePolicy.count }
-      end
-    end
-  end
-end
diff --git a/ee/spec/migrations/20230612162643_pm_checkpoints_remove_advisory_entries_spec.rb b/ee/spec/migrations/20230612162643_pm_checkpoints_remove_advisory_entries_spec.rb
deleted file mode 100644
index b230b1ae502fe..0000000000000
--- a/ee/spec/migrations/20230612162643_pm_checkpoints_remove_advisory_entries_spec.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe PmCheckpointsRemoveAdvisoryEntries, feature_category: :software_composition_analysis do
-  describe '#up' do
-    before do
-      PackageMetadata::Checkpoint.create!(data_type: Enums::PackageMetadata::DATA_TYPES[:advisories],
-        purl_type: 'npm', version_format: 'v1', sequence: 100, chunk: 100)
-      PackageMetadata::Checkpoint.create!(data_type: Enums::PackageMetadata::DATA_TYPES[:licenses],
-        purl_type: 'npm', version_format: 'v1', sequence: 1, chunk: 1)
-      PackageMetadata::Checkpoint.create!(data_type: Enums::PackageMetadata::DATA_TYPES[:licenses],
-        purl_type: 'npm', version_format: 'v2', sequence: 50, chunk: 50)
-    end
-
-    it 'updates checkpoint mislabeled as advisories' do
-      expect { migrate! }
-        .to change {
-          checkpoint = PackageMetadata::Checkpoint.find_by(
-            version_format: 'v1', data_type: Enums::PackageMetadata::DATA_TYPES[:licenses])
-          [checkpoint.sequence, checkpoint.chunk]
-        }
-        .from([1, 1])
-        .to([100, 100])
-    end
-
-    it 'removes all checkpoints with advisory data_type' do
-      expect { migrate! }
-        .to change {
-          PackageMetadata::Checkpoint.where(
-            version_format: 'v1', data_type: Enums::PackageMetadata::DATA_TYPES[:advisories]).size
-        }
-        .from(1)
-        .to(0)
-    end
-
-    it 'does not change checkpoints with version_formats other than v1' do
-      expect { migrate! }
-        .to not_change {
-          PackageMetadata::Checkpoint.where(version_format: 'v2').size
-        }
-    end
-  end
-end
diff --git a/ee/spec/migrations/cleanup_orphan_software_licenses_spec.rb b/ee/spec/migrations/cleanup_orphan_software_licenses_spec.rb
deleted file mode 100644
index 7f3284f52e27f..0000000000000
--- a/ee/spec/migrations/cleanup_orphan_software_licenses_spec.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe CleanupOrphanSoftwareLicenses, feature_category: :security_policy_management do
-  let(:migration) { described_class.new }
-
-  let(:software_licenses) { table(:software_licenses) }
-  let(:software_license_policies) { table(:software_license_policies) }
-  let(:projects) { table(:projects) }
-  let(:namespace) { table(:namespaces).create!(name: 'name', path: 'path') }
-  let(:project) { projects.create!(namespace_id: namespace.id, project_namespace_id: namespace.id) }
-
-  let!(:mit_license) { software_licenses.create!(name: 'mit', spdx_identifier: 'MIT') }
-
-  describe '#up' do
-    context 'with orphan software licenses' do
-      let!(:orphan_license) { software_licenses.create!(name: 'orphan license', spdx_identifier: nil) }
-
-      it 'deletes only orphan software licenses' do
-        expect { migrate! }.to change { SoftwareLicense.count }.from(2).to(1)
-      end
-    end
-
-    context 'without orphan licenses' do
-      it 'does not delete any software license' do
-        expect { migrate! }.not_to change { SoftwareLicense.count }
-      end
-    end
-
-    context 'with licenses without spdx_identifier that belong to a project' do
-      let!(:nil_spdx_identifier_license) { software_licenses.create!(name: 'nil spdx license', spdx_identifier: nil) }
-      let!(:license_policy) do
-        software_license_policies.create!(project_id: project.id, software_license_id: nil_spdx_identifier_license.id)
-      end
-
-      it 'deletes only software_licenses without spdx_identifier: nil that does not belong to any projects.' do
-        expect { migrate! }.not_to change { SoftwareLicense.count }
-      end
-    end
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/backfill_admin_mode_scope_for_personal_access_tokens_spec.rb b/spec/lib/gitlab/background_migration/backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
deleted file mode 100644
index 5aa02e5f8d778..0000000000000
--- a/spec/lib/gitlab/background_migration/backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::BackgroundMigration::BackfillAdminModeScopeForPersonalAccessTokens,
-  :migration, schema: 20230216060333, feature_category: :system_access do
-  let(:users) { table(:users) }
-  let(:personal_access_tokens) { table(:personal_access_tokens) }
-
-  let(:admin) { users.create!(name: 'admin', email: 'admin@example.com', projects_limit: 1, admin: true) }
-  let(:user) { users.create!(name: 'user', email: 'user@example.com', projects_limit: 1) }
-
-  let!(:pat_admin_1) { personal_access_tokens.create!(name: 'admin 1', user_id: admin.id, scopes: "---\n- api\n") }
-  let!(:pat_user) { personal_access_tokens.create!(name: 'user 1', user_id: user.id, scopes: "---\n- api\n") }
-  let!(:pat_revoked) do
-    personal_access_tokens.create!(name: 'admin 2', user_id: admin.id, scopes: "---\n- api\n", revoked: true)
-  end
-
-  let!(:pat_expired) do
-    personal_access_tokens.create!(name: 'admin 3', user_id: admin.id, scopes: "---\n- api\n", expires_at: 1.day.ago)
-  end
-
-  let!(:pat_admin_mode) do
-    personal_access_tokens.create!(name: 'admin 4', user_id: admin.id, scopes: "---\n- admin_mode\n")
-  end
-
-  let!(:pat_with_symbol_in_scopes) do
-    personal_access_tokens.create!(name: 'admin 5', user_id: admin.id, scopes: "---\n- :api\n")
-  end
-
-  let!(:pat_admin_2) { personal_access_tokens.create!(name: 'admin 6', user_id: admin.id, scopes: "---\n- read_api\n") }
-  let!(:pat_not_in_range) { personal_access_tokens.create!(name: 'admin 7', user_id: admin.id, scopes: "---\n- api\n") }
-
-  subject do
-    described_class.new(
-      start_id: pat_admin_1.id,
-      end_id: pat_admin_2.id,
-      batch_table: :personal_access_tokens,
-      batch_column: :id,
-      sub_batch_size: 1,
-      pause_ms: 0,
-      connection: ApplicationRecord.connection
-    )
-  end
-
-  it "adds `admin_mode` scope to active personal access tokens of administrators" do
-    subject.perform
-
-    expect(pat_admin_1.reload.scopes).to eq("---\n- api\n- admin_mode\n")
-    expect(pat_user.reload.scopes).to eq("---\n- api\n")
-    expect(pat_revoked.reload.scopes).to eq("---\n- api\n")
-    expect(pat_expired.reload.scopes).to eq("---\n- api\n")
-    expect(pat_admin_mode.reload.scopes).to eq("---\n- admin_mode\n")
-    expect(pat_with_symbol_in_scopes.reload.scopes).to eq("---\n- api\n- admin_mode\n")
-    expect(pat_admin_2.reload.scopes).to eq("---\n- read_api\n- admin_mode\n")
-    expect(pat_not_in_range.reload.scopes).to eq("---\n- api\n")
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/backfill_code_suggestions_namespace_settings_spec.rb b/spec/lib/gitlab/background_migration/backfill_code_suggestions_namespace_settings_spec.rb
index 1cfdf0ab09a3d..5df398b0d4470 100644
--- a/spec/lib/gitlab/background_migration/backfill_code_suggestions_namespace_settings_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_code_suggestions_namespace_settings_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillCodeSuggestionsNamespaceSettings, schema: 20230518071251, feature_category: :code_suggestions do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::BackfillCodeSuggestionsNamespaceSettings, schema: 20230616082958, feature_category: :code_suggestions do # rubocop:disable Layout/LineLength
   let(:namespaces_table) { table(:namespaces) }
   let(:namespace_settings_table) { table(:namespace_settings) }
 
diff --git a/spec/lib/gitlab/background_migration/backfill_design_management_repositories_spec.rb b/spec/lib/gitlab/background_migration/backfill_design_management_repositories_spec.rb
index 0cabdc78db836..1efe0bd8d049b 100644
--- a/spec/lib/gitlab/background_migration/backfill_design_management_repositories_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_design_management_repositories_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe(
   Gitlab::BackgroundMigration::BackfillDesignManagementRepositories,
-  schema: 20230406121544,
+  schema: 20230616082958,
   feature_category: :geo_replication
 ) do
   let!(:namespaces) { table(:namespaces) }
diff --git a/spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb b/spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb
index 3801ccf0f0d33..4247b5c54b105 100644
--- a/spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 RSpec.describe Gitlab::BackgroundMigration::BackfillEnvironmentTiers,
-  :migration, schema: 20230216060333, feature_category: :continuous_delivery do
+  :migration, schema: 20230616082958, feature_category: :continuous_delivery do
   let!(:namespace) { table(:namespaces).create!(name: 'user', path: 'user') }
   let!(:project) { table(:projects).create!(namespace_id: namespace.id, project_namespace_id: namespace.id) }
 
diff --git a/spec/lib/gitlab/background_migration/backfill_integrations_enable_ssl_verification_spec.rb b/spec/lib/gitlab/background_migration/backfill_integrations_enable_ssl_verification_spec.rb
index 9813e92edc054..9c71d8f1c9a18 100644
--- a/spec/lib/gitlab/background_migration/backfill_integrations_enable_ssl_verification_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_integrations_enable_ssl_verification_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillIntegrationsEnableSslVerification, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::BackfillIntegrationsEnableSslVerification, schema: 20230616082958 do
   let(:migration) { described_class.new }
   let(:integrations) { described_class::Integration }
 
diff --git a/spec/lib/gitlab/background_migration/backfill_namespace_id_of_vulnerability_reads_spec.rb b/spec/lib/gitlab/background_migration/backfill_namespace_id_of_vulnerability_reads_spec.rb
index f92ec7e028b56..4594d9c1ba523 100644
--- a/spec/lib/gitlab/background_migration/backfill_namespace_id_of_vulnerability_reads_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_namespace_id_of_vulnerability_reads_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillNamespaceIdOfVulnerabilityReads, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::BackfillNamespaceIdOfVulnerabilityReads, schema: 20230616082958 do
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
   let(:users) { table(:users) }
diff --git a/spec/lib/gitlab/background_migration/backfill_prepared_at_merge_requests_spec.rb b/spec/lib/gitlab/background_migration/backfill_prepared_at_merge_requests_spec.rb
index 28ecfae1bd4e3..8bc08c2196c3a 100644
--- a/spec/lib/gitlab/background_migration/backfill_prepared_at_merge_requests_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_prepared_at_merge_requests_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 RSpec.describe Gitlab::BackgroundMigration::BackfillPreparedAtMergeRequests, :migration,
-  feature_category: :code_review_workflow, schema: 20230202135758 do
+  feature_category: :code_review_workflow, schema: 20230616082958 do
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
   let(:mr_table) { table(:merge_requests) }
diff --git a/spec/lib/gitlab/background_migration/backfill_project_wiki_repositories_spec.rb b/spec/lib/gitlab/background_migration/backfill_project_wiki_repositories_spec.rb
index e81bd0604e632..5b946d91b66a1 100644
--- a/spec/lib/gitlab/background_migration/backfill_project_wiki_repositories_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_project_wiki_repositories_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe(
   Gitlab::BackgroundMigration::BackfillProjectWikiRepositories,
-  schema: 20230306195007,
+  schema: 20230616082958,
   feature_category: :geo_replication) do
   let!(:namespaces) { table(:namespaces) }
   let!(:projects) { table(:projects) }
diff --git a/spec/lib/gitlab/background_migration/backfill_releases_author_id_spec.rb b/spec/lib/gitlab/background_migration/backfill_releases_author_id_spec.rb
index b86cfa005cde8..43a35859807a3 100644
--- a/spec/lib/gitlab/background_migration/backfill_releases_author_id_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_releases_author_id_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 RSpec.describe Gitlab::BackgroundMigration::BackfillReleasesAuthorId,
-  :migration, schema: 20230216060333, feature_category: :release_orchestration do
+  :migration, schema: 20230616082958, feature_category: :release_orchestration do
   let(:releases_table) { table(:releases) }
   let(:user_table) { table(:users) }
   let(:date_time) { DateTime.now }
diff --git a/spec/lib/gitlab/background_migration/backfill_resource_link_events_spec.rb b/spec/lib/gitlab/background_migration/backfill_resource_link_events_spec.rb
index 4b8495cc00497..5c8fcb125eb61 100644
--- a/spec/lib/gitlab/background_migration/backfill_resource_link_events_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_resource_link_events_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillResourceLinkEvents, schema: 20230426085615, feature_category: :team_planning do
+RSpec.describe Gitlab::BackgroundMigration::BackfillResourceLinkEvents, schema: 20230616082958, feature_category: :team_planning do
   include MigrationHelpers::WorkItemTypesHelper
 
   let(:users) { table(:users) }
diff --git a/spec/lib/gitlab/background_migration/backfill_root_storage_statistics_fork_storage_sizes_spec.rb b/spec/lib/gitlab/background_migration/backfill_root_storage_statistics_fork_storage_sizes_spec.rb
index a464f89ee69e4..2d1fc7d49edfe 100644
--- a/spec/lib/gitlab/background_migration/backfill_root_storage_statistics_fork_storage_sizes_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_root_storage_statistics_fork_storage_sizes_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillRootStorageStatisticsForkStorageSizes, schema: 20230517163300, feature_category: :consumables_cost_management do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::BackfillRootStorageStatisticsForkStorageSizes, schema: 20230616082958, feature_category: :consumables_cost_management do # rubocop:disable Layout/LineLength
   describe '#perform' do
     let(:namespaces_table) { table(:namespaces) }
     let(:root_storage_statistics_table) { table(:namespace_root_storage_statistics) }
diff --git a/spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb b/spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb
deleted file mode 100644
index 06b66b599abaa..0000000000000
--- a/spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb
+++ /dev/null
@@ -1,350 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::BackgroundMigration::BackfillSnippetRepositories, :migration, schema: 20211202041233,
-  feature_category: :source_code_management do
-  let(:gitlab_shell) { Gitlab::Shell.new }
-  let(:users) { table(:users) }
-  let(:snippets) { table(:snippets) }
-  let(:snippet_repositories) { table(:snippet_repositories) }
-
-  let(:user_state) { 'active' }
-  let(:user_type) { nil }
-  let(:user_name) { 'Test' }
-
-  let!(:user) do
-    users.create!(
-      id: 1,
-      email: 'user@example.com',
-      projects_limit: 10,
-      username: 'test',
-      name: user_name,
-      state: user_state,
-      last_activity_on: 1.minute.ago,
-      user_type: user_type,
-      confirmed_at: 1.day.ago
-    )
-  end
-
-  let!(:migration_bot) do
-    users.create!(
-      id: 100,
-      email: "noreply+gitlab-migration-bot%s@#{Settings.gitlab.host}",
-      user_type: HasUserType::USER_TYPES[:migration_bot],
-      name: 'GitLab Migration Bot',
-      projects_limit: 10,
-      username: 'bot'
-    )
-  end
-
-  let!(:snippet_with_repo) { snippets.create!(id: 1, type: 'PersonalSnippet', author_id: user.id, file_name: file_name, content: content) }
-  let!(:snippet_with_empty_repo) { snippets.create!(id: 2, type: 'PersonalSnippet', author_id: user.id, file_name: file_name, content: content) }
-  let!(:snippet_without_repo) { snippets.create!(id: 3, type: 'PersonalSnippet', author_id: user.id, file_name: file_name, content: content) }
-
-  let(:file_name) { 'file_name.rb' }
-  let(:content) { 'content' }
-  let(:ids) { snippets.pick('MIN(id)', 'MAX(id)') }
-  let(:service) { described_class.new }
-
-  subject { service.perform(*ids) }
-
-  before do
-    allow(snippet_with_repo).to receive(:disk_path).and_return(disk_path(snippet_with_repo))
-
-    raw_repository(snippet_with_repo).create_from_bundle(TestEnv.factory_repo_bundle_path)
-    raw_repository(snippet_with_empty_repo).create_repository
-  end
-
-  after do
-    raw_repository(snippet_with_repo).remove
-    raw_repository(snippet_without_repo).remove
-    raw_repository(snippet_with_empty_repo).remove
-  end
-
-  describe '#perform' do
-    it 'logs successful migrated snippets' do
-      expect_next_instance_of(Gitlab::BackgroundMigration::Logger) do |instance|
-        expect(instance).to receive(:info).exactly(3).times
-      end
-
-      subject
-    end
-
-    context 'when snippet has a non empty repository' do
-      it 'does not perform any action' do
-        expect(service).not_to receive(:create_repository_and_files).with(snippet_with_repo)
-
-        subject
-      end
-    end
-
-    shared_examples 'migration_bot user commits files' do
-      before do
-        allow(Gitlab::CurrentSettings).to receive(:default_branch_name).and_return('main')
-      end
-
-      it do
-        subject
-
-        last_commit = raw_repository(snippet).commit
-
-        expect(last_commit.author_name).to eq migration_bot.name
-        expect(last_commit.author_email).to eq migration_bot.email
-      end
-    end
-
-    shared_examples 'commits the file to the repository' do
-      before do
-        allow(Gitlab::CurrentSettings).to receive(:default_branch_name).and_return('main')
-      end
-
-      context 'when author can update snippet and use git' do
-        it 'creates the repository and commit the file' do
-          subject
-
-          blob = blob_at(snippet, file_name)
-          last_commit = raw_repository(snippet).commit
-
-          aggregate_failures do
-            expect(blob).to be_present
-            expect(blob.data).to eq content
-            expect(last_commit.author_name).to eq user.name
-            expect(last_commit.author_email).to eq user.email
-          end
-        end
-      end
-
-      context 'when author cannot update snippet or use git' do
-        context 'when user is blocked' do
-          let(:user_state) { 'blocked' }
-
-          it_behaves_like 'migration_bot user commits files'
-        end
-
-        context 'when user is deactivated' do
-          let(:user_state) { 'deactivated' }
-
-          it_behaves_like 'migration_bot user commits files'
-        end
-
-        context 'when user is a ghost' do
-          let(:user_type) { HasUserType::USER_TYPES[:ghost] }
-
-          it_behaves_like 'migration_bot user commits files'
-        end
-      end
-    end
-
-    context 'when snippet has an empty repo' do
-      before do
-        expect(repository_exists?(snippet_with_empty_repo)).to be_truthy
-      end
-
-      it_behaves_like 'commits the file to the repository' do
-        let(:snippet) { snippet_with_empty_repo }
-      end
-    end
-
-    context 'when snippet does not have a repository' do
-      it 'creates the repository' do
-        expect { subject }.to change { repository_exists?(snippet_without_repo) }.from(false).to(true)
-      end
-
-      it_behaves_like 'commits the file to the repository' do
-        let(:snippet) { snippet_without_repo }
-      end
-    end
-
-    context 'when an error is raised' do
-      before do
-        allow(service).to receive(:create_commit).and_raise(StandardError)
-      end
-
-      it 'logs errors' do
-        expect_next_instance_of(Gitlab::BackgroundMigration::Logger) do |instance|
-          expect(instance).to receive(:error).exactly(3).times
-        end
-
-        subject
-      end
-
-      it "retries #{described_class::MAX_RETRIES} times the operation if it fails" do
-        expect(service).to receive(:create_commit).exactly(snippets.count * described_class::MAX_RETRIES).times
-
-        subject
-      end
-
-      it 'destroys the snippet repository' do
-        expect(service).to receive(:destroy_snippet_repository).exactly(3).times.and_call_original
-
-        subject
-
-        expect(snippet_repositories.count).to eq 0
-      end
-
-      it 'deletes the repository on disk' do
-        subject
-
-        aggregate_failures do
-          expect(repository_exists?(snippet_with_repo)).to be_falsey
-          expect(repository_exists?(snippet_without_repo)).to be_falsey
-          expect(repository_exists?(snippet_with_empty_repo)).to be_falsey
-        end
-      end
-    end
-
-    context 'with invalid file names' do
-      using RSpec::Parameterized::TableSyntax
-
-      where(:invalid_file_name, :converted_file_name) do
-        'filename.js // with comment'       | 'filename-js-with-comment'
-        '.git/hooks/pre-commit'             | 'git-hooks-pre-commit'
-        'https://gitlab.com'                | 'https-gitlab-com'
-        'html://web.title%mp4/mpg/mpeg.net' | 'html-web-title-mp4-mpg-mpeg-net'
-        '../../etc/passwd'                  | 'etc-passwd'
-        '.'                                 | 'snippetfile1.txt'
-      end
-
-      with_them do
-        let!(:snippet_with_invalid_path) { snippets.create!(id: 4, type: 'PersonalSnippet', author_id: user.id, file_name: invalid_file_name, content: content) }
-        let!(:snippet_with_valid_path) { snippets.create!(id: 5, type: 'PersonalSnippet', author_id: user.id, file_name: file_name, content: content) }
-        let(:ids) { [4, 5] }
-
-        after do
-          raw_repository(snippet_with_invalid_path).remove
-          raw_repository(snippet_with_valid_path).remove
-        end
-
-        it 'checks for file path errors when errors are raised' do
-          expect(service).to receive(:set_file_path_error).once.and_call_original
-
-          subject
-        end
-
-        it 'converts invalid filenames' do
-          subject
-
-          expect(blob_at(snippet_with_invalid_path, converted_file_name)).to be_present
-        end
-
-        it 'does not convert valid filenames on subsequent migrations' do
-          subject
-
-          expect(blob_at(snippet_with_valid_path, file_name)).to be_present
-        end
-      end
-    end
-
-    context 'when snippet content size is higher than the existing limit' do
-      let(:limit) { 15 }
-      let(:content) { 'a' * (limit + 1) }
-      let(:snippet) { snippet_without_repo }
-      let(:ids) { [snippet.id, snippet.id] }
-
-      before do
-        allow(Gitlab::CurrentSettings).to receive(:snippet_size_limit).and_return(limit)
-      end
-
-      it_behaves_like 'migration_bot user commits files'
-    end
-
-    context 'when user name is invalid' do
-      let(:user_name) { ',' }
-      let!(:snippet) { snippets.create!(id: 4, type: 'PersonalSnippet', author_id: user.id, file_name: file_name, content: content) }
-      let(:ids) { [4, 4] }
-
-      after do
-        raw_repository(snippet).remove
-      end
-
-      it_behaves_like 'migration_bot user commits files'
-    end
-
-    context 'when both user name and snippet file_name are invalid' do
-      let(:user_name) { ',' }
-      let!(:other_user) do
-        users.create!(
-          id: 2,
-          email: 'user2@example.com',
-          projects_limit: 10,
-          username: 'test2',
-          name: 'Test2',
-          state: user_state,
-          last_activity_on: 1.minute.ago,
-          user_type: user_type,
-          confirmed_at: 1.day.ago
-        )
-      end
-
-      let!(:invalid_snippet) { snippets.create!(id: 4, type: 'PersonalSnippet', author_id: user.id, file_name: '.', content: content) }
-      let!(:snippet) { snippets.create!(id: 5, type: 'PersonalSnippet', author_id: other_user.id, file_name: file_name, content: content) }
-      let(:ids) { [4, 5] }
-
-      before do
-        allow(Gitlab::CurrentSettings).to receive(:default_branch_name).and_return('main')
-      end
-
-      after do
-        raw_repository(snippet).remove
-        raw_repository(invalid_snippet).remove
-      end
-
-      it 'updates the file_name only when it is invalid' do
-        subject
-
-        expect(blob_at(invalid_snippet, 'snippetfile1.txt')).to be_present
-        expect(blob_at(snippet, file_name)).to be_present
-      end
-
-      it_behaves_like 'migration_bot user commits files' do
-        let(:snippet) { invalid_snippet }
-      end
-
-      it 'does not alter the commit author in subsequent migrations' do
-        subject
-
-        last_commit = raw_repository(snippet).commit
-
-        expect(last_commit.author_name).to eq other_user.name
-        expect(last_commit.author_email).to eq other_user.email
-      end
-
-      it "increases the number of retries temporarily from #{described_class::MAX_RETRIES} to #{described_class::MAX_RETRIES + 1}" do
-        expect(service).to receive(:create_commit).with(Snippet.find(invalid_snippet.id)).exactly(described_class::MAX_RETRIES + 1).times.and_call_original
-        expect(service).to receive(:create_commit).with(Snippet.find(snippet.id)).once.and_call_original
-
-        subject
-      end
-    end
-  end
-
-  def blob_at(snippet, path)
-    raw_repository(snippet).blob_at('main', path)
-  end
-
-  def repository_exists?(snippet)
-    gitlab_shell.repository_exists?('default', "#{disk_path(snippet)}.git")
-  end
-
-  def raw_repository(snippet)
-    Gitlab::Git::Repository.new(
-      'default',
-      "#{disk_path(snippet)}.git",
-      Gitlab::GlRepository::SNIPPET.identifier_for_container(snippet),
-      "@snippets/#{snippet.id}"
-    )
-  end
-
-  def hashed_repository(snippet)
-    Storage::Hashed.new(snippet, prefix: '@snippets')
-  end
-
-  def disk_path(snippet)
-    hashed_repository(snippet).disk_path
-  end
-
-  def ls_files(snippet)
-    raw_repository(snippet).ls_files(snippet.default_branch)
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb b/spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb
index d1852d726e065..5a654183f2ee2 100644
--- a/spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillTopicsTitle, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::BackfillTopicsTitle, schema: 20230616082958 do
   it 'correctly backfills the title of the topics' do
     topics = table(:topics)
 
diff --git a/spec/lib/gitlab/background_migration/backfill_vulnerability_reads_cluster_agent_spec.rb b/spec/lib/gitlab/background_migration/backfill_vulnerability_reads_cluster_agent_spec.rb
index f43440b922675..1461378623ebf 100644
--- a/spec/lib/gitlab/background_migration/backfill_vulnerability_reads_cluster_agent_spec.rb
+++ b/spec/lib/gitlab/background_migration/backfill_vulnerability_reads_cluster_agent_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::BackfillVulnerabilityReadsClusterAgent, :migration, schema: 20230216060333 do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::BackfillVulnerabilityReadsClusterAgent, :migration, schema: 20230616082958 do # rubocop:disable Layout/LineLength
   let(:migration) do
     described_class.new(
       start_id: 1, end_id: 10,
diff --git a/spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb b/spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
deleted file mode 100644
index ade16c0a780a7..0000000000000
--- a/spec/lib/gitlab/background_migration/cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::BackgroundMigration::CleanupPersonalAccessTokensWithNilExpiresAt, schema: 20230510062503, feature_category: :system_access do # rubocop:disable Layout/LineLength
-  let(:personal_access_tokens_table) { table(:personal_access_tokens) }
-  let(:users_table) { table(:users) }
-  let(:expires_at_default) { described_class::EXPIRES_AT_DEFAULT }
-
-  subject(:perform_migration) do
-    described_class.new(
-      start_id: 1,
-      end_id: 30,
-      batch_table: :personal_access_tokens,
-      batch_column: :id,
-      sub_batch_size: 3,
-      pause_ms: 0,
-      connection: ActiveRecord::Base.connection
-    ).perform
-  end
-
-  before do
-    user = users_table.create!(name: 'PAT_USER', email: 'pat_user@gmail.com', username: "pat_user1", projects_limit: 0)
-    personal_access_tokens_table.create!(user_id: user.id, name: "PAT#1", expires_at: expires_at_default + 1.day)
-    personal_access_tokens_table.create!(user_id: user.id, name: "PAT#2", expires_at: nil)
-    personal_access_tokens_table.create!(user_id: user.id, name: "PAT#3", expires_at: Time.zone.now + 2.days)
-  end
-
-  it 'adds expiry to personal access tokens', :aggregate_failures do
-    freeze_time do
-      expect(ActiveRecord::QueryRecorder.new { perform_migration }.count).to eq(3)
-
-      expect(personal_access_tokens_table.find_by_name("PAT#1").expires_at).to eq(expires_at_default.to_date + 1.day)
-      expect(personal_access_tokens_table.find_by_name("PAT#2").expires_at).to eq(expires_at_default.to_date)
-      expect(personal_access_tokens_table.find_by_name("PAT#3").expires_at).to eq(Time.zone.now.to_date + 2.days)
-    end
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/delete_orphaned_packages_dependencies_spec.rb b/spec/lib/gitlab/background_migration/delete_orphaned_packages_dependencies_spec.rb
index 0d82717c7deb0..af3de69d0ca81 100644
--- a/spec/lib/gitlab/background_migration/delete_orphaned_packages_dependencies_spec.rb
+++ b/spec/lib/gitlab/background_migration/delete_orphaned_packages_dependencies_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::DeleteOrphanedPackagesDependencies, schema: 20230303105806,
+RSpec.describe Gitlab::BackgroundMigration::DeleteOrphanedPackagesDependencies, schema: 20230616082958,
   feature_category: :package_registry do
   let!(:migration_attrs) do
     {
diff --git a/spec/lib/gitlab/background_migration/destroy_invalid_members_spec.rb b/spec/lib/gitlab/background_migration/destroy_invalid_members_spec.rb
index 98c814902b4c3..a26f43815c1a5 100644
--- a/spec/lib/gitlab/background_migration/destroy_invalid_members_spec.rb
+++ b/spec/lib/gitlab/background_migration/destroy_invalid_members_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 # rubocop: disable RSpec/MultipleMemoizedHelpers
-RSpec.describe Gitlab::BackgroundMigration::DestroyInvalidMembers, :migration, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::DestroyInvalidMembers, :migration, schema: 20230616082958 do
   let!(:migration_attrs) do
     {
       start_id: 1,
diff --git a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb
index 9ad54c3508710..362a4c3d1bd90 100644
--- a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb
+++ b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe Gitlab::BackgroundMigration::DisableLegacyOpenSourceLicenseForOneMemberNoRepoProjects,
   :migration,
-  schema: 20230216060333 do
+  schema: 20230616082958 do
   let(:namespaces_table) { table(:namespaces) }
   let(:projects_table) { table(:projects) }
   let(:project_settings_table) { table(:project_settings) }
diff --git a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_five_mb_spec.rb b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_five_mb_spec.rb
index 0c9c1dbde9a18..1cca6790b9da3 100644
--- a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_five_mb_spec.rb
+++ b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_five_mb_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe Gitlab::BackgroundMigration::DisableLegacyOpenSourceLicenseForProjectsLessThanFiveMb,
   :migration,
-  schema: 20230216060333,
+  schema: 20230616082958,
   feature_category: :groups_and_projects do
   let(:namespaces_table) { table(:namespaces) }
   let(:projects_table) { table(:projects) }
diff --git a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_one_mb_spec.rb b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_one_mb_spec.rb
index 16144643296e5..308671277b0ec 100644
--- a/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_one_mb_spec.rb
+++ b/spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_projects_less_than_one_mb_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe Gitlab::BackgroundMigration::DisableLegacyOpenSourceLicenseForProjectsLessThanOneMb,
   :migration,
-  schema: 20230216060333 do
+  schema: 20230616082958 do
   let(:namespaces_table) { table(:namespaces) }
   let(:projects_table) { table(:projects) }
   let(:project_settings_table) { table(:project_settings) }
diff --git a/spec/lib/gitlab/background_migration/fix_vulnerability_reads_has_issues_spec.rb b/spec/lib/gitlab/background_migration/fix_vulnerability_reads_has_issues_spec.rb
index 9f431c43f3910..6682a88ce8a38 100644
--- a/spec/lib/gitlab/background_migration/fix_vulnerability_reads_has_issues_spec.rb
+++ b/spec/lib/gitlab/background_migration/fix_vulnerability_reads_has_issues_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::FixVulnerabilityReadsHasIssues, schema: 20230302185739, feature_category: :vulnerability_management do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::FixVulnerabilityReadsHasIssues, schema: 20230616082958, feature_category: :vulnerability_management do # rubocop:disable Layout/LineLength
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
   let(:users) { table(:users) }
diff --git a/spec/lib/gitlab/background_migration/mark_duplicate_npm_packages_for_destruction_spec.rb b/spec/lib/gitlab/background_migration/mark_duplicate_npm_packages_for_destruction_spec.rb
deleted file mode 100644
index 05a19b7973c12..0000000000000
--- a/spec/lib/gitlab/background_migration/mark_duplicate_npm_packages_for_destruction_spec.rb
+++ /dev/null
@@ -1,78 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::BackgroundMigration::MarkDuplicateNpmPackagesForDestruction, schema: 20230524201454, feature_category: :package_registry do # rubocop:disable Layout/LineLength
-  describe '#perform' do
-    let(:projects_table) { table(:projects) }
-    let(:namespaces_table) { table(:namespaces) }
-    let(:packages_table) { table(:packages_packages) }
-
-    let!(:namespace) do
-      namespaces_table.create!(name: 'project', path: 'project', type: 'Project')
-    end
-
-    let!(:project) do
-      projects_table.create!(
-        namespace_id: namespace.id,
-        name: 'project',
-        path: 'project',
-        project_namespace_id: namespace.id
-      )
-    end
-
-    let!(:package_1) do
-      packages_table.create!(
-        project_id: project.id,
-        name: 'test1',
-        version: '1.0.0',
-        package_type: described_class::NPM_PACKAGE_TYPE
-      )
-    end
-
-    let!(:package_2) do
-      packages_table.create!(
-        project_id: project.id,
-        name: 'test2',
-        version: '1.0.0',
-        package_type: described_class::NPM_PACKAGE_TYPE
-      )
-    end
-
-    let!(:package_3) do
-      packages_table.create!(
-        project_id: project.id,
-        name: 'test3',
-        version: '1.0.0',
-        package_type: described_class::NPM_PACKAGE_TYPE
-      )
-    end
-
-    let(:migration) do
-      described_class.new(
-        start_id: projects_table.minimum(:id),
-        end_id: projects_table.maximum(:id),
-        batch_table: :packages_packages,
-        batch_column: :project_id,
-        sub_batch_size: 10,
-        pause_ms: 0,
-        connection: ApplicationRecord.connection
-      )
-    end
-
-    before do
-      # create a duplicated package without triggering model validation errors
-      package_2.update_column(:name, package_1.name)
-      package_3.update_column(:name, package_1.name)
-    end
-
-    it 'marks duplicate npm packages for destruction', :aggregate_failures do
-      packages_marked_for_destruction = described_class::Package
-                                        .where(status: described_class::PENDING_DESTRUCTION_STATUS)
-
-      expect { migration.perform }
-        .to change { packages_marked_for_destruction.count }.from(0).to(2)
-      expect(package_3.reload.status).not_to eq(described_class::PENDING_DESTRUCTION_STATUS)
-    end
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/migrate_human_user_type_spec.rb b/spec/lib/gitlab/background_migration/migrate_human_user_type_spec.rb
deleted file mode 100644
index 83d19ef7ce342..0000000000000
--- a/spec/lib/gitlab/background_migration/migrate_human_user_type_spec.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Gitlab::BackgroundMigration::MigrateHumanUserType, feature_category: :user_management do
-  let!(:valid_users) do
-    # 13 is the max value we have at the moment.
-    (0..13).map do |type|
-      table(:users).create!(username: "user#{type}", email: "user#{type}@test.com", user_type: type, projects_limit: 0)
-    end
-  end
-
-  let!(:user_to_update) do
-    table(:users).create!(username: "user_nil", email: "user_nil@test.com", user_type: nil, projects_limit: 0)
-  end
-
-  let(:starting_id) { table(:users).pluck(:id).min }
-  let(:end_id) { table(:users).pluck(:id).max }
-
-  let(:migration) do
-    described_class.new(
-      start_id: starting_id,
-      end_id: end_id,
-      batch_table: :users,
-      batch_column: :id,
-      sub_batch_size: 100,
-      pause_ms: 2,
-      connection: ::ApplicationRecord.connection
-    )
-  end
-
-  describe 'perform' do
-    it 'updates user with `nil` user type only' do
-      expect do
-        migration.perform
-        valid_users.map(&:reload)
-        user_to_update.reload
-      end.not_to change { valid_users.map(&:user_type) }
-
-      expect(user_to_update.user_type).to eq(0)
-    end
-  end
-end
diff --git a/spec/lib/gitlab/background_migration/nullify_creator_id_column_of_orphaned_projects_spec.rb b/spec/lib/gitlab/background_migration/nullify_creator_id_column_of_orphaned_projects_spec.rb
index 82a3f548e0221..f3b66dfd4ed6b 100644
--- a/spec/lib/gitlab/background_migration/nullify_creator_id_column_of_orphaned_projects_spec.rb
+++ b/spec/lib/gitlab/background_migration/nullify_creator_id_column_of_orphaned_projects_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 RSpec.describe Gitlab::BackgroundMigration::NullifyCreatorIdColumnOfOrphanedProjects,
-  feature_category: :groups_and_projects, schema: 20230216060333 do
+  feature_category: :groups_and_projects do
   let(:users) { table(:users) }
   let(:projects) { table(:projects) }
   let(:namespaces) { table(:namespaces) }
diff --git a/spec/lib/gitlab/background_migration/populate_projects_star_count_spec.rb b/spec/lib/gitlab/background_migration/populate_projects_star_count_spec.rb
index c41eb98bc5db4..2fb5d30a1f518 100644
--- a/spec/lib/gitlab/background_migration/populate_projects_star_count_spec.rb
+++ b/spec/lib/gitlab/background_migration/populate_projects_star_count_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::PopulateProjectsStarCount, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::PopulateProjectsStarCount, schema: 20230616082958 do
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
   let(:users) { table(:users) }
diff --git a/spec/lib/gitlab/background_migration/populate_vulnerability_dismissal_fields_spec.rb b/spec/lib/gitlab/background_migration/populate_vulnerability_dismissal_fields_spec.rb
index 50380247c9f86..da0e6f2df0d5f 100644
--- a/spec/lib/gitlab/background_migration/populate_vulnerability_dismissal_fields_spec.rb
+++ b/spec/lib/gitlab/background_migration/populate_vulnerability_dismissal_fields_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::PopulateVulnerabilityDismissalFields, schema: 20230412185837, feature_category: :vulnerability_management do # rubocop:disable Layout/LineLength
+RSpec.describe Gitlab::BackgroundMigration::PopulateVulnerabilityDismissalFields, schema: 20230616082958, feature_category: :vulnerability_management do # rubocop:disable Layout/LineLength
   let(:users) { table(:users) }
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
diff --git a/spec/lib/gitlab/background_migration/remove_invalid_deploy_access_level_groups_spec.rb b/spec/lib/gitlab/background_migration/remove_invalid_deploy_access_level_groups_spec.rb
index 0cdfe7bb9456b..528e614e312d2 100644
--- a/spec/lib/gitlab/background_migration/remove_invalid_deploy_access_level_groups_spec.rb
+++ b/spec/lib/gitlab/background_migration/remove_invalid_deploy_access_level_groups_spec.rb
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 RSpec.describe Gitlab::BackgroundMigration::RemoveInvalidDeployAccessLevelGroups,
-  :migration, schema: 20230519011151, feature_category: :continuous_delivery do
+  :migration, schema: 20230616082958, feature_category: :continuous_delivery do
   let!(:namespace) { table(:namespaces).create!(name: 'user', path: 'user') }
   let!(:project) { table(:projects).create!(namespace_id: namespace.id, project_namespace_id: namespace.id) }
   let!(:group) { table(:namespaces).create!(name: 'group', path: 'group', type: 'Group') }
diff --git a/spec/lib/gitlab/background_migration/remove_self_managed_wiki_notes_spec.rb b/spec/lib/gitlab/background_migration/remove_self_managed_wiki_notes_spec.rb
index c373323c0e3bf..2e57ab765e780 100644
--- a/spec/lib/gitlab/background_migration/remove_self_managed_wiki_notes_spec.rb
+++ b/spec/lib/gitlab/background_migration/remove_self_managed_wiki_notes_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 
-RSpec.describe Gitlab::BackgroundMigration::RemoveSelfManagedWikiNotes, :migration, schema: 20230216060333 do
+RSpec.describe Gitlab::BackgroundMigration::RemoveSelfManagedWikiNotes, :migration, schema: 20230616082958 do
   let(:notes) { table(:notes) }
 
   subject(:perform_migration) do
diff --git a/spec/lib/gitlab/background_migration/reset_too_many_tags_skipped_registry_imports_spec.rb b/spec/lib/gitlab/background_migration/reset_too_many_tags_skipped_registry_imports_spec.rb
index 655d8dea739b8..5f31df8cc0790 100644
--- a/spec/lib/gitlab/background_migration/reset_too_many_tags_skipped_registry_imports_spec.rb
+++ b/spec/lib/gitlab/background_migration/reset_too_many_tags_skipped_registry_imports_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe Gitlab::BackgroundMigration::ResetTooManyTagsSkippedRegistryImports, :migration,
   :aggregate_failures,
-  schema: 20230216060333 do
+  schema: 20230616082958 do
   let(:namespaces) { table(:namespaces) }
   let(:projects) { table(:projects) }
   let(:container_repositories) { table(:container_repositories) }
diff --git a/spec/lib/gitlab/background_migration/set_legacy_open_source_license_available_for_non_public_projects_spec.rb b/spec/lib/gitlab/background_migration/set_legacy_open_source_license_available_for_non_public_projects_spec.rb
index 91c5b60258fd6..9796d8f043ea4 100644
--- a/spec/lib/gitlab/background_migration/set_legacy_open_source_license_available_for_non_public_projects_spec.rb
+++ b/spec/lib/gitlab/background_migration/set_legacy_open_source_license_available_for_non_public_projects_spec.rb
@@ -4,7 +4,7 @@
 
 RSpec.describe Gitlab::BackgroundMigration::SetLegacyOpenSourceLicenseAvailableForNonPublicProjects,
   :migration,
-  schema: 20230216060333 do
+  schema: 20230616082958 do
   let(:namespaces_table) { table(:namespaces) }
   let(:projects_table) { table(:projects) }
   let(:project_settings_table) { table(:project_settings) }
diff --git a/spec/lib/gitlab/background_migration/truncate_overlong_vulnerability_html_titles_spec.rb b/spec/lib/gitlab/background_migration/truncate_overlong_vulnerability_html_titles_spec.rb
index e4be70cb84fba..ea60fb8658af8 100644
--- a/spec/lib/gitlab/background_migration/truncate_overlong_vulnerability_html_titles_spec.rb
+++ b/spec/lib/gitlab/background_migration/truncate_overlong_vulnerability_html_titles_spec.rb
@@ -2,7 +2,7 @@
 
 require 'spec_helper'
 # rubocop:disable Layout/LineLength
-RSpec.describe Gitlab::BackgroundMigration::TruncateOverlongVulnerabilityHtmlTitles, schema: 20230216060333, feature_category: :vulnerability_management do
+RSpec.describe Gitlab::BackgroundMigration::TruncateOverlongVulnerabilityHtmlTitles, schema: 20230616082958, feature_category: :vulnerability_management do
   # rubocop:enable Layout/LineLength
 
   let(:namespaces) { table(:namespaces) }
diff --git a/spec/migrations/20230118144623_schedule_migration_for_remediation_spec.rb b/spec/migrations/20230118144623_schedule_migration_for_remediation_spec.rb
deleted file mode 100644
index f6d0f32b87c15..0000000000000
--- a/spec/migrations/20230118144623_schedule_migration_for_remediation_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ScheduleMigrationForRemediation, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230125195503_queue_backfill_compliance_violations_spec.rb b/spec/migrations/20230125195503_queue_backfill_compliance_violations_spec.rb
deleted file mode 100644
index a70f9820855e3..0000000000000
--- a/spec/migrations/20230125195503_queue_backfill_compliance_violations_spec.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillComplianceViolations, feature_category: :compliance_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules background jobs for each batch of merge_request_compliance_violations' do
-      migrate!
-
-      expect(migration).to(
-        have_scheduled_batched_migration(
-          table_name: :merge_requests_compliance_violations,
-          column_name: :id,
-          interval: described_class::INTERVAL,
-          batch_size: described_class::BATCH_SIZE
-        )
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230130182412_schedule_create_vulnerability_links_migration_spec.rb b/spec/migrations/20230130182412_schedule_create_vulnerability_links_migration_spec.rb
deleted file mode 100644
index 58e27379ef778..0000000000000
--- a/spec/migrations/20230130182412_schedule_create_vulnerability_links_migration_spec.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ScheduleCreateVulnerabilityLinksMigration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules background jobs for each batch of Vulnerabilities::Feedback' do
-      migrate!
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :vulnerability_feedback,
-        column_name: :id,
-        interval: described_class::DELAY_INTERVAL,
-        batch_size: described_class::BATCH_SIZE
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb b/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb
deleted file mode 100644
index 035f13b83093c..0000000000000
--- a/spec/migrations/20230208125736_schedule_migration_for_links_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ScheduleMigrationForLinks, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230209222452_schedule_remove_project_group_link_with_missing_groups_spec.rb b/spec/migrations/20230209222452_schedule_remove_project_group_link_with_missing_groups_spec.rb
deleted file mode 100644
index 19c9b20963460..0000000000000
--- a/spec/migrations/20230209222452_schedule_remove_project_group_link_with_missing_groups_spec.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ScheduleRemoveProjectGroupLinkWithMissingGroups, feature_category: :groups_and_projects do
-  let!(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules background migration' do
-      migrate!
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :project_group_links,
-        column_name: :id,
-        interval: described_class::DELAY_INTERVAL,
-        batch_size: described_class::BATCH_SIZE,
-        max_batch_size: described_class::MAX_BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'removes scheduled background migrations' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230214181633_finalize_ci_build_needs_big_int_conversion_spec.rb b/spec/migrations/20230214181633_finalize_ci_build_needs_big_int_conversion_spec.rb
deleted file mode 100644
index 638fe2a12d50c..0000000000000
--- a/spec/migrations/20230214181633_finalize_ci_build_needs_big_int_conversion_spec.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe FinalizeCiBuildNeedsBigIntConversion, migration: :gitlab_ci, feature_category: :continuous_integration do
-  describe '#up' do
-    using RSpec::Parameterized::TableSyntax
-
-    where(:dot_com, :dev_or_test, :jh, :expectation) do
-      true  | true  | true  | :not_to
-      true  | false | true  | :not_to
-      false | true  | true  | :not_to
-      false | false | true  | :not_to
-      true  | true  | false | :to
-      true  | false | false | :to
-      false | true  | false | :to
-      false | false | false | :not_to
-    end
-
-    with_them do
-      it 'ensures the migration is completed for GitLab.com, dev, or test' do
-        allow(Gitlab).to receive(:com?).and_return(dot_com)
-        allow(Gitlab).to receive(:dev_or_test_env?).and_return(dev_or_test)
-        allow(Gitlab).to receive(:jh?).and_return(jh)
-
-        migration_arguments = {
-          job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-          table_name: 'ci_build_needs',
-          column_name: 'id',
-          job_arguments: [['id'], ['id_convert_to_bigint']]
-        }
-
-        expect(described_class).send(
-          expectation,
-          ensure_batched_background_migration_is_finished_for(migration_arguments)
-        )
-
-        migrate!
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230220102212_swap_columns_ci_build_needs_big_int_conversion_spec.rb b/spec/migrations/20230220102212_swap_columns_ci_build_needs_big_int_conversion_spec.rb
deleted file mode 100644
index 1c21047c0c33d..0000000000000
--- a/spec/migrations/20230220102212_swap_columns_ci_build_needs_big_int_conversion_spec.rb
+++ /dev/null
@@ -1,60 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapColumnsCiBuildNeedsBigIntConversion, feature_category: :continuous_integration do
-  describe '#up' do
-    using RSpec::Parameterized::TableSyntax
-
-    where(:dot_com, :dev_or_test, :jh, :swap) do
-      true  | true  | true  | false
-      true  | false | true  | false
-      false | true  | true  | false
-      false | false | true  | false
-      true  | true  | false | true
-      true  | false | false | true
-      false | true  | false | true
-      false | false | false | false
-    end
-
-    with_them do
-      before do
-        connection = described_class.new.connection
-        connection.execute('ALTER TABLE ci_build_needs ALTER COLUMN id TYPE integer')
-        connection.execute('ALTER TABLE ci_build_needs ALTER COLUMN id_convert_to_bigint TYPE bigint')
-      end
-
-      it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-        allow(Gitlab).to receive(:com?).and_return(dot_com)
-        allow(Gitlab).to receive(:dev_or_test_env?).and_return(dev_or_test)
-        allow(Gitlab).to receive(:jh?).and_return(jh)
-
-        ci_build_needs = table(:ci_build_needs)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              ci_build_needs.reset_column_information
-
-              expect(ci_build_needs.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-              expect(ci_build_needs.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-            }
-
-            migration.after -> {
-              ci_build_needs.reset_column_information
-
-              if swap
-                expect(ci_build_needs.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-                expect(ci_build_needs.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('integer')
-              else
-                expect(ci_build_needs.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-                expect(ci_build_needs.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-              end
-            }
-          end
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230221093533_add_tmp_partial_index_on_vulnerability_report_types_spec.rb b/spec/migrations/20230221093533_add_tmp_partial_index_on_vulnerability_report_types_spec.rb
deleted file mode 100644
index cbf6b2882c4ed..0000000000000
--- a/spec/migrations/20230221093533_add_tmp_partial_index_on_vulnerability_report_types_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe AddTmpPartialIndexOnVulnerabilityReportTypes, feature_category: :vulnerability_management do
-  let(:async_index) { Gitlab::Database::AsyncIndexes::PostgresAsyncIndex }
-  let(:index_name) { described_class::INDEX_NAME }
-
-  it "schedules the index" do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(async_index.where(name: index_name).count).to be(0)
-      end
-
-      migration.after -> do
-        expect(async_index.where(name: index_name).count).to be(1)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress_spec.rb b/spec/migrations/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress_spec.rb
deleted file mode 100644
index be49a3e919de6..0000000000000
--- a/spec/migrations/20230221214519_remove_incorrectly_onboarded_namespaces_from_onboarding_progress_spec.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveIncorrectlyOnboardedNamespacesFromOnboardingProgress, feature_category: :onboarding do
-  let(:onboarding_progresses) { table(:onboarding_progresses) }
-  let(:namespaces) { table(:namespaces) }
-  let(:projects) { table(:projects) }
-
-  # namespace to keep with name Learn Gitlab
-  let(:namespace1) { namespaces.create!(name: 'namespace1', type: 'Group', path: 'namespace1') }
-  let!(:onboard_keep_1) { onboarding_progresses.create!(namespace_id: namespace1.id) }
-  let!(:proj1) do
-    proj_namespace = namespaces.create!(name: 'proj1', path: 'proj1', type: 'Project', parent_id: namespace1.id)
-    projects.create!(name: 'project', namespace_id: namespace1.id, project_namespace_id: proj_namespace.id)
-  end
-
-  let!(:learn_gitlab) do
-    proj_namespace = namespaces.create!(name: 'projlg1', path: 'projlg1', type: 'Project', parent_id: namespace1.id)
-    projects.create!(name: 'Learn GitLab', namespace_id: namespace1.id, project_namespace_id: proj_namespace.id)
-  end
-
-  # namespace to keep with name Learn GitLab - Ultimate trial
-  let(:namespace2) { namespaces.create!(name: 'namespace2', type: 'Group', path: 'namespace2') }
-  let!(:onboard_keep_2) { onboarding_progresses.create!(namespace_id: namespace2.id) }
-  let!(:proj2) do
-    proj_namespace = namespaces.create!(name: 'proj2', path: 'proj2', type: 'Project', parent_id: namespace2.id)
-    projects.create!(name: 'project', namespace_id: namespace2.id, project_namespace_id: proj_namespace.id)
-  end
-
-  let!(:learn_gitlab2) do
-    proj_namespace = namespaces.create!(name: 'projlg2', path: 'projlg2', type: 'Project', parent_id: namespace2.id)
-    projects.create!(
-      name: 'Learn GitLab - Ultimate trial',
-      namespace_id: namespace2.id,
-      project_namespace_id: proj_namespace.id
-    )
-  end
-
-  # namespace to remove without learn gitlab project
-  let(:namespace3) { namespaces.create!(name: 'namespace3', type: 'Group', path: 'namespace3') }
-  let!(:onboarding_to_delete) { onboarding_progresses.create!(namespace_id: namespace3.id) }
-  let!(:proj3) do
-    proj_namespace = namespaces.create!(name: 'proj3', path: 'proj3', type: 'Project', parent_id: namespace3.id)
-    projects.create!(name: 'project', namespace_id: namespace3.id, project_namespace_id: proj_namespace.id)
-  end
-
-  # namespace to remove without any projects
-  let(:namespace4) { namespaces.create!(name: 'namespace4', type: 'Group', path: 'namespace4') }
-  let!(:onboarding_to_delete_without_project) { onboarding_progresses.create!(namespace_id: namespace4.id) }
-
-  describe '#up' do
-    it 'deletes the onboarding for namespaces without learn gitlab' do
-      expect { migrate! }.to change { onboarding_progresses.count }.by(-2)
-      expect(onboarding_progresses.all).to contain_exactly(onboard_keep_1, onboard_keep_2)
-    end
-  end
-end
diff --git a/spec/migrations/20230223065753_finalize_nullify_creator_id_of_orphaned_projects_spec.rb b/spec/migrations/20230223065753_finalize_nullify_creator_id_of_orphaned_projects_spec.rb
deleted file mode 100644
index 90fc41fccbb56..0000000000000
--- a/spec/migrations/20230223065753_finalize_nullify_creator_id_of_orphaned_projects_spec.rb
+++ /dev/null
@@ -1,98 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe FinalizeNullifyCreatorIdOfOrphanedProjects, :migration, feature_category: :groups_and_projects do
-  let(:batched_migrations) { table(:batched_background_migrations) }
-  let(:batch_failed_status) { 2 }
-  let(:batch_finalized_status) { 6 }
-  let(:job_finished_status) { 3 }
-
-  let!(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    shared_examples 'finalizes the migration' do
-      it 'finalizes the migration' do
-        expect do
-          migrate!
-
-          migration_record.reload
-          failed_job.reload
-        end.to change { migration_record.status }.from(migration_record.status).to(batch_finalized_status).and(
-          change { failed_job.status }.from(batch_failed_status).to(job_finished_status)
-        )
-      end
-    end
-
-    context 'when migration is missing' do
-      before do
-        batched_migrations.where(job_class_name: migration).delete_all
-      end
-
-      it 'warns migration not found' do
-        expect(Gitlab::AppLogger)
-          .to receive(:warn).with(/Could not find batched background migration for the given configuration:/)
-
-        migrate!
-      end
-    end
-
-    context 'with migration present' do
-      let!(:migration_record) do
-        batched_migrations.create!(
-          job_class_name: migration,
-          table_name: :projects,
-          column_name: :id,
-          job_arguments: [],
-          interval: 2.minutes,
-          min_value: 1,
-          max_value: 2,
-          batch_size: 1000,
-          sub_batch_size: 500,
-          max_batch_size: 5000,
-          gitlab_schema: :gitlab_main,
-          status: 3 # finished
-        )
-      end
-
-      context 'when migration finished successfully' do
-        it 'does not raise exception' do
-          expect { migrate! }.not_to raise_error
-        end
-      end
-
-      context 'with different migration statuses', :redis do
-        using RSpec::Parameterized::TableSyntax
-
-        where(:status, :description) do
-          0 | 'paused'
-          1 | 'active'
-          4 | 'failed'
-          5 | 'finalizing'
-        end
-
-        with_them do
-          let!(:failed_job) do
-            table(:batched_background_migration_jobs).create!(
-              batched_background_migration_id: migration_record.id,
-              status: batch_failed_status,
-              min_value: 1,
-              max_value: 10,
-              attempts: 2,
-              batch_size: 100,
-              sub_batch_size: 10
-            )
-          end
-
-          before do
-            migration_record.update!(status: status)
-          end
-
-          it_behaves_like 'finalizes the migration'
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230224085743_update_issues_internal_id_scope_spec.rb b/spec/migrations/20230224085743_update_issues_internal_id_scope_spec.rb
deleted file mode 100644
index 7c7b58c7f0e09..0000000000000
--- a/spec/migrations/20230224085743_update_issues_internal_id_scope_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe UpdateIssuesInternalIdScope, feature_category: :team_planning do
-  describe '#up' do
-    it 'schedules background migration' do
-      migrate!
-
-      expect(described_class::MIGRATION).to have_scheduled_batched_migration(
-        table_name: :internal_ids,
-        column_name: :id,
-        interval: described_class::INTERVAL)
-    end
-  end
-
-  describe '#down' do
-    it 'does not schedule background migration' do
-      schema_migrate_down!
-
-      expect(described_class::MIGRATION).not_to have_scheduled_batched_migration(
-        table_name: :internal_ids,
-        column_name: :id,
-        interval: described_class::INTERVAL)
-    end
-  end
-end
diff --git a/spec/migrations/20230224144233_migrate_evidences_from_raw_metadata_spec.rb b/spec/migrations/20230224144233_migrate_evidences_from_raw_metadata_spec.rb
deleted file mode 100644
index 6610f70be2b72..0000000000000
--- a/spec/migrations/20230224144233_migrate_evidences_from_raw_metadata_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe MigrateEvidencesFromRawMetadata, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230228142350_add_notifications_work_item_widget_spec.rb b/spec/migrations/20230228142350_add_notifications_work_item_widget_spec.rb
deleted file mode 100644
index a459ef96737eb..0000000000000
--- a/spec/migrations/20230228142350_add_notifications_work_item_widget_spec.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddNotificationsWorkItemWidget, :migration, feature_category: :team_planning do
-  it_behaves_like 'migration that adds widget to work items definitions',
-    widget_name: described_class::WIDGET_NAME,
-    work_item_types: described_class::WORK_ITEM_TYPES
-end
diff --git a/spec/migrations/20230302185739_queue_fix_vulnerability_reads_has_issues_spec.rb b/spec/migrations/20230302185739_queue_fix_vulnerability_reads_has_issues_spec.rb
deleted file mode 100644
index 54b1e231db253..0000000000000
--- a/spec/migrations/20230302185739_queue_fix_vulnerability_reads_has_issues_spec.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueFixVulnerabilityReadsHasIssues, feature_category: :vulnerability_management do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :vulnerability_issue_links,
-          column_name: :vulnerability_id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE,
-          max_batch_size: described_class::MAX_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230302811133_re_migrate_redis_slot_keys_spec.rb b/spec/migrations/20230302811133_re_migrate_redis_slot_keys_spec.rb
deleted file mode 100644
index b4146761aa2c3..0000000000000
--- a/spec/migrations/20230302811133_re_migrate_redis_slot_keys_spec.rb
+++ /dev/null
@@ -1,74 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ReMigrateRedisSlotKeys, :migration, feature_category: :service_ping do
-  let(:date) { Date.yesterday.strftime('%G-%j') }
-  let(:week) { Date.yesterday.strftime('%G-%V') }
-  let(:known_events) do
-    [
-      {
-        redis_slot: 'management',
-        name: 'g_project_management_epic_closed'
-      }, {
-        name: 'incident_management_incident_assigned' # weekly event
-      },
-      {
-        name: 'non_existing_event'
-      }, {
-        name: 'event_without_expiry'
-      }
-    ]
-  end
-
-  describe "#up" do
-    it 'rename keys', :aggregate_failures do
-      allow(Gitlab::UsageDataCounters::HLLRedisCounter).to receive(:known_events)
-                                                             .and_return(known_events)
-
-      expiry_daily = 29.days
-      expiry_weekly = described_class::KEY_EXPIRY_LENGTH
-
-      default_slot = Gitlab::UsageDataCounters::HLLRedisCounter::REDIS_SLOT
-
-      old_slot_a = "#{date}-g_project_{management}_epic_closed"
-      old_slot_b = "{incident_management_incident_assigned}-#{week}"
-      old_slot_without_expiry = "{event_without_expiry}-#{week}"
-
-      new_slot_a = "#{date}-{#{default_slot}}_g_project_management_epic_closed"
-      new_slot_b = "{#{default_slot}}_incident_management_incident_assigned-#{week}"
-      new_slot_without_expiry = "{#{default_slot}}_event_without_expiry-#{week}"
-
-      Gitlab::Redis::HLL.add(key: old_slot_a, value: 1, expiry: expiry_daily)
-      Gitlab::Redis::HLL.add(key: old_slot_b, value: 1, expiry: expiry_weekly)
-      Gitlab::Redis::HLL.add(key: old_slot_a, value: 2, expiry: expiry_daily)
-      Gitlab::Redis::HLL.add(key: old_slot_b, value: 2, expiry: expiry_weekly)
-      Gitlab::Redis::HLL.add(key: old_slot_b, value: 2, expiry: expiry_weekly)
-      Gitlab::Redis::SharedState.with { |redis| redis.pfadd(old_slot_without_expiry, 1) }
-
-      # check that we merge values during migration
-      # i.e. we dont drop keys created after code deploy but before the migration
-      Gitlab::Redis::HLL.add(key: new_slot_a, value: 3, expiry: expiry_daily)
-      Gitlab::Redis::HLL.add(key: new_slot_b, value: 3, expiry: expiry_weekly)
-      Gitlab::Redis::HLL.add(key: new_slot_without_expiry, value: 2, expiry: expiry_weekly)
-
-      migrate!
-
-      expect(Gitlab::Redis::HLL.count(keys: new_slot_a)).to eq(3)
-      expect(Gitlab::Redis::HLL.count(keys: new_slot_b)).to eq(3)
-      expect(Gitlab::Redis::HLL.count(keys: new_slot_without_expiry)).to eq(2)
-      expect(with_redis { |r| r.ttl(new_slot_a) }).to be_within(600).of(expiry_daily)
-      expect(with_redis { |r| r.ttl(new_slot_b) }).to be_within(600).of(expiry_weekly)
-      expect(with_redis { |r| r.ttl(new_slot_without_expiry) }).to be_within(600).of(expiry_weekly)
-    end
-
-    it 'runs without errors' do
-      expect { migrate! }.not_to raise_error
-    end
-  end
-
-  def with_redis(&block)
-    Gitlab::Redis::SharedState.with(&block)
-  end
-end
diff --git a/spec/migrations/20230303105806_queue_delete_orphaned_packages_dependencies_spec.rb b/spec/migrations/20230303105806_queue_delete_orphaned_packages_dependencies_spec.rb
deleted file mode 100644
index 7fe90a0876336..0000000000000
--- a/spec/migrations/20230303105806_queue_delete_orphaned_packages_dependencies_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueDeleteOrphanedPackagesDependencies, feature_category: :package_registry do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :packages_dependencies,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230309071242_delete_security_policy_bot_users_spec.rb b/spec/migrations/20230309071242_delete_security_policy_bot_users_spec.rb
deleted file mode 100644
index 4dd44cad1589e..0000000000000
--- a/spec/migrations/20230309071242_delete_security_policy_bot_users_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe DeleteSecurityPolicyBotUsers, feature_category: :security_policy_management do
-  let(:users) { table(:users) }
-
-  before do
-    users.create!(user_type: 10, projects_limit: 0, email: 'security_policy_bot@example.com')
-    users.create!(user_type: 1, projects_limit: 0, email: 'support_bot@example.com')
-    users.create!(projects_limit: 0, email: 'human@example.com')
-  end
-
-  describe '#up' do
-    it 'deletes security_policy_bot users' do
-      expect { migrate! }.to change { users.count }.by(-1)
-
-      expect(users.where(user_type: 10).count).to eq(0)
-      expect(users.where(user_type: 1).count).to eq(1)
-      expect(users.where(user_type: nil).count).to eq(1)
-    end
-  end
-end
diff --git a/spec/migrations/20230313142631_backfill_ml_candidates_package_id_spec.rb b/spec/migrations/20230313142631_backfill_ml_candidates_package_id_spec.rb
deleted file mode 100644
index 57ddb0504ec09..0000000000000
--- a/spec/migrations/20230313142631_backfill_ml_candidates_package_id_spec.rb
+++ /dev/null
@@ -1,61 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe BackfillMlCandidatesPackageId, feature_category: :mlops do
-  let(:migration) { described_class.new }
-
-  let(:projects) { table(:projects) }
-  let(:namespaces) { table(:namespaces) }
-  let(:ml_experiments) { table(:ml_experiments) }
-  let(:ml_candidates) { table(:ml_candidates) }
-  let(:packages_packages) { table(:packages_packages) }
-
-  let(:namespace) { namespaces.create!(name: 'foo', path: 'foo') }
-  let(:project) { projects.create!(project_namespace_id: namespace.id, namespace_id: namespace.id) }
-  let(:experiment) { ml_experiments.create!(project_id: project.id, iid: 1, name: 'experiment') }
-  let!(:candidate1) { ml_candidates.create!(experiment_id: experiment.id, iid: SecureRandom.uuid) }
-  let!(:candidate2) { ml_candidates.create!(experiment_id: experiment.id, iid: SecureRandom.uuid) }
-  let!(:package1) do
-    packages_packages.create!(
-      project_id: project.id,
-      name: "ml_candidate_#{candidate1.id}",
-      version: "-",
-      package_type: 7
-    )
-  end
-
-  let!(:package2) do
-    packages_packages.create!(
-      project_id: project.id,
-      name: "ml_candidate_1000",
-      version: "-",
-      package_type: 7)
-  end
-
-  let!(:package3) do
-    packages_packages.create!(
-      project_id: project.id,
-      name: "ml_candidate_abcde",
-      version: "-",
-      package_type: 7
-    )
-  end
-
-  describe '#up' do
-    it 'sets the correct package_ids with idempotency', :aggregate_failures do
-      migration.up
-
-      expect(candidate1.reload.package_id).to be(package1.id)
-      expect(candidate2.reload.package_id).to be(nil)
-
-      migration.down
-      migration.up
-
-      expect(candidate1.reload.package_id).to be(package1.id)
-      expect(candidate2.reload.package_id).to be(nil)
-    end
-  end
-end
diff --git a/spec/migrations/20230313150531_reschedule_migration_for_remediation_spec.rb b/spec/migrations/20230313150531_reschedule_migration_for_remediation_spec.rb
deleted file mode 100644
index 00f0836285b4f..0000000000000
--- a/spec/migrations/20230313150531_reschedule_migration_for_remediation_spec.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleMigrationForRemediation, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :vulnerability_occurrences,
-        column_name: :id,
-        interval: described_class::DELAY_INTERVAL,
-        batch_size: described_class::BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230314144640_reschedule_migration_for_links_spec.rb b/spec/migrations/20230314144640_reschedule_migration_for_links_spec.rb
deleted file mode 100644
index b28b1ea073074..0000000000000
--- a/spec/migrations/20230314144640_reschedule_migration_for_links_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleMigrationForLinks, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation_spec.rb b/spec/migrations/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation_spec.rb
deleted file mode 100644
index b5bf55f0d8600..0000000000000
--- a/spec/migrations/20230317004428_migrate_daily_redis_hll_events_to_weekly_aggregation_spec.rb
+++ /dev/null
@@ -1,100 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe MigrateDailyRedisHllEventsToWeeklyAggregation, :migration, :clean_gitlab_redis_cache, feature_category: :service_ping do
-  it 'calls HLLRedisCounter.known_events to get list of events' do
-    expect(Gitlab::UsageDataCounters::HLLRedisCounter).to receive(:known_events).and_call_original.at_least(1).time
-
-    migrate!
-  end
-
-  describe '#redis_key' do
-    let(:date) { Date.today }
-
-    context 'with daily aggregation' do
-      let(:date_formatted) { date.strftime('%G-%j') }
-      let(:event) { { name: 'g_edit_by_web_ide' } }
-
-      it 'returns correct key' do
-        existing_key = "#{date_formatted}-{hll_counters}_g_edit_by_web_ide"
-
-        expect(described_class.new.redis_key(event, date, :daily)).to eq(existing_key)
-      end
-    end
-
-    context 'with weekly aggregation' do
-      let(:date_formatted) { date.strftime('%G-%V') }
-      let(:event) { { name: 'weekly_action' } }
-
-      it 'returns correct key' do
-        existing_key = "{hll_counters}_weekly_action-#{date_formatted}"
-
-        expect(described_class.new.redis_key(event, date, :weekly)).to eq(existing_key)
-      end
-    end
-  end
-
-  context 'with weekly events' do
-    let(:events) { [{ name: 'weekly_action' }] }
-
-    before do
-      allow(Gitlab::UsageDataCounters::HLLRedisCounter).to receive(:known_events).and_return(events)
-    end
-
-    it 'does not migrate weekly events' do
-      Gitlab::Redis::SharedState.with do |redis|
-        expect(redis).not_to receive(:pfmerge)
-        expect(redis).not_to receive(:expire)
-      end
-
-      migrate!
-    end
-  end
-
-  context 'with daily events' do
-    let(:daily_expiry) { 29.days }
-    let(:weekly_expiry) { Gitlab::UsageDataCounters::HLLRedisCounter::KEY_EXPIRY_LENGTH }
-
-    it 'migrates with correct parameters', :aggregate_failures do
-      event = { name: 'g_project_management_epic_blocked_removed' }
-      allow(Gitlab::UsageDataCounters::HLLRedisCounter).to receive(:known_events).and_return([event])
-
-      # For every day in the last 30 days, add a value to the daily key with daily expiry (including today)
-      31.times do |i|
-        key = described_class.new.send(:redis_key, event, Date.today - i.days, :weekly)
-        Gitlab::Redis::HLL.add(key: key, value: i, expiry: daily_expiry)
-      end
-
-      migrate!
-
-      new_key = described_class.new.send(:redis_key, event, Date.today, :weekly)
-      # for the current week we should have value eq to the day of the week (ie. 1 for Monday, 2 for Tuesday, etc.)
-      first_week_days = Date.today.cwday
-      expect(Gitlab::Redis::HLL.count(keys: new_key)).to eq(first_week_days)
-      expect(with_redis { |r| r.ttl(new_key) }).to be_within(600).of(weekly_expiry)
-
-      full_weeks = (31 - first_week_days) / 7
-      # for the next full weeks we should have value eq to 7 (ie. 7 days in a week)
-      (1..full_weeks).each do |i|
-        new_key = described_class.new.send(:redis_key, event, Date.today - i.weeks, :weekly)
-        expect(Gitlab::Redis::HLL.count(keys: new_key)).to eq(7)
-        expect(with_redis { |r| r.ttl(new_key) }).to be_within(600).of(weekly_expiry)
-      end
-
-      # for the last week we should have value eq to amount of rest of the days affected
-      last_week_days = 31 - ((full_weeks * 7) + first_week_days)
-      unless last_week_days.zero?
-        last_week = full_weeks + 1
-        new_key = described_class.new.send(:redis_key, event, Date.today - last_week.weeks, :weekly)
-        expect(Gitlab::Redis::HLL.count(keys: new_key)).to eq(last_week_days)
-        expect(with_redis { |r| r.ttl(new_key) }).to be_within(600).of(weekly_expiry)
-      end
-    end
-  end
-
-  def with_redis(&block)
-    Gitlab::Redis::SharedState.with(&block)
-  end
-end
diff --git a/spec/migrations/20230317162059_add_current_user_todos_work_item_widget_spec.rb b/spec/migrations/20230317162059_add_current_user_todos_work_item_widget_spec.rb
deleted file mode 100644
index c202638aa2762..0000000000000
--- a/spec/migrations/20230317162059_add_current_user_todos_work_item_widget_spec.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddCurrentUserTodosWorkItemWidget, :migration, feature_category: :team_planning do
-  it_behaves_like 'migration that adds widget to work items definitions',
-    widget_name: described_class::WIDGET_NAME,
-    work_item_types: described_class::WORK_ITEM_TYPES
-end
diff --git a/spec/migrations/20230321153035_add_package_id_created_at_desc_index_to_package_files_spec.rb b/spec/migrations/20230321153035_add_package_id_created_at_desc_index_to_package_files_spec.rb
deleted file mode 100644
index 68f3b1f23a904..0000000000000
--- a/spec/migrations/20230321153035_add_package_id_created_at_desc_index_to_package_files_spec.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddPackageIdCreatedAtDescIndexToPackageFiles, feature_category: :package_registry do
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(ActiveRecord::Base.connection.indexes('packages_package_files').map(&:name))
-          .not_to include('index_packages_package_files_on_package_id_and_created_at_desc')
-      }
-
-      migration.after -> {
-        expect(ActiveRecord::Base.connection.indexes('packages_package_files').map(&:name))
-          .to include('index_packages_package_files_on_package_id_and_created_at_desc')
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230321163947_backfill_ml_candidates_project_id_spec.rb b/spec/migrations/20230321163947_backfill_ml_candidates_project_id_spec.rb
deleted file mode 100644
index da76794a74c63..0000000000000
--- a/spec/migrations/20230321163947_backfill_ml_candidates_project_id_spec.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe BackfillMlCandidatesProjectId, feature_category: :mlops do
-  let(:migration) { described_class.new }
-
-  let(:projects) { table(:projects) }
-  let(:namespaces) { table(:namespaces) }
-  let(:ml_experiments) { table(:ml_experiments) }
-  let(:ml_candidates) { table(:ml_candidates) }
-
-  let(:namespace1) { namespaces.create!(name: 'foo', path: 'foo') }
-  let(:namespace2) { namespaces.create!(name: 'bar', path: 'bar') }
-  let(:project1) { projects.create!(project_namespace_id: namespace1.id, namespace_id: namespace1.id) }
-  let(:project2) { projects.create!(project_namespace_id: namespace2.id, namespace_id: namespace2.id) }
-  let(:experiment1) { ml_experiments.create!(project_id: project1.id, iid: 1, name: 'experiment') }
-  let(:experiment2) { ml_experiments.create!(project_id: project2.id, iid: 1, name: 'experiment') }
-  let!(:candidate1) do
-    ml_candidates.create!(experiment_id: experiment1.id, project_id: nil, eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate2) do
-    ml_candidates.create!(experiment_id: experiment2.id, project_id: nil, eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate3) do
-    ml_candidates.create!(experiment_id: experiment1.id, project_id: project1.id, eid: SecureRandom.uuid)
-  end
-
-  describe '#up' do
-    it 'sets the correct project_id with idempotency', :aggregate_failures do
-      migration.up
-
-      expect(candidate1.reload.project_id).to be(project1.id)
-      expect(candidate2.reload.project_id).to be(project2.id)
-      # in case we have candidates added between the column addition and the migration
-      expect(candidate3.reload.project_id).to be(project1.id)
-
-      migration.down
-      migration.up
-
-      expect(candidate1.reload.project_id).to be(project1.id)
-      expect(candidate2.reload.project_id).to be(project2.id)
-      expect(candidate3.reload.project_id).to be(project1.id)
-    end
-  end
-end
diff --git a/spec/migrations/20230321170823_backfill_ml_candidates_internal_id_spec.rb b/spec/migrations/20230321170823_backfill_ml_candidates_internal_id_spec.rb
deleted file mode 100644
index c8f7b19490aaf..0000000000000
--- a/spec/migrations/20230321170823_backfill_ml_candidates_internal_id_spec.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe BackfillMlCandidatesInternalId, feature_category: :mlops do
-  let(:migration) { described_class.new }
-
-  let(:projects) { table(:projects) }
-  let(:namespaces) { table(:namespaces) }
-  let(:ml_experiments) { table(:ml_experiments) }
-  let(:ml_candidates) { table(:ml_candidates) }
-
-  let(:namespace1) { namespaces.create!(name: 'foo', path: 'foo') }
-  let(:namespace2) { namespaces.create!(name: 'bar', path: 'bar') }
-  let(:project1) { projects.create!(project_namespace_id: namespace1.id, namespace_id: namespace1.id) }
-  let(:project2) { projects.create!(project_namespace_id: namespace2.id, namespace_id: namespace2.id) }
-  let(:experiment1) { ml_experiments.create!(project_id: project1.id, iid: 1, name: 'experiment1') }
-  let(:experiment2) { ml_experiments.create!(project_id: project1.id, iid: 2, name: 'experiment2') }
-  let(:experiment3) { ml_experiments.create!(project_id: project2.id, iid: 1, name: 'experiment3') }
-
-  let!(:candidate1) do
-    ml_candidates.create!(experiment_id: experiment1.id, project_id: project1.id, eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate2) do
-    ml_candidates.create!(experiment_id: experiment2.id, project_id: project1.id, eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate3) do
-    ml_candidates.create!(experiment_id: experiment1.id, project_id: project1.id, eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate4) do
-    ml_candidates.create!(experiment_id: experiment1.id, project_id: project1.id, internal_id: 1,
-      eid: SecureRandom.uuid)
-  end
-
-  let!(:candidate5) do
-    ml_candidates.create!(experiment_id: experiment3.id, project_id: project2.id, eid: SecureRandom.uuid)
-  end
-
-  describe '#up' do
-    it 'sets the correct project_id with idempotency', :aggregate_failures do
-      migration.up
-
-      expect(candidate4.reload.internal_id).to be(1) # candidate 4 already has an internal_id
-      expect(candidate1.reload.internal_id).to be(2)
-      expect(candidate2.reload.internal_id).to be(3)
-      expect(candidate3.reload.internal_id).to be(4)
-      expect(candidate5.reload.internal_id).to be(1) # candidate 5 is a different project
-
-      migration.down
-      migration.up
-
-      expect(candidate4.reload.internal_id).to be(1)
-      expect(candidate1.reload.internal_id).to be(2)
-      expect(candidate2.reload.internal_id).to be(3)
-      expect(candidate3.reload.internal_id).to be(4)
-      expect(candidate5.reload.internal_id).to be(1)
-    end
-  end
-end
diff --git a/spec/migrations/20230322085041_remove_user_namespace_records_from_vsa_aggregation_spec.rb b/spec/migrations/20230322085041_remove_user_namespace_records_from_vsa_aggregation_spec.rb
deleted file mode 100644
index e5f64ef2e7015..0000000000000
--- a/spec/migrations/20230322085041_remove_user_namespace_records_from_vsa_aggregation_spec.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveUserNamespaceRecordsFromVsaAggregation,
-  migration: :gitlab_main,
-  feature_category: :value_stream_management do
-  let(:migration) { described_class::MIGRATION }
-  let!(:namespaces) { table(:namespaces) }
-  let!(:aggregations) { table(:analytics_cycle_analytics_aggregations) }
-
-  let!(:group) { namespaces.create!(name: 'aaa', path: 'aaa', type: 'Group') }
-  let!(:user_namespace) { namespaces.create!(name: 'ccc', path: 'ccc', type: 'User') }
-  let!(:project_namespace) { namespaces.create!(name: 'bbb', path: 'bbb', type: 'Project') }
-
-  let!(:group_aggregation) { aggregations.create!(group_id: group.id) }
-  let!(:user_namespace_aggregation) { aggregations.create!(group_id: user_namespace.id) }
-  let!(:project_namespace_aggregation) { aggregations.create!(group_id: project_namespace.id) }
-
-  describe '#up' do
-    it 'deletes the non-group namespace aggregation records' do
-      stub_const('RemoveUserNamespaceRecordsFromVsaAggregation::BATCH_SIZE', 1)
-
-      expect { migrate! }.to change {
-                               aggregations.order(:group_id)
-                             }.from([group_aggregation, user_namespace_aggregation,
-                               project_namespace_aggregation]).to([group_aggregation])
-    end
-  end
-
-  describe '#down' do
-    it 'does nothing' do
-      migrate!
-
-      expect { schema_migrate_down! }.not_to change {
-                                               aggregations.order(:group_id).pluck(:group_id)
-                                             }.from([group_aggregation.id])
-    end
-  end
-end
diff --git a/spec/migrations/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches_spec.rb b/spec/migrations/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches_spec.rb
deleted file mode 100644
index 647c583aa3928..0000000000000
--- a/spec/migrations/20230322145403_add_project_id_foreign_key_to_packages_npm_metadata_caches_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe AddProjectIdForeignKeyToPackagesNpmMetadataCaches,
-  feature_category: :package_registry do
-  let(:table) { described_class::SOURCE_TABLE }
-  let(:column) { described_class::COLUMN }
-  let(:foreign_key) { -> { described_class.new.foreign_keys_for(table, column).first } }
-
-  it 'creates and drops the foreign key' do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(foreign_key.call).to be(nil)
-      end
-
-      migration.after -> do
-        expect(foreign_key.call).to have_attributes(column: column.to_s)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230323101138_add_award_emoji_work_item_widget_spec.rb b/spec/migrations/20230323101138_add_award_emoji_work_item_widget_spec.rb
deleted file mode 100644
index 7987f0257ee96..0000000000000
--- a/spec/migrations/20230323101138_add_award_emoji_work_item_widget_spec.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddAwardEmojiWorkItemWidget, :migration, feature_category: :team_planning do
-  it_behaves_like 'migration that adds widget to work items definitions',
-    widget_name: described_class::WIDGET_NAME,
-    work_item_types: described_class::WORK_ITEM_TYPES
-end
diff --git a/spec/migrations/20230327103401_queue_migrate_human_user_type_spec.rb b/spec/migrations/20230327103401_queue_migrate_human_user_type_spec.rb
deleted file mode 100644
index e5852c9347175..0000000000000
--- a/spec/migrations/20230327103401_queue_migrate_human_user_type_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueMigrateHumanUserType, feature_category: :user_management do
-  let(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :users,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230327123333_backfill_product_analytics_data_collector_host_spec.rb b/spec/migrations/20230327123333_backfill_product_analytics_data_collector_host_spec.rb
deleted file mode 100644
index 05cc065e6c39f..0000000000000
--- a/spec/migrations/20230327123333_backfill_product_analytics_data_collector_host_spec.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-require_migration!
-
-RSpec.describe BackfillProductAnalyticsDataCollectorHost, feature_category: :product_analytics_data_management do
-  let!(:application_settings) { table(:application_settings) }
-
-  describe '#up' do
-    before do
-      create_application_settings!(id: 1, jitsu_host: "https://configurator.testing.my-product-analytics.com",
-        product_analytics_data_collector_host: nil)
-      create_application_settings!(id: 2, jitsu_host: "https://config-urator_1.testing.my-product-analytics.com",
-        product_analytics_data_collector_host: nil)
-      create_application_settings!(id: 3, jitsu_host: "https://configurator.testing.my-product-analytics.com",
-        product_analytics_data_collector_host: "https://existingcollector.my-product-analytics.com")
-      create_application_settings!(id: 4, jitsu_host: nil, product_analytics_data_collector_host: nil)
-      migrate!
-    end
-
-    describe 'when jitsu host is present' do
-      it 'backfills missing product_analytics_data_collector_host' do
-        expect(application_settings.find(1).product_analytics_data_collector_host).to eq("https://collector.testing.my-product-analytics.com")
-        expect(application_settings.find(2).product_analytics_data_collector_host).to eq("https://collector.testing.my-product-analytics.com")
-      end
-
-      it 'does not modify existing product_analytics_data_collector_host' do
-        expect(application_settings.find(3).product_analytics_data_collector_host).to eq("https://existingcollector.my-product-analytics.com")
-      end
-    end
-
-    describe 'when jitsu host is not present' do
-      it 'does not backfill product_analytics_data_collector_host' do
-        expect(application_settings.find(4).product_analytics_data_collector_host).to be_nil
-      end
-    end
-  end
-
-  def create_application_settings!(id:, jitsu_host:, product_analytics_data_collector_host:)
-    params = {
-      id: id,
-      jitsu_host: jitsu_host,
-      product_analytics_data_collector_host: product_analytics_data_collector_host
-    }
-    application_settings.create!(params)
-  end
-end
diff --git a/spec/migrations/20230328030101_add_secureflag_training_provider_spec.rb b/spec/migrations/20230328030101_add_secureflag_training_provider_spec.rb
deleted file mode 100644
index 774ea89937a52..0000000000000
--- a/spec/migrations/20230328030101_add_secureflag_training_provider_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddSecureflagTrainingProvider, :migration, feature_category: :vulnerability_management do
-  include MigrationHelpers::WorkItemTypesHelper
-
-  let!(:security_training_providers) { table(:security_training_providers) }
-
-  it 'adds additional provider' do
-    # Need to delete all as security training providers are seeded before entire test suite
-    security_training_providers.delete_all
-
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(security_training_providers.count).to eq(0)
-      }
-
-      migration.after -> {
-        expect(security_training_providers.count).to eq(1)
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230328100534_truncate_error_tracking_tables_spec.rb b/spec/migrations/20230328100534_truncate_error_tracking_tables_spec.rb
deleted file mode 100644
index efbbe22fd1bac..0000000000000
--- a/spec/migrations/20230328100534_truncate_error_tracking_tables_spec.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe TruncateErrorTrackingTables, :migration, feature_category: :redis do
-  let(:migration) { described_class.new }
-
-  context 'when on GitLab.com' do
-    before do
-      allow(Gitlab).to receive(:com?).and_return(true)
-    end
-
-    context 'when using Main db' do
-      it 'truncates the table' do
-        expect(described_class.connection).to receive(:execute).with('TRUNCATE table error_tracking_errors CASCADE')
-
-        migration.up
-      end
-    end
-
-    context 'when uses CI db', migration: :gitlab_ci do
-      before do
-        skip_if_multiple_databases_not_setup(:ci)
-      end
-
-      it 'does not truncate the table' do
-        expect(described_class.connection).not_to receive(:execute).with('TRUNCATE table error_tracking_errors CASCADE')
-
-        migration.up
-      end
-    end
-  end
-
-  context 'when on self-managed' do
-    before do
-      allow(Gitlab).to receive(:com?).and_return(false)
-    end
-
-    context 'when using Main db' do
-      it 'does not truncate the table' do
-        expect(described_class.connection).not_to receive(:execute).with('TRUNCATE table error_tracking_errors CASCADE')
-
-        migration.up
-      end
-    end
-
-    context 'when uses CI db', migration: :gitlab_ci do
-      it 'does not truncate the table' do
-        expect(described_class.connection).not_to receive(:execute).with('TRUNCATE table error_tracking_errors CASCADE')
-
-        migration.up
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230329100222_drop_software_licenses_temp_index_spec.rb b/spec/migrations/20230329100222_drop_software_licenses_temp_index_spec.rb
deleted file mode 100644
index d4d276980f812..0000000000000
--- a/spec/migrations/20230329100222_drop_software_licenses_temp_index_spec.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe DropSoftwareLicensesTempIndex, feature_category: :security_policy_management do
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(ActiveRecord::Base.connection.indexes('software_licenses').map(&:name))
-          .to include(described_class::INDEX_NAME)
-      }
-
-      migration.after -> {
-        expect(ActiveRecord::Base.connection.indexes('software_licenses').map(&:name))
-          .not_to include(described_class::INDEX_NAME)
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230330103104_reschedule_migrate_evidences_spec.rb b/spec/migrations/20230330103104_reschedule_migrate_evidences_spec.rb
deleted file mode 100644
index 8dc8cd68acba7..0000000000000
--- a/spec/migrations/20230330103104_reschedule_migrate_evidences_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleMigrateEvidences, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'does not schedule a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2_spec.rb b/spec/migrations/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2_spec.rb
deleted file mode 100644
index 5203e772d158c..0000000000000
--- a/spec/migrations/20230403085957_add_tmp_partial_index_on_vulnerability_report_types2_spec.rb
+++ /dev/null
@@ -1,49 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe AddTmpPartialIndexOnVulnerabilityReportTypes2, feature_category: :vulnerability_management do
-  let(:async_index) { Gitlab::Database::AsyncIndexes::PostgresAsyncIndex }
-  let(:index_name) { described_class::INDEX_NAME }
-
-  before do
-    allow_any_instance_of(ActiveRecord::ConnectionAdapters::SchemaStatements) # rubocop:disable RSpec/AnyInstanceOf
-      .to receive(:index_exists?)
-            .with("vulnerability_occurrences", :id, hash_including(name: index_name))
-            .and_return(index_exists)
-  end
-
-  context "with index absent" do
-    let(:index_exists) { false }
-
-    it "schedules the index" do
-      reversible_migration do |migration|
-        migration.before -> do
-          expect(async_index.where(name: index_name).count).to be(0)
-        end
-
-        migration.after -> do
-          expect(async_index.where(name: index_name).count).to be(1)
-        end
-      end
-    end
-  end
-
-  context "with index present" do
-    let(:index_exists) { true }
-
-    it "does not schedule the index" do
-      reversible_migration do |migration|
-        migration.before -> do
-          expect(async_index.where(name: index_name).count).to be(0)
-        end
-
-        migration.after -> do
-          expect(async_index.where(name: index_name).count).to be(0)
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230405200858_requeue_backfill_project_wiki_repositories_spec.rb b/spec/migrations/20230405200858_requeue_backfill_project_wiki_repositories_spec.rb
deleted file mode 100644
index cf42818152f97..0000000000000
--- a/spec/migrations/20230405200858_requeue_backfill_project_wiki_repositories_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RequeueBackfillProjectWikiRepositories, feature_category: :geo_replication do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :projects,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230406121544_queue_backfill_design_management_repositories_spec.rb b/spec/migrations/20230406121544_queue_backfill_design_management_repositories_spec.rb
deleted file mode 100644
index 39ef769fd1191..0000000000000
--- a/spec/migrations/20230406121544_queue_backfill_design_management_repositories_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillDesignManagementRepositories, feature_category: :geo_replication do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :projects,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230411153310_cleanup_bigint_conversion_for_sent_notifications_spec.rb b/spec/migrations/20230411153310_cleanup_bigint_conversion_for_sent_notifications_spec.rb
deleted file mode 100644
index 5780aa365da47..0000000000000
--- a/spec/migrations/20230411153310_cleanup_bigint_conversion_for_sent_notifications_spec.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!('cleanup_bigint_conversion_for_sent_notifications')
-
-RSpec.describe CleanupBigintConversionForSentNotifications, feature_category: :database do
-  let(:sent_notifications) { table(:sent_notifications) }
-
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(sent_notifications.column_names).to include('id_convert_to_bigint')
-      }
-
-      migration.after -> {
-        sent_notifications.reset_column_information
-        expect(sent_notifications.column_names).not_to include('id_convert_to_bigint')
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230412141541_reschedule_links_avoiding_duplication_spec.rb b/spec/migrations/20230412141541_reschedule_links_avoiding_duplication_spec.rb
deleted file mode 100644
index 342504ca3c52c..0000000000000
--- a/spec/migrations/20230412141541_reschedule_links_avoiding_duplication_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleLinksAvoidingDuplication, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230412185837_queue_populate_vulnerability_dismissal_fields_spec.rb b/spec/migrations/20230412185837_queue_populate_vulnerability_dismissal_fields_spec.rb
deleted file mode 100644
index d39936abb9015..0000000000000
--- a/spec/migrations/20230412185837_queue_populate_vulnerability_dismissal_fields_spec.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueuePopulateVulnerabilityDismissalFields, feature_category: :vulnerability_management do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a new batched migration' do
-      reversible_migration do |migration|
-        migration.before -> {
-          expect(batched_migration).not_to have_scheduled_batched_migration
-        }
-
-        migration.after -> {
-          expect(batched_migration).to have_scheduled_batched_migration(
-            table_name: :vulnerabilities,
-            column_name: :id,
-            interval: described_class::DELAY_INTERVAL,
-            batch_size: described_class::BATCH_SIZE,
-            sub_batch_size: described_class::SUB_BATCH_SIZE
-          )
-        }
-      end
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(batched_migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230412214119_finalize_encrypt_ci_trigger_token_spec.rb b/spec/migrations/20230412214119_finalize_encrypt_ci_trigger_token_spec.rb
deleted file mode 100644
index bcc3549946ba9..0000000000000
--- a/spec/migrations/20230412214119_finalize_encrypt_ci_trigger_token_spec.rb
+++ /dev/null
@@ -1,97 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe FinalizeEncryptCiTriggerToken, migration: :gitlab_ci, feature_category: :continuous_integration do
-  let(:batched_migrations) { table(:batched_background_migrations) }
-  let(:batch_failed_status) { 2 }
-  let(:batch_finalized_status) { 6 }
-  let(:job_finished_status) { 3 }
-
-  let!(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    context 'when migration is missing' do
-      before do
-        batched_migrations.where(job_class_name: migration).delete_all
-      end
-
-      it 'warns migration not found' do
-        expect(Gitlab::AppLogger)
-          .to receive(:warn).with(/Could not find batched background migration for the given configuration:/)
-
-        migrate!
-      end
-    end
-
-    context 'with migration present' do
-      let!(:migration_record) do
-        batched_migrations.create!(
-          job_class_name: migration,
-          table_name: :ci_triggers,
-          column_name: :id,
-          job_arguments: [],
-          interval: 2.minutes,
-          min_value: 1,
-          max_value: 2,
-          batch_size: 1000,
-          sub_batch_size: 100,
-          max_batch_size: 2000,
-          gitlab_schema: :gitlab_ci,
-          status: batch_finalized_status
-        )
-      end
-
-      context 'when migration finished successfully' do
-        it 'does not raise exception' do
-          expect { migrate! }.not_to raise_error
-        end
-      end
-
-      context 'with different migration statuses', :redis do
-        using RSpec::Parameterized::TableSyntax
-
-        where(:status, :description) do
-          0 | 'paused'
-          1 | 'active'
-          4 | 'failed'
-          5 | 'finalizing'
-        end
-
-        with_them do
-          let!(:failed_job) do
-            table(:batched_background_migration_jobs).create!(
-              batched_background_migration_id: migration_record.id,
-              status: batch_failed_status,
-              min_value: 1,
-              max_value: 10,
-              attempts: 2,
-              batch_size: 100,
-              sub_batch_size: 10
-            )
-          end
-
-          before do
-            migration_record.update!(status: status)
-          end
-
-          it 'finalizes the migration' do
-            expect do
-              migrate!
-
-              migration_record.reload
-              failed_job.reload
-            end.to(
-              change { migration_record.status }.from(status).to(batch_finalized_status)
-                .and(
-                  change { failed_job.status }.from(batch_failed_status).to(job_finished_status)
-                )
-            )
-          end
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230418215853_add_assignee_widget_to_incidents_spec.rb b/spec/migrations/20230418215853_add_assignee_widget_to_incidents_spec.rb
deleted file mode 100644
index d809d0e6a542a..0000000000000
--- a/spec/migrations/20230418215853_add_assignee_widget_to_incidents_spec.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddAssigneeWidgetToIncidents, :migration, feature_category: :team_planning do
-  let(:migration) { described_class.new }
-  let(:work_item_definitions) { table(:work_item_widget_definitions) }
-  let(:work_item_types) { table(:work_item_types) }
-
-  let(:widget_name) { 'Assignees' }
-  let(:work_item_type) { 'Incident' }
-
-  describe '#up' do
-    it 'creates widget definition' do
-      type = work_item_types.find_by_name_and_namespace_id(work_item_type, nil)
-      work_item_definitions.where(work_item_type_id: type, name: widget_name).delete_all if type
-
-      expect { migrate! }.to change { work_item_definitions.count }.by(1)
-
-      type = work_item_types.find_by_name_and_namespace_id(work_item_type, nil)
-
-      expect(work_item_definitions.where(work_item_type_id: type, name: widget_name).count).to eq 1
-    end
-
-    it 'logs a warning if the type is missing' do
-      allow(described_class::WorkItemType).to receive(:find_by_name_and_namespace_id).and_call_original
-      allow(described_class::WorkItemType).to receive(:find_by_name_and_namespace_id)
-        .with(work_item_type, nil).and_return(nil)
-
-      expect(Gitlab::AppLogger).to receive(:warn).with(AddAssigneeWidgetToIncidents::FAILURE_MSG)
-      migrate!
-    end
-  end
-
-  describe '#down' do
-    it 'removes definitions for widget' do
-      migrate!
-
-      expect { migration.down }.to change { work_item_definitions.count }.by(-1)
-
-      type = work_item_types.find_by_name_and_namespace_id(work_item_type, nil)
-
-      expect(work_item_definitions.where(work_item_type_id: type, name: widget_name).count).to eq 0
-    end
-  end
-end
diff --git a/spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb b/spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb
deleted file mode 100644
index df84c8efd054a..0000000000000
--- a/spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemovePhabricatorFromApplicationSettings, feature_category: :importers do
-  let(:settings) { table(:application_settings) }
-  let(:import_sources_with_phabricator) { %w[phabricator github git bitbucket bitbucket_server] }
-  let(:import_sources_without_phabricator) { %w[github git bitbucket bitbucket_server] }
-
-  describe "#up" do
-    it 'removes phabricator and preserves existing valid import sources' do
-      record = settings.create!(import_sources: import_sources_with_phabricator)
-
-      migrate!
-
-      expect(record.reload.import_sources).to start_with('---')
-
-      expect(ApplicationSetting.last.import_sources).to eq(import_sources_without_phabricator)
-    end
-  end
-end
diff --git a/spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb b/spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb
deleted file mode 100644
index d0d948dad9d0a..0000000000000
--- a/spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb
+++ /dev/null
@@ -1,89 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillResourceLinkEvents, feature_category: :team_planning do
-  include MigrationHelpers::WorkItemTypesHelper
-
-  let(:users) { table(:users) }
-  let(:namespaces) { table(:namespaces) }
-  let(:projects) { table(:projects) }
-  let(:issues) { table(:issues) }
-  let(:notes) { table(:notes) }
-  let(:system_note_metadata) { table(:system_note_metadata) }
-
-  let(:namespace) { namespaces.create!(name: "namespace", path: "namespace") }
-  let(:project) { projects.create!(namespace_id: namespace.id, project_namespace_id: namespace.id) }
-  let(:work_item_issue_type_id) { table(:work_item_types).find_by(namespace_id: nil, name: 'Issue').id }
-  let(:issue) { issues.create!(project_id: project.id, namespace_id: project.project_namespace_id, work_item_type_id: work_item_issue_type_id) } # rubocop:disable Layout/LineLength
-  let(:user) { users.create!(name: 'user', projects_limit: 10) }
-
-  let!(:system_note_metadata_record1) do
-    note = notes.create!(noteable_type: 'Issue', noteable_id: issue.id, author_id: user.id, note: "foobar")
-
-    system_note_metadata.create!(action: 'foobar', note_id: note.id)
-  end
-
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    %w[relate_to_parent unrelate_from_parent].each do |action_value|
-      context 'when system_note_metadata table has a row with targeted action values' do
-        let!(:system_note_metadata_record2) do
-          note = notes.create!(noteable_type: 'Issue', noteable_id: issue.id, author_id: user.id, note: "foobar")
-
-          system_note_metadata.create!(action: action_value, note_id: note.id)
-        end
-
-        let!(:system_note_metadata_record3) do
-          note = notes.create!(noteable_type: 'Issue', noteable_id: issue.id, author_id: user.id, note: "foobar")
-
-          system_note_metadata.create!(action: action_value, note_id: note.id)
-        end
-
-        it 'schedules a new batched migration with the lowest system_note_metadat record id' do
-          reversible_migration do |migration|
-            migration.before -> {
-              expect(batched_migration).not_to have_scheduled_batched_migration
-            }
-
-            migration.after -> {
-              expect(batched_migration).to have_scheduled_batched_migration(
-                table_name: :system_note_metadata,
-                column_name: :id,
-                interval: described_class::DELAY_INTERVAL,
-                batch_size: described_class::BATCH_SIZE,
-                sub_batch_size: described_class::SUB_BATCH_SIZE,
-                batch_min_value: system_note_metadata_record2.id
-              )
-            }
-          end
-        end
-      end
-    end
-
-    context 'when system_note_metadata table does not ahve a row with the targeted action values' do
-      it 'does not a new batched migration' do
-        reversible_migration do |migration|
-          migration.before -> {
-            expect(batched_migration).not_to have_scheduled_batched_migration
-          }
-
-          migration.after -> {
-            expect(batched_migration).not_to have_scheduled_batched_migration
-          }
-        end
-      end
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(batched_migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb b/spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb
deleted file mode 100644
index aa5ec462871f1..0000000000000
--- a/spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe FixImportSourcesOnApplicationSettingsAfterPhabricatorRemoval, feature_category: :importers do
-  let(:settings) { table(:application_settings) }
-  let(:import_sources) { %w[github git bitbucket bitbucket_server] }
-
-  describe "#up" do
-    shared_examples 'fixes import_sources on application_settings' do
-      it 'ensures YAML is stored' do
-        record = settings.create!(import_sources: data)
-
-        migrate!
-
-        expect(record.reload.import_sources).to start_with('---')
-        expect(ApplicationSetting.last.import_sources).to eq(import_sources)
-      end
-    end
-
-    context 'when import_sources is a String' do
-      let(:data) { import_sources.to_s }
-
-      it_behaves_like 'fixes import_sources on application_settings'
-    end
-
-    context 'when import_sources is already YAML' do
-      let(:data) { import_sources.to_yaml }
-
-      it_behaves_like 'fixes import_sources on application_settings'
-    end
-  end
-end
diff --git a/spec/migrations/20230428085332_remove_shimo_zentao_integration_records_spec.rb b/spec/migrations/20230428085332_remove_shimo_zentao_integration_records_spec.rb
deleted file mode 100644
index 1d2fbb6b95dd9..0000000000000
--- a/spec/migrations/20230428085332_remove_shimo_zentao_integration_records_spec.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe RemoveShimoZentaoIntegrationRecords, feature_category: :integrations do
-  let(:integrations) { table(:integrations) }
-  let(:zentao_tracker_data) { table(:zentao_tracker_data) }
-
-  before do
-    integrations.create!(id: 1, type_new: 'Integrations::MockMonitoring')
-    integrations.create!(id: 2, type_new: 'Integrations::Redmine')
-    integrations.create!(id: 3, type_new: 'Integrations::Confluence')
-
-    integrations.create!(id: 4, type_new: 'Integrations::Shimo')
-    integrations.create!(id: 5, type_new: 'Integrations::Zentao')
-    integrations.create!(id: 6, type_new: 'Integrations::Zentao')
-    zentao_tracker_data.create!(id: 1, integration_id: 5)
-    zentao_tracker_data.create!(id: 2, integration_id: 6)
-  end
-
-  context 'with CE/EE env' do
-    it 'destroys all shimo and zentao integrations' do
-      migrate!
-
-      expect(integrations.count).to eq(3) # keep other integrations
-      expect(integrations.where(type_new: described_class::TYPES).count).to eq(0)
-      expect(zentao_tracker_data.count).to eq(0)
-    end
-  end
-
-  context 'with JiHu env' do
-    before do
-      allow(Gitlab).to receive(:jh?).and_return(true)
-    end
-
-    it 'keeps shimo and zentao integrations' do
-      migrate!
-
-      expect(integrations.count).to eq(6)
-      expect(integrations.where(type_new: described_class::TYPES).count).to eq(3)
-      expect(zentao_tracker_data.count).to eq(2)
-    end
-  end
-end
diff --git a/spec/migrations/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level_spec.rb b/spec/migrations/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level_spec.rb
deleted file mode 100644
index 34d69642802c0..0000000000000
--- a/spec/migrations/20230502102832_schedule_index_to_members_on_source_and_type_and_access_level_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe ScheduleIndexToMembersOnSourceAndTypeAndAccessLevel, feature_category: :security_policy_management do
-  let(:async_index) { Gitlab::Database::AsyncIndexes::PostgresAsyncIndex }
-  let(:index_name) { described_class::INDEX_NAME }
-
-  it "schedules the index" do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(async_index.where(name: index_name).count).to be(0)
-      end
-
-      migration.after -> do
-        expect(async_index.where(name: index_name).count).to be(1)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level_spec.rb b/spec/migrations/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level_spec.rb
deleted file mode 100644
index 9759fa7862d16..0000000000000
--- a/spec/migrations/20230502120021_schedule_index_to_project_authorizations_on_project_user_access_level_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe ScheduleIndexToProjectAuthorizationsOnProjectUserAccessLevel, feature_category: :security_policy_management do
-  let(:async_index) { Gitlab::Database::AsyncIndexes::PostgresAsyncIndex }
-  let(:index_name) { described_class::INDEX_NAME }
-
-  it "schedules the index" do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(async_index.where(name: index_name).count).to be(0)
-      end
-
-      migration.after -> do
-        expect(async_index.where(name: index_name).count).to be(1)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230504084524_remove_gitlab_import_source_spec.rb b/spec/migrations/20230504084524_remove_gitlab_import_source_spec.rb
deleted file mode 100644
index b2442359e87b5..0000000000000
--- a/spec/migrations/20230504084524_remove_gitlab_import_source_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveGitlabImportSource, feature_category: :importers do
-  let(:settings) { table(:application_settings) }
-  let(:import_sources_with_gitlab) { %w[github git gitlab bitbucket bitbucket_server] }
-  let(:import_sources_without_gitlab) { %w[github git bitbucket bitbucket_server] }
-
-  describe "#up" do
-    it 'removes gitlab and preserves existing valid import sources' do
-      record = settings.create!(import_sources: import_sources_with_gitlab)
-
-      migrate!
-
-      expect(record.reload.import_sources).to start_with('---')
-
-      expect(ApplicationSetting.last.import_sources).to eq(import_sources_without_gitlab)
-    end
-  end
-end
diff --git a/spec/migrations/20230505115558_add_authors_and_description_to_nuget_metadatum_spec.rb b/spec/migrations/20230505115558_add_authors_and_description_to_nuget_metadatum_spec.rb
deleted file mode 100644
index 11e8ec394765d..0000000000000
--- a/spec/migrations/20230505115558_add_authors_and_description_to_nuget_metadatum_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddAuthorsAndDescriptionToNugetMetadatum, feature_category: :package_registry do
-  let(:metadatum) { table(:packages_nuget_metadata) }
-
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(metadatum.column_names).not_to include('authors')
-        expect(metadatum.column_names).not_to include('description')
-      }
-
-      migration.after -> {
-        metadatum.reset_column_information
-
-        expect(metadatum.column_names).to include('authors')
-        expect(metadatum.column_names).to include('description')
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230508150219_reschedule_evidences_handling_unicode_spec.rb b/spec/migrations/20230508150219_reschedule_evidences_handling_unicode_spec.rb
deleted file mode 100644
index 9ba44984372d1..0000000000000
--- a/spec/migrations/20230508150219_reschedule_evidences_handling_unicode_spec.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleEvidencesHandlingUnicode, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :vulnerability_occurrences,
-        column_name: :id,
-        interval: described_class::DELAY_INTERVAL,
-        batch_size: described_class::BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230509131736_add_default_organization_spec.rb b/spec/migrations/20230509131736_add_default_organization_spec.rb
deleted file mode 100644
index 539216c57eed8..0000000000000
--- a/spec/migrations/20230509131736_add_default_organization_spec.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe AddDefaultOrganization, feature_category: :cell do
-  let(:organization) { table(:organizations) }
-
-  it "correctly migrates up and down" do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(organization.where(id: 1, name: 'Default')).to be_empty
-      }
-      migration.after -> {
-        expect(organization.where(id: 1, name: 'Default')).not_to be_empty
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230515153600_finalize_back_fill_prepared_at_merge_requests_spec.rb b/spec/migrations/20230515153600_finalize_back_fill_prepared_at_merge_requests_spec.rb
deleted file mode 100644
index 71487280af096..0000000000000
--- a/spec/migrations/20230515153600_finalize_back_fill_prepared_at_merge_requests_spec.rb
+++ /dev/null
@@ -1,76 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe FinalizeBackFillPreparedAtMergeRequests, :migration, feature_category: :code_review_workflow do
-  let(:batched_migrations) { table(:batched_background_migrations) }
-
-  let!(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    shared_examples 'finalizes the migration' do
-      it 'finalizes the migration' do
-        allow_next_instance_of(Gitlab::Database::BackgroundMigration::BatchedMigrationRunner) do |runner|
-          expect(runner).to receive(:finalize).with(migration, :merge_requests, :id, [nil, "up"])
-        end
-      end
-    end
-
-    context 'when prepared at backfilling migration is missing' do
-      before do
-        batched_migrations.where(job_class_name: migration).delete_all
-      end
-
-      it 'warns migration not found' do
-        expect(Gitlab::AppLogger)
-          .to receive(:warn).with(/Could not find batched background migration for the given configuration:/)
-
-        migrate!
-      end
-    end
-
-    context 'with backfilling migration present' do
-      let!(:project_namespace_backfill) do
-        batched_migrations.create!(
-          job_class_name: migration,
-          table_name: :merge_requests,
-          column_name: :id,
-          job_arguments: [],
-          interval: 2.minutes,
-          min_value: 1,
-          max_value: 2,
-          batch_size: 1000,
-          sub_batch_size: 200,
-          gitlab_schema: :gitlab_main,
-          status: 3 # finished
-        )
-      end
-
-      context 'when prepared at backfilling migration finished successfully' do
-        it 'does not raise exception' do
-          expect { migrate! }.not_to raise_error
-        end
-      end
-
-      context 'when prepared at backfilling migration is paused' do
-        using RSpec::Parameterized::TableSyntax
-
-        where(:status, :description) do
-          0 | 'paused'
-          1 | 'active'
-          4 | 'failed'
-          5 | 'finalizing'
-        end
-
-        with_them do
-          before do
-            project_namespace_backfill.update!(status: status)
-          end
-
-          it_behaves_like 'finalizes the migration'
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes_spec.rb b/spec/migrations/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes_spec.rb
deleted file mode 100644
index f7052020005d6..0000000000000
--- a/spec/migrations/20230517163300_queue_backfill_root_storage_statistics_fork_storage_sizes_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillRootStorageStatisticsForkStorageSizes, feature_category: :consumables_cost_management do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :namespace_root_storage_statistics,
-          column_name: :namespace_id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230518071251_queue_backfill_code_suggestions_namespace_settings_spec.rb b/spec/migrations/20230518071251_queue_backfill_code_suggestions_namespace_settings_spec.rb
deleted file mode 100644
index 1be3f84a6a1fb..0000000000000
--- a/spec/migrations/20230518071251_queue_backfill_code_suggestions_namespace_settings_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillCodeSuggestionsNamespaceSettings, feature_category: :code_suggestions do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :namespace_settings,
-          column_name: :namespace_id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups_spec.rb b/spec/migrations/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups_spec.rb
deleted file mode 100644
index d5a20a8a7feff..0000000000000
--- a/spec/migrations/20230519011151_schedule_to_remove_invalid_deploy_access_level_groups_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe ScheduleToRemoveInvalidDeployAccessLevelGroups, feature_category: :continuous_delivery do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :protected_environment_deploy_access_levels,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230522111534_reschedule_migration_for_links_from_metadata_spec.rb b/spec/migrations/20230522111534_reschedule_migration_for_links_from_metadata_spec.rb
deleted file mode 100644
index efaef3e689221..0000000000000
--- a/spec/migrations/20230522111534_reschedule_migration_for_links_from_metadata_spec.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleMigrationForLinksFromMetadata, :migration, feature_category: :vulnerability_management do
-  let(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    it 'schedules a batched background migration' do
-      migrate!
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :vulnerability_occurrences,
-        column_name: :id,
-        interval: described_class::DELAY_INTERVAL,
-        batch_size: described_class::BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE
-      )
-    end
-  end
-
-  describe '#down' do
-    it 'deletes all batched migration records' do
-      migrate!
-      schema_migrate_down!
-
-      expect(migration).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/20230522220709_ensure_incident_work_item_type_backfill_is_finished_spec.rb b/spec/migrations/20230522220709_ensure_incident_work_item_type_backfill_is_finished_spec.rb
deleted file mode 100644
index 29f2d86d702f6..0000000000000
--- a/spec/migrations/20230522220709_ensure_incident_work_item_type_backfill_is_finished_spec.rb
+++ /dev/null
@@ -1,106 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureIncidentWorkItemTypeBackfillIsFinished, :migration, feature_category: :team_planning do
-  include MigrationHelpers::WorkItemTypesHelper
-
-  let(:batched_migrations) { table(:batched_background_migrations) }
-  let(:work_item_types) { table(:work_item_types) }
-  let(:batch_failed_status) { 2 }
-  let(:batch_finalized_status) { 6 }
-
-  let!(:migration_class) { described_class::MIGRATION }
-
-  describe '#up', :redis do
-    it "doesn't fail if work item types don't exist on the DB" do
-      table(:work_item_types).delete_all
-
-      migrate!
-
-      # Since migration specs run outside of a transaction, we need to make
-      # sure we recreate default types since this spec deletes them all
-      reset_work_item_types
-    end
-
-    context 'when migration is missing' do
-      before do
-        batched_migrations.where(job_class_name: migration_class).delete_all
-      end
-
-      it 'warns migration not found' do
-        expect(Gitlab::AppLogger)
-          .to receive(:warn).with(/Could not find batched background migration for the given configuration:/)
-                            .once
-
-        migrate!
-      end
-    end
-
-    context 'with migration present' do
-      let!(:backfill_migration) do
-        type_id = work_item_types.find_by!(namespace_id: nil, base_type: described_class::INCIDENT_ENUM_TYPE).id
-
-        create_migration_with(status, described_class::INCIDENT_ENUM_TYPE, type_id)
-      end
-
-      context 'when migrations have finished' do
-        let(:status) { 3 } # finished enum value
-
-        it 'does not raise an error' do
-          expect { migrate! }.not_to raise_error
-        end
-      end
-
-      context 'with different migration statuses' do
-        using RSpec::Parameterized::TableSyntax
-
-        where(:status, :description) do
-          0 | 'paused'
-          1 | 'active'
-          4 | 'failed'
-          5 | 'finalizing'
-        end
-
-        with_them do
-          it 'finalizes the migration' do
-            expect do
-              migrate!
-
-              backfill_migration.reload
-            end.to change { backfill_migration.status }.from(status).to(batch_finalized_status)
-          end
-        end
-      end
-    end
-  end
-
-  def create_migration_with(status, base_type, type_id)
-    migration = batched_migrations.create!(
-      job_class_name: migration_class,
-      table_name: :issues,
-      column_name: :id,
-      job_arguments: [base_type, type_id],
-      interval: 2.minutes,
-      min_value: 1,
-      max_value: 2,
-      batch_size: 1000,
-      sub_batch_size: 200,
-      gitlab_schema: :gitlab_main,
-      status: status
-    )
-
-    table(:batched_background_migration_jobs).create!(
-      batched_background_migration_id: migration.id,
-      status: batch_failed_status,
-      min_value: 1,
-      max_value: 10,
-      attempts: 2,
-      batch_size: 100,
-      sub_batch_size: 10
-    )
-
-    migration
-  end
-end
diff --git a/spec/migrations/20230523101514_finalize_user_type_migration_spec.rb b/spec/migrations/20230523101514_finalize_user_type_migration_spec.rb
deleted file mode 100644
index 01c05c38098d7..0000000000000
--- a/spec/migrations/20230523101514_finalize_user_type_migration_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe FinalizeUserTypeMigration, feature_category: :devops_reports do
-  it 'finalizes MigrateHumanUserType migration' do
-    expect_next_instance_of(described_class) do |instance|
-      expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(
-        job_class_name: 'MigrateHumanUserType',
-        table_name: :users,
-        column_name: :id,
-        job_arguments: []
-      )
-    end
-
-    migrate!
-  end
-end
diff --git a/spec/migrations/20230524201454_queue_mark_duplicate_npm_packages_for_destruction_spec.rb b/spec/migrations/20230524201454_queue_mark_duplicate_npm_packages_for_destruction_spec.rb
deleted file mode 100644
index 639c84e9bec24..0000000000000
--- a/spec/migrations/20230524201454_queue_mark_duplicate_npm_packages_for_destruction_spec.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueMarkDuplicateNpmPackagesForDestruction, feature_category: :package_registry do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :packages_packages,
-          column_name: :project_id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE,
-          batch_class_name: described_class::BATCH_CLASS_NAME,
-          sub_batch_size: described_class::SUB_BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230605095810_ensure_default_organization_spec.rb b/spec/migrations/20230605095810_ensure_default_organization_spec.rb
deleted file mode 100644
index 97e9a4c54e769..0000000000000
--- a/spec/migrations/20230605095810_ensure_default_organization_spec.rb
+++ /dev/null
@@ -1,51 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe EnsureDefaultOrganization, feature_category: :cell do
-  let(:organization) { table(:organizations) }
-
-  it "creates default organization if needed" do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(organization.where(id: 1, name: 'Default', path: 'default')).to be_empty
-      }
-      migration.after -> {
-        expect(organization.where(id: 1, name: 'Default', path: 'default')).not_to be_empty
-      }
-    end
-  end
-
-  context 'when default organization already exists' do
-    it "does not creates default organization if needed" do
-      reversible_migration do |migration|
-        migration.before -> {
-          organization.create!(id: 1, name: 'Default', path: 'default')
-
-          expect(organization.where(id: 1, name: 'Default', path: 'default')).not_to be_empty
-        }
-        migration.after -> {
-          expect(organization.where(id: 1, name: 'Default', path: 'default')).not_to be_empty
-        }
-      end
-    end
-  end
-
-  context 'when the path is in use by another organization' do
-    before do
-      organization.create!(id: 1000, name: 'Default', path: 'default')
-    end
-
-    it "adds a random hash to the path" do
-      reversible_migration do |migration|
-        migration.after -> {
-          default_organization = organization.where(id: 1)
-
-          expect(default_organization.first.path).to match(/default-\w{6}/)
-        }
-      end
-    end
-  end
-end
diff --git a/spec/migrations/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null_spec.rb b/spec/migrations/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null_spec.rb
deleted file mode 100644
index 8891d8a990793..0000000000000
--- a/spec/migrations/20230605192000_drop_tmp_index_oauth_access_tokens_on_id_where_expires_in_null_spec.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe DropTmpIndexOauthAccessTokensOnIdWhereExpiresInNull, feature_category: :database do
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(ActiveRecord::Base.connection.indexes('oauth_access_tokens').map(&:name))
-          .to include(described_class::TMP_INDEX)
-      }
-
-      migration.after -> {
-        expect(ActiveRecord::Base.connection.indexes('oauth_access_tokens').map(&:name))
-          .not_to include(described_class::TMP_INDEX)
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at_spec.rb b/spec/migrations/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
deleted file mode 100644
index 3d7beaebabfee..0000000000000
--- a/spec/migrations/20230608071301_requeue_cleanup_personal_access_tokens_with_nil_expires_at_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RequeueCleanupPersonalAccessTokensWithNilExpiresAt, feature_category: :system_access do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :personal_access_tokens,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL,
-          batch_size: described_class::BATCH_SIZE
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances_spec.rb b/spec/migrations/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances_spec.rb
deleted file mode 100644
index 9740588912bf5..0000000000000
--- a/spec/migrations/20230608195429_redo_remove_create_learn_gitlab_worker_job_instances_spec.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RedoRemoveCreateLearnGitlabWorkerJobInstances, :migration, feature_category: :onboarding do
-  describe '#up' do
-    it 'calls sidekiq_remove_jobs with correct argument' do
-      expect_next_instance_of(described_class) do |migration|
-        expect(migration).to receive(:sidekiq_remove_jobs)
-                               .with({ job_klasses: %w[Onboarding::CreateLearnGitlabWorker] })
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/add_type_to_http_integrations_spec.rb b/spec/migrations/add_type_to_http_integrations_spec.rb
deleted file mode 100644
index 8238c1594dc0a..0000000000000
--- a/spec/migrations/add_type_to_http_integrations_spec.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe AddTypeToHttpIntegrations, feature_category: :incident_management do
-  let(:integrations) { table(:alert_management_http_integrations) }
-
-  it 'correctly migrates up and down' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(integrations.column_names).not_to include('type_identifier')
-      }
-
-      migration.after -> {
-        integrations.reset_column_information
-        expect(integrations.column_names).to include('type_identifier')
-      }
-    end
-  end
-end
diff --git a/spec/migrations/backfill_current_value_with_progress_work_item_progresses_spec.rb b/spec/migrations/backfill_current_value_with_progress_work_item_progresses_spec.rb
deleted file mode 100644
index 632925b23b2ca..0000000000000
--- a/spec/migrations/backfill_current_value_with_progress_work_item_progresses_spec.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe BackfillCurrentValueWithProgressWorkItemProgresses, :migration, feature_category: :team_planning do
-  let(:namespaces) { table(:namespaces) }
-  let(:users) { table(:users) }
-  let(:projects) { table(:projects) }
-  let(:issues) { table(:issues) }
-  let(:progresses) { table(:work_item_progresses) }
-  let(:issue_base_type_enum_value) { 5 }
-  let(:issue_type) { table(:work_item_types).find_by!(namespace_id: nil, base_type: issue_base_type_enum_value) }
-
-  let(:namespace) { namespaces.create!(name: 'foo', path: 'foo') }
-  let(:user) { users.create!(name: 'test', email: 'test@example.com', projects_limit: 5) }
-  let(:project) do
-    projects.create!(namespace_id: namespace.id, project_namespace_id: namespace.id, name: 'Alpha Gamma',
-      path: 'alpha-gamma')
-  end
-
-  let(:work_item1) do
-    issues.create!(
-      id: 1, project_id: project.id, namespace_id: project.project_namespace_id,
-      title: 'issue1', author_id: user.id, work_item_type_id: issue_type.id
-    )
-  end
-
-  let(:work_item2) do
-    issues.create!(
-      id: 2, project_id: project.id, namespace_id: project.project_namespace_id,
-      title: 'issue2', author_id: user.id, work_item_type_id: issue_type.id
-    )
-  end
-
-  let(:progress1) { progresses.create!(issue_id: work_item1.id, progress: 10) }
-  let(:progress2) { progresses.create!(issue_id: work_item2.id, progress: 60) }
-
-  describe '#up' do
-    it 'back fills current_value from progress columns' do
-      expect { migrate! }
-        .to change { progress1.reload.current_value }.from(0).to(10)
-        .and change { progress2.reload.current_value }.from(0).to(60)
-        .and not_change(progress1, :progress)
-        .and not_change(progress2, :progress)
-    end
-  end
-end
diff --git a/spec/migrations/drop_packages_events_table_spec.rb b/spec/migrations/drop_packages_events_table_spec.rb
deleted file mode 100644
index 539a3b881966d..0000000000000
--- a/spec/migrations/drop_packages_events_table_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe DropPackagesEventsTable, feature_category: :package_registry do
-  let(:table) { described_class::SOURCE_TABLE }
-  let(:column) { described_class::COLUMN }
-
-  subject { described_class.new }
-
-  it 'drops and creates the packages_events table' do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(subject.table_exists?(:packages_events)).to eq(true)
-      end
-
-      migration.after -> do
-        expect(subject.table_exists?(:packages_events)).to eq(false)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 826320ec6c281..0000000000000
--- a/spec/migrations/ensure_award_emoji_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureAwardEmojiBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'award_emoji',
-        column_name: 'id',
-        job_arguments: [['awardable_id'], ['awardable_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 89e14650034d9..0000000000000
--- a/spec/migrations/ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureCommitUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'commit_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index ac763af1a70f9..0000000000000
--- a/spec/migrations/ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureDesignUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'design_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index a6b2f751b3bae..0000000000000
--- a/spec/migrations/ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureEpicUserMentionsBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'epic_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 602dd87c5932a..0000000000000
--- a/spec/migrations/ensure_issue_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureIssueUserMentionsBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'issue_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 118e00589224b..0000000000000
--- a/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureMergeRequestMetricsIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    using RSpec::Parameterized::TableSyntax
-
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'merge_request_metrics',
-        column_name: 'id',
-        job_arguments: [['id'], ['id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts_spec.rb b/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts_spec.rb
deleted file mode 100644
index b946f816f3b5d..0000000000000
--- a/spec/migrations/ensure_merge_request_metrics_id_bigint_backfill_is_finished_for_self_hosts_spec.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureMergeRequestMetricsIdBigintBackfillIsFinishedForSelfHosts, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'merge_request_metrics',
-        column_name: 'id',
-        job_arguments: [['id'], ['id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index af9fc3f3b0733..0000000000000
--- a/spec/migrations/ensure_mr_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureMrUserMentionsNoteIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'merge_request_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index acafc211e8c9f..0000000000000
--- a/spec/migrations/ensure_note_diff_files_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureNoteDiffFilesBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'note_diff_files',
-        column_name: 'id',
-        job_arguments: [['diff_note_id'], ['diff_note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 2832be38f9d89..0000000000000
--- a/spec/migrations/ensure_notes_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureNotesBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'notes',
-        column_name: 'id',
-        job_arguments: [['id'], ['id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index b942a9a67a3c9..0000000000000
--- a/spec/migrations/ensure_snippet_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureSnippetUserMentionsBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'snippet_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index f8dd700b16044..0000000000000
--- a/spec/migrations/ensure_suggestions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureSuggestionsNoteIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'suggestions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 11e087b63e236..0000000000000
--- a/spec/migrations/ensure_system_note_metadata_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureSystemNoteMetadataBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'system_note_metadata',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 9f733f1e1f498..0000000000000
--- a/spec/migrations/ensure_timelogs_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureTimelogsNoteIdBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'timelogs',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb b/spec/migrations/ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 2b9d319be08b9..0000000000000
--- a/spec/migrations/ensure_todos_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureTodosBigintBackfillIsFinishedForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'todos',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/ensure_unique_debian_packages_spec.rb b/spec/migrations/ensure_unique_debian_packages_spec.rb
deleted file mode 100644
index eaa87ebd45ecf..0000000000000
--- a/spec/migrations/ensure_unique_debian_packages_spec.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-require_migration! 'add_unique_packages_index_when_debian'
-require_migration! 'add_tmp_unique_packages_index_when_debian'
-
-RSpec.describe EnsureUniqueDebianPackages, feature_category: :package_registry do
-  let(:namespaces) { table(:namespaces) }
-  let(:projects) { table(:projects) }
-  let(:packages) { table(:packages_packages) }
-
-  let!(:group) { namespaces.create!(name: 'group', path: 'group_path') }
-  let!(:project_namespace1) { namespaces.create!(name: 'name1', path: 'path1') }
-  let!(:project_namespace2) { namespaces.create!(name: 'name2', path: 'path2') }
-
-  let!(:project1) { projects.create!(namespace_id: group.id, project_namespace_id: project_namespace1.id) }
-  let!(:project2) { projects.create!(namespace_id: group.id, project_namespace_id: project_namespace2.id) }
-
-  let!(:debian_package1_1) do
-    packages.create!(project_id: project1.id, package_type: 9, name: FFaker::Lorem.word, version: 'v1.0')
-  end
-
-  let(:debian_package1_2) do
-    packages.create!(project_id: project1.id, package_type: 9, name: debian_package1_1.name,
-      version: debian_package1_1.version)
-  end
-
-  let!(:pypi_package1_3) do
-    packages.create!(project_id: project1.id, package_type: 5, name: debian_package1_1.name,
-      version: debian_package1_1.version)
-  end
-
-  let!(:debian_package2_1) do
-    packages.create!(project_id: project2.id, package_type: 9, name: debian_package1_1.name,
-      version: debian_package1_1.version)
-  end
-
-  before do
-    # Remove unique indices
-    AddUniquePackagesIndexWhenDebian.new.down
-    AddTmpUniquePackagesIndexWhenDebian.new.down
-    # Then create the duplicate packages
-    debian_package1_2
-  end
-
-  it 'marks as pending destruction the duplicated packages', :aggregate_failures do
-    expect { migrate! }
-      .to change { packages.where(status: 0).count }.from(4).to(3)
-      .and not_change { packages.where(status: 1).count }
-      .and not_change { packages.where(status: 2).count }
-      .and not_change { packages.where(status: 3).count }
-      .and change { packages.where(status: 4).count }.from(0).to(1)
-  end
-end
diff --git a/spec/migrations/ensure_vum_bigint_backfill_is_finished_for_gl_dot_com_spec.rb b/spec/migrations/ensure_vum_bigint_backfill_is_finished_for_gl_dot_com_spec.rb
deleted file mode 100644
index d582a8a94606b..0000000000000
--- a/spec/migrations/ensure_vum_bigint_backfill_is_finished_for_gl_dot_com_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe EnsureVumBigintBackfillIsFinishedForGlDotCom, feature_category: :database do
-  describe '#up' do
-    let(:migration_arguments) do
-      {
-        job_class_name: 'CopyColumnUsingBackgroundMigrationJob',
-        table_name: 'vulnerability_user_mentions',
-        column_name: 'id',
-        job_arguments: [['note_id'], ['note_id_convert_to_bigint']]
-      }
-    end
-
-    it 'ensures the migration is completed for GitLab.com, dev, or test' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        expect(instance).to receive(:ensure_batched_background_migration_is_finished).with(migration_arguments)
-      end
-
-      migrate!
-    end
-
-    it 'skips the check for other instances' do
-      expect_next_instance_of(described_class) do |instance|
-        expect(instance).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        expect(instance).not_to receive(:ensure_batched_background_migration_is_finished)
-      end
-
-      migrate!
-    end
-  end
-end
diff --git a/spec/migrations/finalize_issues_iid_scoping_to_namespace_spec.rb b/spec/migrations/finalize_issues_iid_scoping_to_namespace_spec.rb
deleted file mode 100644
index 1834e8c6e0ecb..0000000000000
--- a/spec/migrations/finalize_issues_iid_scoping_to_namespace_spec.rb
+++ /dev/null
@@ -1,72 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe FinalizeIssuesIidScopingToNamespace, :migration, feature_category: :team_planning do
-  let(:batched_migrations) { table(:batched_background_migrations) }
-
-  let!(:migration) { described_class::MIGRATION }
-
-  describe '#up' do
-    shared_examples 'finalizes the migration' do
-      it 'finalizes the migration' do
-        allow_next_instance_of(Gitlab::Database::BackgroundMigration::BatchedMigrationRunner) do |runner|
-          expect(runner).to receive(:finalize).with('"IssuesInternalIdScopeUpdater"', :internal_ids, :id, [nil, "up"])
-        end
-      end
-    end
-
-    context 'when migration is missing' do
-      it 'warns migration not found' do
-        expect(Gitlab::AppLogger)
-          .to receive(:warn).with(/Could not find batched background migration for the given configuration:/)
-
-        migrate!
-      end
-    end
-
-    context 'with migration present' do
-      let!(:migration) do
-        batched_migrations.create!(
-          job_class_name: 'IssuesInternalIdScopeUpdater',
-          table_name: :internal_ids,
-          column_name: :id,
-          job_arguments: [nil, 'up'],
-          interval: 2.minutes,
-          min_value: 1,
-          max_value: 2,
-          batch_size: 1000,
-          sub_batch_size: 200,
-          gitlab_schema: :gitlab_main,
-          status: 3 # finished
-        )
-      end
-
-      context 'when migration finished successfully' do
-        it 'does not raise exception' do
-          expect { migrate! }.not_to raise_error
-        end
-      end
-
-      context 'with different migration statuses' do
-        using RSpec::Parameterized::TableSyntax
-
-        where(:status, :description) do
-          0 | 'paused'
-          1 | 'active'
-          4 | 'failed'
-          5 | 'finalizing'
-        end
-
-        with_them do
-          before do
-            migration.update!(status: status)
-          end
-
-          it_behaves_like 'finalizes the migration'
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/insert_daily_invites_trial_plan_limits_spec.rb b/spec/migrations/insert_daily_invites_trial_plan_limits_spec.rb
deleted file mode 100644
index 412bb5917e311..0000000000000
--- a/spec/migrations/insert_daily_invites_trial_plan_limits_spec.rb
+++ /dev/null
@@ -1,51 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe InsertDailyInvitesTrialPlanLimits, feature_category: :groups_and_projects do
-  let(:plans) { table(:plans) }
-  let(:plan_limits) { table(:plan_limits) }
-  let!(:premium_trial_plan) { plans.create!(name: 'premium_trial') }
-  let!(:ultimate_trial_plan) { plans.create!(name: 'ultimate_trial') }
-
-  context 'when on gitlab.com' do
-    before do
-      allow(Gitlab).to receive(:com?).and_return(true)
-    end
-
-    it 'correctly migrates up and down' do
-      reversible_migration do |migration|
-        migration.before -> {
-          trial_plan_ids = [premium_trial_plan.id, ultimate_trial_plan.id]
-          expect(plan_limits.where(plan_id: trial_plan_ids).where.not(daily_invites: 0)).to be_empty
-        }
-
-        migration.after -> {
-          expect(plan_limits.pluck(:plan_id, :daily_invites))
-            .to contain_exactly([premium_trial_plan.id, 50], [ultimate_trial_plan.id, 50])
-        }
-      end
-    end
-  end
-
-  context 'when on self-managed' do
-    before do
-      allow(Gitlab).to receive(:com?).and_return(false)
-    end
-
-    it 'correctly migrates up and down' do
-      reversible_migration do |migration|
-        trial_plan_ids = [premium_trial_plan.id, ultimate_trial_plan.id]
-
-        migration.before -> {
-          expect(plan_limits.where(plan_id: trial_plan_ids).where.not(daily_invites: 0)).to be_empty
-        }
-
-        migration.after -> {
-          expect(plan_limits.where(plan_id: trial_plan_ids).where.not(daily_invites: 0)).to be_empty
-        }
-      end
-    end
-  end
-end
diff --git a/spec/migrations/queue_backfill_prepared_at_data_spec.rb b/spec/migrations/queue_backfill_prepared_at_data_spec.rb
deleted file mode 100644
index ac3ea2f59c5cb..0000000000000
--- a/spec/migrations/queue_backfill_prepared_at_data_spec.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe QueueBackfillPreparedAtData, feature_category: :code_review_workflow do
-  let!(:batched_migration) { described_class::MIGRATION }
-
-  it 'schedules a new batched migration' do
-    reversible_migration do |migration|
-      migration.before -> {
-        expect(batched_migration).not_to have_scheduled_batched_migration
-      }
-
-      migration.after -> {
-        expect(batched_migration).to have_scheduled_batched_migration(
-          table_name: :merge_requests,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL
-        )
-      }
-    end
-  end
-end
diff --git a/spec/migrations/remove_old_async_index_table_name_length_constraint_spec.rb b/spec/migrations/remove_old_async_index_table_name_length_constraint_spec.rb
deleted file mode 100644
index fdecf9a663b30..0000000000000
--- a/spec/migrations/remove_old_async_index_table_name_length_constraint_spec.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveOldAsyncIndexTableNameLengthConstraint, schema: 20230523074248, feature_category: :database do
-  let(:migration) { described_class.new }
-  let(:postgres_async_indexes) { table(:postgres_async_indexes) }
-  let(:old_length) { Gitlab::Database::MigrationHelpers::MAX_IDENTIFIER_NAME_LENGTH }
-  let(:long_table_name) { "#{'a' * old_length}.#{'b' * old_length}" }
-
-  describe '.up' do
-    it 'allows inserting longer table names' do
-      migration.up
-
-      expect do
-        postgres_async_indexes.create!(
-          name: 'some_index',
-          definition: '(id)',
-          table_name: long_table_name
-        )
-      end.not_to raise_error
-    end
-  end
-
-  describe '.down' do
-    it 'disallows inserting longer table names' do
-      migration.down
-
-      expect do
-        postgres_async_indexes.create!(
-          name: 'some_index',
-          definition: '(id)',
-          table_name: long_table_name
-        )
-      end.to raise_error(ActiveRecord::StatementInvalid)
-    end
-
-    it 'cleans up records with too long table_name' do
-      migration.up
-
-      # Delete
-      postgres_async_indexes.create!(
-        name: 'some_index',
-        definition: '(id)',
-        table_name: long_table_name
-      )
-
-      # Keep
-      postgres_async_indexes.create!(
-        name: 'other_index',
-        definition: '(id)',
-        table_name: 'short_name'
-      )
-
-      migration.down
-
-      async_indexes = postgres_async_indexes.all
-      expect(async_indexes.size).to eq(1)
-
-      expect(async_indexes.first.name).to eq('other_index')
-    end
-  end
-end
diff --git a/spec/migrations/remove_packages_events_package_id_fk_spec.rb b/spec/migrations/remove_packages_events_package_id_fk_spec.rb
deleted file mode 100644
index 13e73de88bde1..0000000000000
--- a/spec/migrations/remove_packages_events_package_id_fk_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe RemovePackagesEventsPackageIdFk, feature_category: :package_registry do
-  let(:table) { described_class::SOURCE_TABLE }
-  let(:column) { described_class::COLUMN }
-  let(:foreign_key) { -> { described_class.new.foreign_keys_for(table, column).first } }
-
-  it 'drops and creates the foreign key' do
-    reversible_migration do |migration|
-      migration.before -> do
-        expect(foreign_key.call).to have_attributes(column: column.to_s)
-      end
-
-      migration.after -> do
-        expect(foreign_key.call).to be(nil)
-      end
-    end
-  end
-end
diff --git a/spec/migrations/remove_saml_provider_and_identities_non_root_group_spec.rb b/spec/migrations/remove_saml_provider_and_identities_non_root_group_spec.rb
deleted file mode 100644
index 07873d0ce7921..0000000000000
--- a/spec/migrations/remove_saml_provider_and_identities_non_root_group_spec.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveSamlProviderAndIdentitiesNonRootGroup, feature_category: :system_access do
-  let(:namespaces) { table(:namespaces) }
-  let(:saml_providers) { table(:saml_providers) }
-  let(:identities) { table(:identities) }
-  let(:root_group) do
-    namespaces.create!(name: 'root_group', path: 'foo', parent_id: nil, type: 'Group')
-  end
-
-  let(:non_root_group) do
-    namespaces.create!(name: 'non_root_group', path: 'non_root', parent_id: root_group.id, type: 'Group')
-  end
-
-  it 'removes saml_providers that belong to non-root group and related identities' do
-    provider_root_group = saml_providers.create!(
-      group_id: root_group.id,
-      sso_url: 'https://saml.example.com/adfs/ls',
-      certificate_fingerprint: '55:44:33:22:11:aa:bb:cc:dd:ee:ff:11:22:33:44:55:66:77:88:99',
-      default_membership_role: ::Gitlab::Access::GUEST,
-      enabled: true
-    )
-
-    identity_root_group = identities.create!(
-      saml_provider_id: provider_root_group.id,
-      extern_uid: "12345"
-    )
-
-    provider_non_root_group = saml_providers.create!(
-      group_id: non_root_group.id,
-      sso_url: 'https://saml.example.com/adfs/ls',
-      certificate_fingerprint: '55:44:33:22:11:aa:bb:cc:dd:ee:ff:11:22:33:44:55:66:77:88:99',
-      default_membership_role: ::Gitlab::Access::GUEST,
-      enabled: true
-    )
-
-    identity_non_root_group = identities.create!(
-      saml_provider_id: provider_non_root_group.id,
-      extern_uid: "12345"
-    )
-
-    expect { migrate! }.to change { saml_providers.count }.from(2).to(1)
-
-    expect(identities.find_by_id(identity_non_root_group.id)).to be_nil
-    expect(saml_providers.find_by_id(provider_non_root_group.id)).to be_nil
-
-    expect(identities.find_by_id(identity_root_group.id)).not_to be_nil
-    expect(saml_providers.find_by_id(provider_root_group.id)).not_to be_nil
-  end
-end
diff --git a/spec/migrations/remove_scim_token_and_scim_identity_non_root_group_spec.rb b/spec/migrations/remove_scim_token_and_scim_identity_non_root_group_spec.rb
deleted file mode 100644
index 31915365c91d8..0000000000000
--- a/spec/migrations/remove_scim_token_and_scim_identity_non_root_group_spec.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RemoveScimTokenAndScimIdentityNonRootGroup, feature_category: :system_access do
-  let(:namespaces) { table(:namespaces) }
-  let(:scim_oauth_access_tokens) { table(:scim_oauth_access_tokens) }
-  let(:scim_identities) { table(:scim_identities) }
-  let(:users) { table(:users) }
-  let(:root_group) do
-    namespaces.create!(name: 'root_group', path: 'foo', parent_id: nil, type: 'Group')
-  end
-
-  let(:non_root_group) do
-    namespaces.create!(name: 'non_root_group', path: 'non_root', parent_id: root_group.id, type: 'Group')
-  end
-
-  let(:root_group_user) do
-    users.create!(name: 'Example User', email: 'user@example.com', projects_limit: 0)
-  end
-
-  let(:non_root_group_user) do
-    users.create!(username: 'user2', email: 'user2@example.com', projects_limit: 10)
-  end
-
-  it 'removes scim_oauth_access_tokens that belong to non-root group and related scim_identities' do
-    scim_oauth_access_token_root_group = scim_oauth_access_tokens.create!(
-      group_id: root_group.id,
-      token_encrypted: Gitlab::CryptoHelper.aes256_gcm_encrypt(SecureRandom.hex(50))
-    )
-    scim_oauth_access_token_non_root_group = scim_oauth_access_tokens.create!(
-      group_id: non_root_group.id,
-      token_encrypted: Gitlab::CryptoHelper.aes256_gcm_encrypt(SecureRandom.hex(50))
-    )
-
-    scim_identity_root_group = scim_identities.create!(
-      group_id: root_group.id,
-      extern_uid: "12345",
-      user_id: root_group_user.id,
-      active: true
-    )
-
-    scim_identity_non_root_group = scim_identities.create!(
-      group_id: non_root_group.id,
-      extern_uid: "12345",
-      user_id: non_root_group_user.id,
-      active: true
-    )
-
-    expect { migrate! }.to change { scim_oauth_access_tokens.count }.from(2).to(1)
-    expect(scim_oauth_access_tokens.find_by_id(scim_oauth_access_token_non_root_group.id)).to be_nil
-    expect(scim_identities.find_by_id(scim_identity_non_root_group.id)).to be_nil
-
-    expect(scim_oauth_access_tokens.find_by_id(scim_oauth_access_token_root_group.id)).not_to be_nil
-    expect(scim_identities.find_by_id(scim_identity_root_group.id)).not_to be_nil
-  end
-end
diff --git a/spec/migrations/requeue_backfill_admin_mode_scope_for_personal_access_tokens_spec.rb b/spec/migrations/requeue_backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
deleted file mode 100644
index b9af6d98beba1..0000000000000
--- a/spec/migrations/requeue_backfill_admin_mode_scope_for_personal_access_tokens_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RequeueBackfillAdminModeScopeForPersonalAccessTokens, feature_category: :system_access do
-  describe '#up' do
-    it 'schedules background migration' do
-      migrate!
-
-      expect(described_class::MIGRATION).to(
-        have_scheduled_batched_migration(
-          table_name: :personal_access_tokens,
-          column_name: :id,
-          interval: described_class::DELAY_INTERVAL)
-      )
-    end
-  end
-end
diff --git a/spec/migrations/rerun_remove_invalid_deploy_access_level_spec.rb b/spec/migrations/rerun_remove_invalid_deploy_access_level_spec.rb
deleted file mode 100644
index 72663e63996f4..0000000000000
--- a/spec/migrations/rerun_remove_invalid_deploy_access_level_spec.rb
+++ /dev/null
@@ -1,86 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-require_migration!
-
-RSpec.describe RerunRemoveInvalidDeployAccessLevel, :migration, feature_category: :continuous_integration do
-  let(:users) { table(:users) }
-  let(:groups) { table(:namespaces) }
-  let(:protected_environments) { table(:protected_environments) }
-  let(:deploy_access_levels) { table(:protected_environment_deploy_access_levels) }
-
-  let(:user) { users.create!(email: 'email@email.com', name: 'foo', username: 'foo', projects_limit: 0) }
-  let(:group) { groups.create!(name: 'test-group', path: 'test-group') }
-  let(:pe) do
-    protected_environments.create!(name: 'test-pe', group_id: group.id)
-  end
-
-  let!(:invalid_access_level) do
-    deploy_access_levels.create!(
-      access_level: 40,
-      user_id: user.id,
-      group_id: group.id,
-      protected_environment_id: pe.id)
-  end
-
-  let!(:access_level) do
-    deploy_access_levels.create!(
-      access_level: 40,
-      user_id: nil,
-      group_id: nil,
-      protected_environment_id: pe.id)
-  end
-
-  let!(:group_access_level) do
-    deploy_access_levels.create!(
-      group_id: group.id,
-      protected_environment_id: pe.id)
-  end
-
-  let!(:user_access_level) do
-    deploy_access_levels.create!(
-      user_id: user.id,
-      protected_environment_id: pe.id)
-  end
-
-  let!(:user_and_group_access_level) do
-    deploy_access_levels.create!(
-      user_id: user.id,
-      group_id: group.id,
-      protected_environment_id: pe.id)
-  end
-
-  it 'fixes invalid access_level entries and does not affect others' do
-    expect { migrate! }.to change {
-      deploy_access_levels.where(protected_environment_id: pe.id)
-                          .where("num_nonnulls(user_id, group_id, access_level) = 1").count
-    }.from(3).to(5)
-
-    invalid_access_level.reload
-    access_level.reload
-    group_access_level.reload
-    user_access_level.reload
-    user_and_group_access_level.reload
-
-    expect(invalid_access_level.access_level).to be_nil
-    expect(invalid_access_level.user_id).to eq(user.id)
-    expect(invalid_access_level.group_id).to be_nil
-
-    expect(access_level.access_level).to eq(40)
-    expect(access_level.user_id).to be_nil
-    expect(access_level.group_id).to be_nil
-
-    expect(group_access_level.access_level).to be_nil
-    expect(group_access_level.user_id).to be_nil
-    expect(group_access_level.group_id).to eq(group.id)
-
-    expect(user_access_level.access_level).to be_nil
-    expect(user_access_level.user_id).to eq(user.id)
-    expect(user_access_level.group_id).to be_nil
-
-    expect(user_and_group_access_level.access_level).to be_nil
-    expect(user_and_group_access_level.user_id).to eq(user.id)
-    expect(user_and_group_access_level.group_id).to be_nil
-  end
-end
diff --git a/spec/migrations/reschedule_incident_work_item_type_id_backfill_spec.rb b/spec/migrations/reschedule_incident_work_item_type_id_backfill_spec.rb
deleted file mode 100644
index cb8773e9a9f92..0000000000000
--- a/spec/migrations/reschedule_incident_work_item_type_id_backfill_spec.rb
+++ /dev/null
@@ -1,70 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe RescheduleIncidentWorkItemTypeIdBackfill, :migration, feature_category: :team_planning do
-  include MigrationHelpers::WorkItemTypesHelper
-
-  let!(:migration) { described_class::MIGRATION }
-  let!(:interval) { 2.minutes }
-  let!(:incident_type_enum) { 1 }
-  let!(:issue_type_enum) { 0 }
-  let!(:incident_work_item_type) do
-    table(:work_item_types).find_by!(namespace_id: nil, base_type: incident_type_enum)
-  end
-
-  let!(:issue_work_item_type) do
-    table(:work_item_types).find_by!(namespace_id: nil, base_type: issue_type_enum)
-  end
-
-  describe '#up' do
-    let!(:existing_incident_migration) { create_backfill_migration(incident_type_enum, incident_work_item_type.id) }
-    let!(:existing_issue_migration) { create_backfill_migration(issue_type_enum, issue_work_item_type.id) }
-
-    it 'correctly reschedules background migration only for incidents' do
-      migrate!
-
-      migration_ids = table(:batched_background_migrations).pluck(:id)
-
-      expect(migration).to have_scheduled_batched_migration(
-        table_name: :issues,
-        column_name: :id,
-        job_arguments: [incident_type_enum, incident_work_item_type.id],
-        interval: interval,
-        batch_size: described_class::BATCH_SIZE,
-        max_batch_size: described_class::MAX_BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE
-      )
-      expect(migration_ids.count).to eq(2)
-      expect(migration_ids).not_to include(existing_incident_migration.id)
-      expect(migration_ids).to include(existing_issue_migration.id)
-    end
-
-    it "doesn't fail if work item types don't exist on the DB" do
-      table(:work_item_types).delete_all
-
-      migrate!
-
-      # Since migration specs run outside of a transaction, we need to make
-      # sure we recreate default types since this spec deletes them all
-      reset_work_item_types
-    end
-  end
-
-  def create_backfill_migration(base_type, type_id)
-    table(:batched_background_migrations).create!(
-      job_class_name: migration,
-      table_name: :issues,
-      column_name: :id,
-      job_arguments: [base_type, type_id],
-      interval: 2.minutes,
-      min_value: 1,
-      max_value: 2,
-      batch_size: 1000,
-      sub_batch_size: 200,
-      gitlab_schema: :gitlab_main,
-      status: 3
-    )
-  end
-end
diff --git a/spec/migrations/schedule_migrate_shared_vulnerability_identifiers_spec.rb b/spec/migrations/schedule_migrate_shared_vulnerability_identifiers_spec.rb
deleted file mode 100644
index c1802a1a33999..0000000000000
--- a/spec/migrations/schedule_migrate_shared_vulnerability_identifiers_spec.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-require "spec_helper"
-
-require_migration!
-
-RSpec.describe ScheduleMigrateSharedVulnerabilityIdentifiers, :migration, feature_category: :vulnerability_management do
-  describe "#up" do
-    before do
-      migrate!
-    end
-
-    it "schedules" do
-      Gitlab::Database::BackgroundMigration::BatchedMigration.find_by!(
-        job_class_name: described_class::MIGRATION,
-        table_name: described_class::TABLE_NAME,
-        column_name: described_class::BATCH_COLUMN,
-        batch_size: described_class::BATCH_SIZE,
-        sub_batch_size: described_class::SUB_BATCH_SIZE)
-    end
-  end
-
-  describe '#down' do
-    before do
-      schema_migrate_down!
-    end
-
-    it "deletes" do
-      expect(described_class::MIGRATION).not_to have_scheduled_batched_migration
-    end
-  end
-end
diff --git a/spec/migrations/set_email_confirmation_setting_from_soft_email_confirmation_ff_spec.rb b/spec/migrations/set_email_confirmation_setting_from_soft_email_confirmation_ff_spec.rb
deleted file mode 100644
index 202baebf1dad0..0000000000000
--- a/spec/migrations/set_email_confirmation_setting_from_soft_email_confirmation_ff_spec.rb
+++ /dev/null
@@ -1,62 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SetEmailConfirmationSettingFromSoftEmailConfirmationFf, feature_category: :feature_flags do
-  let(:migration) { described_class.new }
-  let(:application_settings_table) { table(:application_settings) }
-  let(:feature_gates_table) { table(:feature_gates) }
-
-  describe '#up' do
-    context 'when feature gate for `soft_email_confirmation` does not exist' do
-      it 'does not update `email_confirmation_setting`' do
-        application_settings_table.create!(email_confirmation_setting: 0)
-
-        migration.up
-
-        expect(application_settings_table.last.email_confirmation_setting).to eq 0
-      end
-    end
-
-    context 'when feature gate for `soft_email_confirmation` does exist' do
-      context 'when feature gate value is `false`' do
-        before do
-          feature_gates_table.create!(feature_key: 'soft_email_confirmation', key: 'boolean', value: 'false')
-        end
-
-        it 'does not update `email_confirmation_setting`' do
-          application_settings_table.create!(email_confirmation_setting: 0)
-
-          migration.up
-
-          expect(application_settings_table.last.email_confirmation_setting).to eq 0
-        end
-      end
-
-      context 'when feature gate value is `true`' do
-        before do
-          feature_gates_table.create!(feature_key: 'soft_email_confirmation', key: 'boolean', value: 'true')
-        end
-
-        it "updates `email_confirmation_setting` to '1' (soft)" do
-          application_settings_table.create!(email_confirmation_setting: 0)
-
-          migration.up
-
-          expect(application_settings_table.last.email_confirmation_setting).to eq 1
-        end
-      end
-    end
-  end
-
-  describe '#down' do
-    it "updates 'email_confirmation_setting' to default value: '0' (off)" do
-      application_settings_table.create!(email_confirmation_setting: 1)
-
-      migration.down
-
-      expect(application_settings_table.last.email_confirmation_setting).to eq 0
-    end
-  end
-end
diff --git a/spec/migrations/swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index c133deaf25071..0000000000000
--- a/spec/migrations/swap_award_emoji_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,67 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapAwardEmojiNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE award_emoji ALTER COLUMN awardable_id TYPE integer')
-      connection.execute('ALTER TABLE award_emoji ALTER COLUMN awardable_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      award_emoji = table(:award_emoji)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            award_emoji.reset_column_information
-
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id' }.sql_type).to eq('integer')
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            award_emoji.reset_column_information
-
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id' }.sql_type).to eq('bigint')
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id_convert_to_bigint' }.sql_type)
-              .to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      award_emoji = table(:award_emoji)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            award_emoji.reset_column_information
-
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id' }.sql_type).to eq('integer')
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            award_emoji.reset_column_information
-
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id' }.sql_type).to eq('integer')
-            expect(award_emoji.columns.find { |c| c.name == 'awardable_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index d219d544033e7..0000000000000
--- a/spec/migrations/swap_commit_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapCommitUserMentionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE commit_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE commit_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:commit_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:commit_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index c7cbf7bfe2ac3..0000000000000
--- a/spec/migrations/swap_design_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapDesignUserMentionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE design_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE design_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:design_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:design_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 41cc75672e130..0000000000000
--- a/spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapEpicUserMentionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE epic_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE epic_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:epic_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:epic_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2_spec.rb b/spec/migrations/swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2_spec.rb
deleted file mode 100644
index 1cb40d3708f56..0000000000000
--- a/spec/migrations/swap_issue_user_mentions_note_id_to_bigint_for_gitlab_dot_com_2_spec.rb
+++ /dev/null
@@ -1,89 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-# rubocop: disable RSpec/FilePath
-RSpec.describe SwapIssueUserMentionsNoteIdToBigintForGitlabDotCom2, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE issue_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE issue_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:issue_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:issue_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op if columns are already swapped' do
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE issue_user_mentions ALTER COLUMN note_id TYPE bigint')
-      connection.execute('ALTER TABLE issue_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE integer')
-      # Cleanup artefacts from executing `#down` in test setup
-      connection.execute('DROP INDEX IF EXISTS index_issue_user_mentions_on_note_id_convert_to_bigint')
-      connection.execute(
-        'ALTER TABLE issue_user_mentions DROP CONSTRAINT IF EXISTS fk_issue_user_mentions_note_id_convert_to_bigint'
-      )
-
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      migrate!
-
-      user_mentions = table(:issue_user_mentions)
-      user_mentions.reset_column_information
-
-      expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-      expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
-# rubocop: enable RSpec/FilePath
diff --git a/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index b819495aa8962..0000000000000
--- a/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,76 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapMergeRequestMetricsIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # As we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id TYPE integer')
-      connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id_convert_to_bigint TYPE bigint')
-    end
-
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      # rubocop: disable RSpec/AnyInstanceOf
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-      # rubocop: enable RSpec/AnyInstanceOf
-
-      merge_request_metrics = table(:merge_request_metrics)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            merge_request_metrics.reset_column_information
-
-            expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(merge_request_metrics.columns.find do |c|
-                     c.name == 'id_convert_to_bigint'
-                   end.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            merge_request_metrics.reset_column_information
-
-            expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-            expect(merge_request_metrics.columns.find do |c|
-                     c.name == 'id_convert_to_bigint'
-                   end.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      # rubocop: disable RSpec/AnyInstanceOf
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-      # rubocop: enable RSpec/AnyInstanceOf
-
-      merge_request_metrics = table(:merge_request_metrics)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            merge_request_metrics.reset_column_information
-
-            expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(merge_request_metrics.columns.find do |c|
-                     c.name == 'id_convert_to_bigint'
-                   end.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            merge_request_metrics.reset_column_information
-
-            expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(merge_request_metrics.columns.find do |c|
-                     c.name == 'id_convert_to_bigint'
-                   end.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_self_hosts_spec.rb b/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_self_hosts_spec.rb
deleted file mode 100644
index a2d9887a6c0c7..0000000000000
--- a/spec/migrations/swap_merge_request_metrics_id_to_bigint_for_self_hosts_spec.rb
+++ /dev/null
@@ -1,155 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapMergeRequestMetricsIdToBigintForSelfHosts, feature_category: :database do
-  after do
-    connection = described_class.new.connection
-    connection.execute('ALTER TABLE merge_request_metrics DROP COLUMN IF EXISTS id_convert_to_bigint')
-  end
-
-  describe '#up' do
-    context 'when is GitLab.com, dev, or test' do
-      before do
-        # As we call `schema_migrate_down!` before each example, and for this migration
-        # `#down` is same as `#up`, we need to ensure we start from the expected state.
-        connection = described_class.new.connection
-        connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id TYPE bigint')
-        connection.execute('ALTER TABLE merge_request_metrics DROP COLUMN IF EXISTS id_convert_to_bigint')
-      end
-
-      it 'does not swap the columns' do
-        # rubocop: disable RSpec/AnyInstanceOf
-        allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-        # rubocop: enable RSpec/AnyInstanceOf
-
-        merge_request_metrics = table(:merge_request_metrics)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id_convert_to_bigint' }).to be nil
-            }
-
-            migration.after -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id_convert_to_bigint' }).to be nil
-            }
-          end
-        end
-      end
-    end
-
-    context 'when is a self-host customer with the swapped already completed' do
-      before do
-        # As we call `schema_migrate_down!` before each example, and for this migration
-        # `#down` is same as `#up`, we need to ensure we start from the expected state.
-        connection = described_class.new.connection
-        connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id TYPE bigint')
-        connection.execute('ALTER TABLE merge_request_metrics ADD COLUMN IF NOT EXISTS id_convert_to_bigint integer')
-      end
-
-      it 'does not swap the columns' do
-        # rubocop: disable RSpec/AnyInstanceOf
-        allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        # rubocop: enable RSpec/AnyInstanceOf
-
-        merge_request_metrics = table(:merge_request_metrics)
-
-        migrate!
-
-        expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-        expect(merge_request_metrics.columns.find do |c|
-          c.name == 'id_convert_to_bigint'
-        end.sql_type).to eq('integer')
-      end
-    end
-
-    context 'when is a self-host customer with the `id_convert_to_bigint` column already dropped ' do
-      before do
-        # As we call `schema_migrate_down!` before each example, and for this migration
-        # `#down` is same as `#up`, we need to ensure we start from the expected state.
-        connection = described_class.new.connection
-        connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id TYPE bigint')
-        connection.execute('ALTER TABLE merge_request_metrics DROP COLUMN IF EXISTS id_convert_to_bigint')
-      end
-
-      it 'does not swap the columns' do
-        # rubocop: disable RSpec/AnyInstanceOf
-        allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        # rubocop: enable RSpec/AnyInstanceOf
-
-        merge_request_metrics = table(:merge_request_metrics)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id_convert_to_bigint' }).to be nil
-            }
-
-            migration.after -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id_convert_to_bigint' }).to be nil
-            }
-          end
-        end
-      end
-    end
-
-    context 'when is a self-host customer' do
-      before do
-        # As we call `schema_migrate_down!` before each example, and for this migration
-        # `#down` is same as `#up`, we need to ensure we start from the expected state.
-        connection = described_class.new.connection
-        connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id TYPE integer')
-        connection.execute('ALTER TABLE merge_request_metrics ADD COLUMN IF NOT EXISTS id_convert_to_bigint bigint')
-        connection.execute('ALTER TABLE merge_request_metrics ALTER COLUMN id_convert_to_bigint TYPE bigint')
-        connection.execute('DROP INDEX IF EXISTS index_merge_request_metrics_on_id_convert_to_bigint')
-        connection.execute('DROP INDEX IF EXISTS tmp_index_mr_metrics_on_target_project_id_merged_at_nulls_last')
-        connection.execute('CREATE OR REPLACE FUNCTION trigger_c7107f30d69d() RETURNS trigger LANGUAGE plpgsql AS $$
-          BEGIN NEW."id_convert_to_bigint" := NEW."id"; RETURN NEW; END; $$;')
-      end
-
-      it 'swaps the columns' do
-        # rubocop: disable RSpec/AnyInstanceOf
-        allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-        # rubocop: enable RSpec/AnyInstanceOf
-
-        merge_request_metrics = table(:merge_request_metrics)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-              expect(merge_request_metrics.columns.find do |c|
-                       c.name == 'id_convert_to_bigint'
-                     end.sql_type).to eq('bigint')
-            }
-
-            migration.after -> {
-              merge_request_metrics.reset_column_information
-
-              expect(merge_request_metrics.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(merge_request_metrics.columns.find do |c|
-                       c.name == 'id_convert_to_bigint'
-                     end.sql_type).to eq('integer')
-            }
-          end
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb b/spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb
deleted file mode 100644
index bf08b666efee5..0000000000000
--- a/spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb
+++ /dev/null
@@ -1,91 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-# rubocop: disable RSpec/FilePath
-RSpec.describe SwapMergeRequestUserMentionsNoteIdToBigint2, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE merge_request_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE merge_request_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:merge_request_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:merge_request_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op if columns are already swapped' do
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE merge_request_user_mentions ALTER COLUMN note_id TYPE bigint')
-      connection.execute('ALTER TABLE merge_request_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE integer')
-      # Cleanup artefacts from executing `#down` in test setup
-      connection.execute('DROP INDEX IF EXISTS index_merge_request_user_mentions_note_id_convert_to_bigint')
-      connection.execute(
-        'ALTER TABLE merge_request_user_mentions ' \
-        'DROP CONSTRAINT IF EXISTS fk_merge_request_user_mentions_note_id_convert_to_bigint'
-      )
-
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-      allow_any_instance_of(described_class).to receive(:columns_already_swapped?).and_return(true)
-
-      migrate!
-
-      user_mentions = table(:merge_request_user_mentions)
-      user_mentions.reset_column_information
-
-      expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-      expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
-# rubocop: enable RSpec/FilePath
diff --git a/spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index b0147f3ef58dd..0000000000000
--- a/spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapNoteDiffFilesNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE note_diff_files ALTER COLUMN diff_note_id TYPE integer')
-      connection.execute('ALTER TABLE note_diff_files ALTER COLUMN diff_note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      ndf = table(:note_diff_files)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            ndf.reset_column_information
-
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id' }.sql_type).to eq('integer')
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            ndf.reset_column_information
-
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id' }.sql_type).to eq('bigint')
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      ndf = table(:note_diff_files)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            ndf.reset_column_information
-
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id' }.sql_type).to eq('integer')
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            ndf.reset_column_information
-
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id' }.sql_type).to eq('integer')
-            expect(ndf.columns.find { |c| c.name == 'diff_note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_notes_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_notes_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index d2e64296a701c..0000000000000
--- a/spec/migrations/swap_notes_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapNotesIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE notes ALTER COLUMN id TYPE integer')
-      connection.execute('ALTER TABLE notes ALTER COLUMN id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      notes = table(:notes)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            notes.reset_column_information
-
-            expect(notes.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(notes.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            notes.reset_column_information
-
-            expect(notes.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-            expect(notes.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      notes = table(:notes)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            notes.reset_column_information
-
-            expect(notes.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(notes.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            notes.reset_column_information
-
-            expect(notes.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-            expect(notes.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_sent_notifications_id_columns_spec.rb b/spec/migrations/swap_sent_notifications_id_columns_spec.rb
deleted file mode 100644
index 2f681a2a587b3..0000000000000
--- a/spec/migrations/swap_sent_notifications_id_columns_spec.rb
+++ /dev/null
@@ -1,71 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapSentNotificationsIdColumns, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE sent_notifications ALTER COLUMN id TYPE integer')
-      connection.execute('ALTER TABLE sent_notifications ALTER COLUMN id_convert_to_bigint TYPE bigint')
-      # rubocop: disable RSpec/AnyInstanceOf
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(run_migration?)
-      # rubocop: enable RSpec/AnyInstanceOf
-    end
-
-    context 'when we are GitLab.com, dev, or test' do
-      let(:run_migration?) { true }
-
-      it 'swaps the integer and bigint columns' do
-        sent_notifications = table(:sent_notifications)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              sent_notifications.reset_column_information
-
-              expect(sent_notifications.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-              expect(sent_notifications.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-            }
-
-            migration.after -> {
-              sent_notifications.reset_column_information
-
-              expect(sent_notifications.columns.find { |c| c.name == 'id' }.sql_type).to eq('bigint')
-              expect(sent_notifications.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('integer')
-            }
-          end
-        end
-      end
-    end
-
-    context 'when we are NOT GitLab.com, dev, or test' do
-      let(:run_migration?) { false }
-
-      it 'does not swap the integer and bigint columns' do
-        sent_notifications = table(:sent_notifications)
-
-        disable_migrations_output do
-          reversible_migration do |migration|
-            migration.before -> {
-              sent_notifications.reset_column_information
-
-              expect(sent_notifications.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-              expect(sent_notifications.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-            }
-
-            migration.after -> {
-              sent_notifications.reset_column_information
-
-              expect(sent_notifications.columns.find { |c| c.name == 'id' }.sql_type).to eq('integer')
-              expect(sent_notifications.columns.find { |c| c.name == 'id_convert_to_bigint' }.sql_type).to eq('bigint')
-            }
-          end
-        end
-      end
-    end
-  end
-end
diff --git a/spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 628c0fba52850..0000000000000
--- a/spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapSnippetUserMentionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE snippet_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE snippet_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:snippet_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:snippet_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 48d72ec151ef8..0000000000000
--- a/spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapSuggestionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE suggestions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE suggestions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      suggestions = table(:suggestions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            suggestions.reset_column_information
-
-            expect(suggestions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(suggestions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            suggestions.reset_column_information
-
-            expect(suggestions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(suggestions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      suggestions = table(:suggestions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            suggestions.reset_column_information
-
-            expect(suggestions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(suggestions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            suggestions.reset_column_information
-
-            expect(suggestions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(suggestions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 4fa5814986a70..0000000000000
--- a/spec/migrations/swap_system_note_metadata_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapSystemNoteMetadataNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE system_note_metadata ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE system_note_metadata ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      metadata = table(:system_note_metadata)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            metadata.reset_column_information
-
-            expect(metadata.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(metadata.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            metadata.reset_column_information
-
-            expect(metadata.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(metadata.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      metadata = table(:system_note_metadata)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            metadata.reset_column_information
-
-            expect(metadata.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(metadata.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            metadata.reset_column_information
-
-            expect(metadata.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(metadata.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 708688ec44692..0000000000000
--- a/spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapTimelogsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE timelogs ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE timelogs ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      timelogs = table(:timelogs)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            timelogs.reset_column_information
-
-            expect(timelogs.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(timelogs.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            timelogs.reset_column_information
-
-            expect(timelogs.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(timelogs.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      timelogs = table(:timelogs)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            timelogs.reset_column_information
-
-            expect(timelogs.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(timelogs.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            timelogs.reset_column_information
-
-            expect(timelogs.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(timelogs.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_todos_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_todos_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index e71c921998a8a..0000000000000
--- a/spec/migrations/swap_todos_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapTodosNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE todos ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE todos ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      todos = table(:todos)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            todos.reset_column_information
-
-            expect(todos.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(todos.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            todos.reset_column_information
-
-            expect(todos.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(todos.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      todos = table(:todos)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            todos.reset_column_information
-
-            expect(todos.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(todos.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            todos.reset_column_information
-
-            expect(todos.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(todos.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/migrations/swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb b/spec/migrations/swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
deleted file mode 100644
index 1e3583875367a..0000000000000
--- a/spec/migrations/swap_vulnerability_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
+++ /dev/null
@@ -1,66 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe SwapVulnerabilityUserMentionsNoteIdToBigintForGitlabDotCom, feature_category: :database do
-  describe '#up' do
-    before do
-      # A we call `schema_migrate_down!` before each example, and for this migration
-      # `#down` is same as `#up`, we need to ensure we start from the expected state.
-      connection = described_class.new.connection
-      connection.execute('ALTER TABLE vulnerability_user_mentions ALTER COLUMN note_id TYPE integer')
-      connection.execute('ALTER TABLE vulnerability_user_mentions ALTER COLUMN note_id_convert_to_bigint TYPE bigint')
-    end
-
-    # rubocop: disable RSpec/AnyInstanceOf
-    it 'swaps the integer and bigint columns for GitLab.com, dev, or test' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(true)
-
-      user_mentions = table(:vulnerability_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('bigint')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('integer')
-          }
-        end
-      end
-    end
-
-    it 'is a no-op for other instances' do
-      allow_any_instance_of(described_class).to receive(:com_or_dev_or_test_but_not_jh?).and_return(false)
-
-      user_mentions = table(:vulnerability_user_mentions)
-
-      disable_migrations_output do
-        reversible_migration do |migration|
-          migration.before -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-
-          migration.after -> {
-            user_mentions.reset_column_information
-
-            expect(user_mentions.columns.find { |c| c.name == 'note_id' }.sql_type).to eq('integer')
-            expect(user_mentions.columns.find { |c| c.name == 'note_id_convert_to_bigint' }.sql_type).to eq('bigint')
-          }
-        end
-      end
-    end
-    # rubocop: enable RSpec/AnyInstanceOf
-  end
-end
diff --git a/spec/support/helpers/user_with_namespace_shim.yml b/spec/support/helpers/user_with_namespace_shim.yml
index ce57af94e0256..c109d606aceb9 100644
--- a/spec/support/helpers/user_with_namespace_shim.yml
+++ b/spec/support/helpers/user_with_namespace_shim.yml
@@ -659,7 +659,6 @@
 - spec/lib/gitlab/analytics/usage_trends/workers_argument_builder_spec.rb
 - spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb
 - spec/lib/gitlab/background_migration/backfill_root_storage_statistics_fork_storage_sizes_spec.rb
-- spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb
 - spec/lib/gitlab/background_migration/backfill_user_details_fields_spec.rb
 - spec/lib/gitlab/background_migration/job_coordinator_spec.rb
 - spec/lib/gitlab/checks/container_moved_spec.rb
@@ -761,9 +760,7 @@
 - spec/migrations/20230328030101_add_secureflag_training_provider_spec.rb
 - spec/migrations/20230328100534_truncate_error_tracking_tables_spec.rb
 - spec/migrations/20230412141541_reschedule_links_avoiding_duplication_spec.rb
-- spec/migrations/20230412185837_queue_populate_vulnerability_dismissal_fields_spec.rb
 - spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb
-- spec/migrations/20230426085615_queue_backfill_resource_link_events_spec.rb
 - spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb
 - spec/migrations/20230428085332_remove_shimo_zentao_integration_records_spec.rb
 - spec/migrations/20230515153600_finalize_back_fill_prepared_at_merge_requests_spec.rb
@@ -774,7 +771,6 @@
 - spec/migrations/cleanup_bigint_conversion_for_merge_request_metrics_for_self_hosts_spec.rb
 - spec/migrations/cleanup_vulnerability_state_transitions_with_same_from_state_to_state_spec.rb
 - spec/migrations/delete_migrate_shared_vulnerability_scanners_spec.rb
-- spec/migrations/drop_packages_events_table_spec.rb
 - spec/migrations/ensure_commit_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 - spec/migrations/ensure_design_user_mentions_note_id_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
 - spec/migrations/ensure_epic_user_mentions_bigint_backfill_is_finished_for_gitlab_dot_com_spec.rb
@@ -804,13 +800,6 @@
 - spec/migrations/set_email_confirmation_setting_before_removing_send_user_confirmation_email_column_spec.rb
 - spec/migrations/set_email_confirmation_setting_from_send_user_confirmation_email_setting_spec.rb
 - spec/migrations/set_email_confirmation_setting_from_soft_email_confirmation_ff_spec.rb
-- spec/migrations/swap_epic_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
-- spec/migrations/swap_merge_request_user_mentions_note_id_to_bigint_2_spec.rb
-- spec/migrations/swap_note_diff_files_note_id_to_bigint_for_gitlab_dot_com_spec.rb
-- spec/migrations/swap_sent_notifications_id_columns_spec.rb
-- spec/migrations/swap_snippet_user_mentions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
-- spec/migrations/swap_suggestions_note_id_to_bigint_for_gitlab_dot_com_spec.rb
-- spec/migrations/swap_timelogs_note_id_to_bigint_for_gitlab_dot_com_spec.rb
 - spec/models/abuse_report_spec.rb
 - spec/models/analytics/cycle_analytics/aggregation_spec.rb
 - spec/models/analytics/cycle_analytics/issue_stage_event_spec.rb
diff --git a/spec/support/rspec_order_todo.yml b/spec/support/rspec_order_todo.yml
index f1c7b7c4a0cdd..1e9e7a61d84d9 100644
--- a/spec/support/rspec_order_todo.yml
+++ b/spec/support/rspec_order_todo.yml
@@ -5294,7 +5294,6 @@
 - './spec/lib/gitlab/background_migration/backfill_note_discussion_id_spec.rb'
 - './spec/lib/gitlab/background_migration/backfill_project_feature_package_registry_access_level_spec.rb'
 - './spec/lib/gitlab/background_migration/backfill_project_repositories_spec.rb'
-- './spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb'
 - './spec/lib/gitlab/background_migration/backfill_topics_title_spec.rb'
 - './spec/lib/gitlab/background_migration/backfill_vulnerability_reads_cluster_agent_spec.rb'
 - './spec/lib/gitlab/background_migration/base_job_spec.rb'
-- 
GitLab