From 017284eb358ac90489d70db66dfdf4e17b3b38bc Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Wed, 26 Nov 2025 14:27:58 +0100 Subject: [PATCH] remove names of squashed migrations --- db/migrate/1000016_aggregated_migrations.rb | 268 ------------------ .../1009016_aggregated_costs_migrations.rb | 10 - .../1003016_aggregated_meeting_migrations.rb | 17 -- ...16_aggregated_openid_connect_migrations.rb | 2 - .../1017016_aggregated_storages_migrations.rb | 22 -- 5 files changed, 319 deletions(-) diff --git a/db/migrate/1000016_aggregated_migrations.rb b/db/migrate/1000016_aggregated_migrations.rb index dd6443e3f3e..5023f0b8bde 100644 --- a/db/migrate/1000016_aggregated_migrations.rb +++ b/db/migrate/1000016_aggregated_migrations.rb @@ -138,275 +138,8 @@ class AggregatedMigrations < SquashedMigration Tables::ServiceAccountAssociations, Tables::ExportSettings - # rubocop:disable Metrics/CollectionLiteralLength squashed_migrations *%w[ 1000015_aggregated_migrations - 10000000000000_to_v710_aggregated_migrations - 20100528100562_aggregated_global_roles_migrations - 20170703075208_add_attribute_help_texts - 20170705134348_remove_attribute_visibility - 20170818063404_add_timeline_labels_to_query - 20170829095701_generate_wp_closure - 20171106074835_move_hashed_token_to_core - 20171129145631_add_fulltext_to_attachments - 20180105130053_rebuild_dag - 20180108132929_vacuum_relations - 20180116065518_add_hierarchy_paths - 20190301122554_remove_hierarchy_paths - 20180117065255_remove_timelines_and_reportings - 20180122135443_add_tsv_columns_to_attachments - 20180123092002_add_custom_actions - 20180213155320_add_description_to_custom_actions - 20180221151038_add_position_to_custom_action - 20180305130811_remove_wiki_content_versions - 20180419061910_timestamp_for_caching - 20180504144320_add_color_to_statuses_and_enumerations - 20180510184732_rename_planning_elemnt_type_colors_to_colors - 20180518130559_add_timestamps_to_wiki - 20180524084654_remove_non_null_container_on_attachments - 20180524113516_add_consent_timestamp_to_user - 20180706150714_convert_to_markdown - 20180717102331_remove_in_aggregation_from_type - 20180801072018_remove_responsible_and_type_from_project - 20180830120550_migrate_light_background_themes - 20180903110212_add_highlighting_to_query - 20180924141838_add_highlighted_attributes_to_query - 20181101132712_add_read_only_to_statuses - 20181112125034_create_doorkeeper_tables - 20181121174153_create_ordered_work_packages - 20190124081710_remove_accessibility_mode - 20190207155607_add_hidden_to_queries - 20190227163226_add_tls_mode_to_auth_sources - 20190312083304_rename_boards_to_forums - 20190411122815_set_timeline_auto_zoom - 20190502102512_ensure_postgres_index_names - 20190507132517_add_board_view_to_roles - 20190509071101_add_default_description_to_types - 20190527095959_set_manage_board_permission - 20190603060951_set_assign_versions_permission - 20190618115620_fix_available_languages - 20190619143049_add_timestamps_to_query - 20190716071941_add_display_representation_to_query - 20190722082648_add_derived_estimated_hours_to_work_packages - 20190724093332_add_journal_versions_table - 20190920102446_clean_custom_values - 20190923111902_add_project_status_reporting - 20190923123858_simplify_project_active_and_timestamp - 20191106132533_make_system_user_active - 20191112111040_fix_system_user_status - 20191115141154_add_content_orientation_to_custom_fields - 20191216135213_join_table_for_active_activities - 20200114091135_add_theme_name_to_custom_styles - 20200115090742_fix_parent_id_for_wiki_pages - 20200206101135_add_theme_logo_to_custom_style - 20200217061622_add_timestamp_to_news - 20200217155632_rename_tokens - 20200220171133_rename_bim_module - 20200302100431_fix_attachable_journals - 20200325101528_strip_whitespace_from_user_attributes - 20200326102408_rename_fixed_version - 20200403105252_add_cron_to_delayed_jobs - 20200415131633_add_work_package_exports - 20200427121606_add_filter_to_ldap - 20200428105404_unique_member_role - 20200504085933_add_schedule_manually_to_work_packages - 20200522131255_splash_multi_list_customizable_journals - 20200522140244_remove_journal_versions_table - 20200527130633_add_templated_to_project - 20200625133727_fix_inherited_group_member_roles - 20200708065116_fix_members_inconsistencies - 20200803081038_journalize_scheduling_mode - 20200820140526_remove_summable_setting - 20200903064009_enable_current_project_custom_fields_columns - 20200907090753_change_attachment_filesize_to_big_int - 20200914092212_set_current_timestamp_defaults_for_bcf_viewpoints_and_issues - 20200924085508_cleanup_orphaned_journal_data - 20200925084550_members_allow_null_on_project - 20201005120137_ensure_integer_for_relations_foreign_keys - 20201005184411_rename_timestamps - 20201125121949_remove_renamed_cron_job - 20210221230446_add_group_user_primary_key - 20210126112238_add_uniqueness_constrain_on_lastname_for_groups_and_placeholder_users - 20210127134438_alter_user_attributes_max_length.rb - 20210214205545_replace_invalid_principal_references - 20210310101840_generalize_exports - 20210331085058_migrate_sessions_unlogged - 20210427065703_make_system_user_admin - 20210510193438_remove_project_setting - 20210512121322_make_project_identifier_unique - 20210519141244_remove_reply_from_message_journalizing - 20210616145324_polymorphic_journal_data - 20210616191052_create_notifications - 20210618125430_authors_as_watchers - 20210618132206_add_notification_settings - 20210628185054_extend_custom_field_name_length - 20210701073944_add_digest_setting - 20210701082511_add_digest_to_notification - 20210726070813_remove_journal_versions - 20210802114054_add_notification_setting_options - 20210825183540_make_user_preferences_json - 20210902201126_cleanup_user_preferences - 20210914065555_cleanup_notifications - 20210915154656_add_user_preference_settings_indices - 20210917190141_non_work_package_notification_settings - 20210922123908_notification_foreign_key_constraint - 20210928133538_add_reminder_workdays - 20211005080304_tzinfo_time_zones - 20211005135637_remove_invalid_group_users - 20211026061420_add_indexes_for_email_reminder_pause - 20211101152840_redistribute_edit_project_permission - 20211102161932_remove_custom_field_types - 20211103120946_clean_emails_footer - 20211104151329_default_notification_setting - 20211117195121_remove_destroyed_help_texts - 20211118203332_clean_hide_mail - 20211130161501_add_views - 20211209092519_query_views - 20220106145037_fix_missing_notification_settings - 20220202140507_reorder_project_children - 20220223095355_projects_lft_rgt_index - 20220302123642_assignable_to_permission - 20220319211253_add_parent_id_to_wp - 20220323083000_add_include_subprojects_to_query - 20220414085531_migrate_team_planner_permissions - 20220428071221_restore_defaults_on_empty_settings - 20220426132637_refix_inherited_group_member_roles - 20220408080838_bigint_primary_key_on_relations - 20220503093844_create_oauth_client - 20220511124930_create_week_days - 20220517113828_create_non_working_days - 20220518154147_create_oauth_client_tokens - 20220525154549_add_duration_to_work_packages - 20220614132200_add_ignore_non_working_days_to_work_packages - 20220615213015_migrate_log_time_to_log_own_time_in_role_permissions - 20220620132922_change_duration_default_value - 20220622151721_drop_project_associations - 20220629061540_add_paper_trail - 20220629073727_add_polymorphic_integration_to_oauth_application - 20220712132505_add_foreign_key_constraint_for_type_color_id - 20220714145356_migrate_work_package_export_settings - 20220804112533_remove_notification_cleanup_job - 20220811061024_rename_work_package_export_limit - 20220817154403_remove_work_packages_duration_field_active_setting - 20220818074150_fix_invalid_journals - 20220818074159_fix_deleted_data_journals - 20220830074821_add_ignore_non_working_days_to_work_package_journals - 20220830092057_change_default_for_non_working_days - 20220831073113_work_package_project_foreign_key - 20220831081937_migrate_timestamps_to_with_timezone - 20220909153412_drop_week_days - 20220911182835_create_default_working_days_setting_entry - 20220918165443_add_start_date_due_date_and_overdue_to_notification_settings - 20220922200908_split_involved_notification_setting - 20220926124435_constrain_work_package_dates - 20220929114423_add_unique_index_to_ldap_groups_membership - 20220930133418_set_duration_for_milestone_work_packages - 20221017073431_remove_orphaned_tokens - 20221017184204_change_defaults_for_notification_settings - 20221026132134_bigint_primary_and_foreign_keys - 20221028070534_change_notification_settings_start_date_due_date_and_overdue_duration_unit_to_days - 20221027151959_remove_plaintext_tokens - 20221029194419_add_timestamps_to_queries - 20221115082403_add_ldap_tls_options - 20221129074635_remove_activity_type_from_journals_table - 20221130150352_create_project_journals - 20221201140825_add_non_null_constraint_on_projects_identifier - 20221202130039_fill_project_journals_with_existing_data - 20221213092910_remove_default_values_from_journal_tables_definition - 20230508150835_copy_project_status_into_projects_and_journals - 20230105073117_remove_renamed_date_alert_job - 20230105134940_work_package_date_indices - 20230130134630_add_index_for_work_package_journals_project_id - 20230306083203_non_null_data_reference_on_journals - 20230309104056_unique_index_on_custom_fields_projects - 20230314093106_add_update_delete_cascade_to_work_packages_project_id - 20230314165213_add_foreign_keys_to_work_packages - 20230315103437_add_foreign_keys_to_workflows - 20230315183431_add_foreign_keys_to_projects_types - 20230315184533_add_foreign_keys_to_custom_fields_projects - 20230322135932_merge_wiki_content_into_page - 20230328154645_add_gin_trgm_index_on_journals_and_custom_values - 20230531093004_remove_default_from_query_name - 20230606083221_add_cause_to_journal - 20230608151123_add_validity_period_to_journals - 20230613155001_add_export_logo_to_custom_style - 20230718084649_add_create_user_permission_to_roles - 20230726061920_rename_auth_source_to_ldap_auth_source - 20230726112130_remove_type_from_ldap_auth_sources - 20230803113215_add_indices_to_work_package_journals - 20230808080001_remove_some_string_length_constraints - 20230808140921_add_derived_remaining_hours_to_work_packages - 20230810074642_add_optional_entity_to_members - 20230829151629_add_copy_work_packages_permission_to_roles - 20230905090205_add_share_workpackages_permission - 20230905126002_add_export_cover_to_custom_style - 20230911093530_remove_news_journals_title_length_constraint - 20230912185647_add_view_shared_work_packages_permission - 20231002141527_fix_default_language_value_for_chinese_simplified - 20231005113307_role_to_project_role - 20231017093339_add_allow_non_open_versions_to_custom_fields - 20231024150429_add_shared_to_notification_settings - 20231026111049_add_public_permissions_to_project_roles - 20231027102747_rollback_create_meeting_agendas_and_split_edit_meeting_role - 20231031133334_create_project_custom_field_project_mappings - 20231105194747_add_data_to_tokens - 20231123111357_create_custom_field_sections - 20231128080650_add_work_package_roles - 20231205143648_add_add_work_package_attachment_permission_to_commenters - 20231212131603_set_custom_fields_filter_default_true - 20231227100753_fix_derived_work_and_remaining_work_values - 20240104172050_add_project_queries - 20240115112549_fix_spent_time_widget_identifier - 20240116165933_add_derived_done_ratio_to_work_packages - 20240131130134_fix_inherited_group_memberships - 20240206173841_fix_untranslated_work_package_roles - 20240207075946_add_status_to_attachment - 20240208100316_enable_required_project_custom_fields_in_all_projects - 20240222155909_rename_columns_on_project_queries - 20240227154544_remove_delayed_jobs - 20240306083241_change_default_value_of_alternative_color - 20240206085104_remove_enums - 20240307094432_change_done_ratio_default_value_to_null - 20240307102541_reduce_configurable_design_variables - 20240307190126_rename_portuguese_locale - 20240311111957_enable_unaccent_extension - 20240325150312_change_derived_done_ratio_default_value_to_null - 20240328154805_change_status_default_done_ratio_to_zero - 20240402065214_remove_ldap_tls_setting - 20240402072213_update_progress_calculation - 20240404074025_create_favorite - 20240408093541_change_default_accent_and_bim_primary_color - 20240422141623_rename_estimate_and_time_attribute_group - 20240424093311_add_excluded_from_totals_to_statuses - 20240424160513_add_settings_to_projects - 20240430143313_update_default_project_columns - 20240506091102_remove_totals_from_childless_work_packages - 20240513135928_extend_oauth_applications - 20240519123921_add_public_to_project_queries - 20240522073759_fix_status_excluded_from_totals_changed_journal_cause - 20240527070439_add_project_query_roles - 20240611105232_set_watched_notification_setting_to_true - 20240624103354_create_emoji_reactions - 20240625075139_add_uniqueness_index_to_project_custom_field_project_mappings - 20240703131639_add_timestamps_to_user_preferences - 20240715183144_add_indexes_to_custom_options - 20240801105918_add_auth_providers - 20240805104004_rename_visible_to_admin_only_in_custom_fields - 20240806144333_create_remote_identities - 20240808125617_populate_remote_identities - 20240808133947_add_lock_version_to_oauth_client_tokens - 20240813131647_drop_origin_user_id_from_oauth_client_tokens - 20240820123011_remove_project_from_notification - 20240909151818_migrate_legacy_default_theme_to_light_theme - 20240920152544_set_versions_name_collation - 20240924114246_create_hierarchical_items - 20240408132459_rename_delay_to_lag - 20240410060041_remove_virtual_delay_column - 20240620115412_add_project_attribute_roles - 20240917105829_add_primary_key_to_custom_fields_projects - 20241001205821_add_standard_global_role - 20241002151949_remove_hide_mail_from_user_preferences - 20241015081341_remove_obsolete_design_variables 20241030154245_create_project_life_cycles 20241119131205_create_reminders 20241120095318_update_scheduling_mode_and_lags @@ -435,5 +168,4 @@ class AggregatedMigrations < SquashedMigration 20250327071204_add_dismissed_enterprise_banners_to_user_preference 20250402083709_change_remote_identities_foreign_key_indices ] - # rubocop:enable Metrics/CollectionLiteralLength end diff --git a/modules/costs/db/migrate/1009016_aggregated_costs_migrations.rb b/modules/costs/db/migrate/1009016_aggregated_costs_migrations.rb index d1e369313e2..9a998b3df01 100644 --- a/modules/costs/db/migrate/1009016_aggregated_costs_migrations.rb +++ b/modules/costs/db/migrate/1009016_aggregated_costs_migrations.rb @@ -39,16 +39,6 @@ require_relative "tables/time_entry_journals" class AggregatedCostsMigrations < SquashedMigration squashed_migrations *%w[ 1009015_aggregated_costs_migrations - 20180323133404_to_v710_aggregated_costs_migrations - 20200327074416_rename_fixed_version_in_cost_query - 20200807083952_rename_time_and_cost_module - 20210726065912_rename_cost_object_type - 20201001184404_rename_timestamp_on_time_and_cost_entry - 20220608213712_add_logged_by_id_to_time_entries - 20220707192304_backfill_time_entries_with_logged_by_id - 20220815072420_add_logged_by_to_time_entries_journals - 20221018160449_add_logged_by_to_cost_entries - 20230622074222_add_ongoing_to_time_entry 20241120103858_add_start_end_times_to_time_entries 20241125104347_add_timezone_identifier_to_time_entry 20250219103939_make_time_entry_comment_text_field diff --git a/modules/meeting/db/migrate/1003016_aggregated_meeting_migrations.rb b/modules/meeting/db/migrate/1003016_aggregated_meeting_migrations.rb index a4eeb2ceb48..1dfc58e1630 100644 --- a/modules/meeting/db/migrate/1003016_aggregated_meeting_migrations.rb +++ b/modules/meeting/db/migrate/1003016_aggregated_meeting_migrations.rb @@ -35,23 +35,6 @@ Dir[File.join(__dir__, "tables/*.rb")].each { |file| require file } class AggregatedMeetingMigrations < SquashedMigration squashed_migrations *%w[ 1003015_aggregated_meeting_migrations - 20180323135408_to_v710_aggregated_meeting_migrations - 20230816141222_create_meeting_agenda_items - 20230823113310_add_work_package_to_meeting_agenda_items - 20230829122717_add_state_to_meetings - 20230911102918_add_type_to_meeting - 20230918135247_change_meeting_agenda_item_description_to_notes - 20231003151656_create_meeting_agenda_item_journals - 20231012124745_add_item_type_to_meeting_agenda_items - 20231013114720_add_item_type_to_meeting_agenda_item_journal - 20231020154219_add_trgm_index_to_meeting_agenda_item_notes - 20231025144701_migrate_agenda_item_permissions - 20231119192222_add_locking_to_meeting - 20240313102951_add_presenter_to_meeting - 20240405131352_create_meeting_sections - 20240408161233_add_state_to_meeting_journal - 20240418110249_set_author_as_presenter - 20240516102219_fix_untitled_meetings 20250318123314_add_backlog_to_meeting_sections 20240426073948_create_recurring_meetings 20241122143600_add_interval_to_recurring_meeting diff --git a/modules/openid_connect/db/migrate/1018016_aggregated_openid_connect_migrations.rb b/modules/openid_connect/db/migrate/1018016_aggregated_openid_connect_migrations.rb index a73bf661b65..09f15e4f866 100644 --- a/modules/openid_connect/db/migrate/1018016_aggregated_openid_connect_migrations.rb +++ b/modules/openid_connect/db/migrate/1018016_aggregated_openid_connect_migrations.rb @@ -38,8 +38,6 @@ class AggregatedOpenIDConnectMigrations < SquashedMigration squashed_migrations *%w[ 1018015_aggregated_openid_connect_migrations - 20221122072857_add_oidc_session_link - 20240829140616_migrate_oidc_settings_to_providers 20241212131910_add_oidc_user_tokens 20250218133700_add_expires_at_to_oidc_user_tokens ] diff --git a/modules/storages/db/migrate/1017016_aggregated_storages_migrations.rb b/modules/storages/db/migrate/1017016_aggregated_storages_migrations.rb index 68abbb3132f..9cd12643d58 100644 --- a/modules/storages/db/migrate/1017016_aggregated_storages_migrations.rb +++ b/modules/storages/db/migrate/1017016_aggregated_storages_migrations.rb @@ -35,28 +35,6 @@ Dir[File.join(__dir__, "tables/*.rb")].each { |file| require file } class AggregatedStoragesMigrations < SquashedMigration squashed_migrations *%w[ 1017015_aggregated_storages_migrations - 20220113144323_create_storage - 20220113144759_create_file_links - 20220121090847_create_projects_storages - 20220712165928_add_storages_permissions_to_roles - 20230123092649_make_containter_id_and_containter_type_optional_for_file_links - 20230321194150_add_project_folder_to_projects_storages - 20230420063148_add_provider_fields_to_storages - 20230420071113_migrate_storages_to_use_provider_type_as_sti_column - 20230512153303_change_storage_provider_fields_default - 20230517075214_add_automatic_to_project_folder_modes - 20230601082746_create_last_project_folders - 20230713144232_create_storages_file_link_journals - 20230721123022_remove_project_folder_mode_default - 20230802085026_rename_projects_storages_table - 20230824130730_remove_not_null_constraint_for_storage_host - 20231009135807_remove_renamed_cronjobs - 20231109080454_add_health_info_to_storages - 20231208143303_add_health_checked_at_to_storages - 20240405135016_update_access_management_of_configured_one_drive_storages - 20240610130953_rename_manage_storages_in_project_permission - 20230725165505_add_storage_name_to_storages_file_links_journals - 20230731153909_add_file_link_journals_to_existing_containers 20250115100336_set_default_authentication_method ].freeze