gitlab-org--gitlab-foss/db/migrate
Jan Provaznik 090ca9c33e Use limit for search count queries
Search query is especially slow if a user searches a generic string
which matches many records, in such case search can take tens of
seconds or time out. To speed up the search query, we search only for
first 1000 records, if there is >1000 matching records we just display
"1000+" instead of precise total count supposing that with such amount
the exact count is not so important for the user.

Because for issues even limited search was not fast enough, 2-phase
approach is used for issues: first we use simpler/faster query to get
all public issues, if this exceeds the limit, we just return the limit.
If the amount of matching results is lower than limit, we re-run more
complex search query (which includes also confidential issues).
Re-running the complex query should be fast enough in such case because the
amount of matching issues is lower than limit.

Because exact total_count is now limited, this patch also switches to
to "prev/next" pagination.

Related #40540
2018-01-23 22:33:42 +01:00
..
20121220064453_init_schema.rb
20130102143055_rename_owner_to_creator_for_project.rb
20130110172407_add_public_to_project.rb
20130123114545_add_issues_tracker_to_project.rb
20130125090214_add_user_permissions.rb
20130131070232_remove_private_flag_from_project.rb
20130206084024_add_description_to_namsespace.rb
20130207104426_add_description_to_teams.rb
20130211085435_add_issues_tracker_id_to_project.rb
20130214154045_rename_state_to_merge_status_in_milestone.rb
20130218140952_add_state_to_issue.rb
20130218141038_add_state_to_merge_request.rb
20130218141117_add_state_to_milestone.rb
20130218141258_convert_closed_to_state_in_issue.rb
20130218141327_convert_closed_to_state_in_merge_request.rb
20130218141344_convert_closed_to_state_in_milestone.rb
20130218141444_remove_merged_from_merge_request.rb
20130218141507_remove_closed_from_issue.rb
20130218141536_remove_closed_from_merge_request.rb
20130218141554_remove_closed_from_milestone.rb
20130220124204_add_new_merge_status_to_merge_request.rb
20130220125544_convert_merge_status_in_merge_request.rb
20130220125545_remove_merge_status_from_merge_request.rb
20130220133245_rename_new_merge_status_to_merge_status_in_milestone.rb
20130304104623_add_state_to_user.rb
20130304104740_convert_blocked_to_state.rb
20130304105317_remove_blocked_from_user.rb
20130315124931_user_color_scheme.rb
20130318212250_add_snippets_to_features.rb
20130319214458_create_forked_project_links.rb
20130323174317_add_private_to_snippets.rb
20130324151736_add_type_to_snippets.rb
20130324172327_change_project_id_to_null_in_snipepts.rb
20130324203535_add_type_value_for_snippets.rb
20130325173941_add_notification_level_to_user.rb
20130326142630_add_index_to_users_authentication_token.rb
20130403003950_add_last_activity_column_into_project.rb
20130404164628_add_notification_level_to_user_project.rb
20130410175022_remove_wiki_table.rb
20130419190306_allow_merges_for_forks.rb
20130506085413_add_type_to_key.rb
20130506090604_create_deploy_keys_projects.rb
20130506095501_remove_project_id_from_key.rb
20130522141856_add_more_fields_to_service.rb
20130528184641_add_system_to_notes.rb
20130611210815_increase_snippet_text_column_size.rb
20130613165816_add_password_expires_at_to_users.rb
20130613173246_add_created_by_id_to_user.rb
20130614132337_add_improted_to_project.rb
20130617095603_create_users_groups.rb
20130621195223_add_notification_level_to_user_group.rb
20130622115340_add_more_db_index.rb
20130624162710_add_fingerprint_to_key.rb
20130711063759_create_project_group_links.rb
20130804151314_add_st_diff_to_note.rb
20130809124851_add_permission_check_to_user.rb
20130812143708_add_import_url_to_project.rb
20130819182730_add_internal_ids_to_issues_and_mr.rb
20130820102832_add_access_to_project_group_link.rb
20130821090530_remove_deprecated_tables.rb
20130821090531_add_internal_ids_to_milestones.rb
20130909132950_add_description_to_merge_request.rb
20130926081215_change_owner_id_for_group.rb
20131005191208_add_avatar_to_users.rb
20131009115346_add_confirmable_to_users.rb
20131106151520_remove_default_branch.rb
20131112114325_create_broadcast_messages.rb
20131112220935_add_visibility_level_to_projects.rb
20131129154016_add_archived_to_projects.rb
20131130165425_add_color_and_font_to_broadcast_messages.rb
20131202192556_add_event_fields_for_web_hook.rb
20131214224427_add_hide_no_ssh_key_to_users.rb
20131217102743_add_recipients_to_service.rb
20140116231608_add_website_url_to_users.rb
20140122112253_create_merge_request_diffs.rb
20140122114406_migrate_mr_diffs.rb
20140122122549_remove_m_rdiff_fields.rb
20140125162722_add_avatar_to_projects.rb
20140127170938_add_group_avatars.rb
20140209025651_create_emails.rb
20140214102325_add_api_key_to_services.rb
20140304005354_add_index_merge_request_diffs_on_merge_request_id.rb
20140305193308_add_tag_push_hooks_to_project_hook.rb
20140312145357_add_import_status_to_project.rb
20140313092127_migrate_already_imported_projects.rb
20140407135544_fix_namespaces.rb
20140414131055_change_state_to_allow_empty_merge_request_diffs.rb
20140415124820_limits_to_mysql.rb
20140416074002_add_index_on_iid.rb
20140416185734_index_on_current_sign_in_at.rb
20140428105831_add_notes_index_updated_at.rb
20140502115131_add_repo_size_to_db.rb
20140502125220_migrate_repo_size.rb
20140611135229_add_position_to_merge_request.rb
20140625115202_create_users_star_projects.rb
20140729134820_create_labels.rb
20140729140420_create_label_links.rb
20140729145339_migrate_project_tags.rb
20140729152420_migrate_taggable_labels.rb
20140730111702_add_index_to_labels.rb
20140903115954_migrate_to_new_shell.rb
20140907220153_serialize_service_properties.rb
20140914113604_add_members_table.rb
20140914145549_migrate_to_new_members_model.rb
20140914173417_remove_old_member_tables.rb
20141006143943_move_slack_service_to_webhook.rb
20141007100818_add_visibility_level_to_snippet.rb
20141118150935_add_audit_event.rb
20141121133009_add_timestamps_to_members.rb
20141121161704_add_identity_table.rb
20141126120926_add_merge_request_rebase_enabled_to_projects.rb [Port semi-linear history from EE] Move migration to CE and `merge_method` method 2017-09-29 19:07:27 +03:00
20141205134006_add_locked_at_to_merge_request.rb
20141216155758_create_doorkeeper_tables.rb
20141217125223_add_owner_to_application.rb
20141223135007_add_import_data_to_project_table.rb
20141226080412_add_developers_can_push_to_protected_branches.rb
20150108073740_create_application_settings.rb
20150116234544_add_home_page_url_for_application_settings.rb
20150116234545_add_gitlab_access_token_to_user.rb
20150125163100_add_default_branch_protection_setting.rb
20150205211843_add_timestamps_to_identities.rb
20150206181414_add_index_to_created_at.rb
20150206222854_add_notification_email_to_user.rb
20150209222013_add_missing_index.rb
20150211172122_add_template_to_service.rb
20150211174341_allow_null_in_services_project_id.rb
20150213104043_add_twitter_sharing_enabled_to_application_settings.rb
20150213114800_add_hide_no_password_to_user.rb
20150213121042_add_password_automatically_set_to_user.rb
20150217123345_add_bitbucket_access_token_and_secret_to_user.rb
20150219004514_add_events_to_services.rb
20150223022001_set_missing_last_activity_at.rb
20150225065047_add_note_events_to_services.rb
20150301014758_add_restricted_visibility_levels_to_application_settings.rb
20150306023106_fix_namespace_duplication.rb
20150306023112_add_unique_index_to_namespace.rb
20150310194358_add_version_check_to_application_settings.rb
20150313012111_create_subscriptions_table.rb
20150320234437_add_location_to_user.rb
20150324155957_set_incorrect_assignee_id_to_null.rb
20150327122227_add_public_to_key.rb
20150327150017_add_import_data_to_project.rb
20150327223628_add_devise_two_factor_to_users.rb
20150328132231_add_max_attachment_size_to_application_settings.rb
20150331183602_add_devise_two_factor_backupable_to_users.rb
20150406133311_add_invite_data_to_member.rb
20150411000035_fix_identities.rb
20150411180045_rename_buildbox_service.rb
20150413192223_add_public_email_to_users.rb
20150417121913_create_project_import_data.rb
20150417122318_remove_import_data_from_project.rb
20150421120000_remove_periods_at_ends_of_usernames.rb
20150423033240_add_default_project_visibililty_to_application_settings.rb
20150425164646_gitlab_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
20150425164647_remove_duplicate_tags.rb
20150425164648_add_missing_unique_indices.acts_as_taggable_on_engine.rb
20150425164649_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
20150425164650_add_missing_taggable_index.acts_as_taggable_on_engine.rb
20150425164651_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
20150425173433_add_default_snippet_visibility_to_app_settings.rb
20150429002313_remove_abandoned_group_members_records.rb
20150502064022_add_restricted_signup_domains_to_application_settings.rb
20150509180749_convert_legacy_reference_notes.rb
20150516060434_add_note_events_to_web_hooks.rb
20150529111607_add_user_oauth_applications_to_application_settings.rb
20150529150354_add_after_sign_out_path_for_application_settings.rb
20150609141121_add_session_expire_delay_for_application_settings.rb
20150610065936_add_dashboard_to_users.rb
20150620233230_add_default_otp_required_for_login_value.rb
20150713160110_add_project_view_to_users.rb
20150717130904_add_commits_count_to_project.rb
20150730122406_add_updated_by_to_issuables_and_notes.rb
20150806104937_create_abuse_reports.rb
20150812080800_add_settings_import_sources.rb
20150814065925_remove_oauth_tokens_from_users.rb
20150817163600_deduplicate_user_identities.rb
20150818213832_add_sent_notifications.rb
20150824002011_add_enable_ssl_verification.rb
20150826001931_add_ci_tables.rb
20150827121444_add_fast_forward_option_to_project.rb Put a condition to old migration that adds fast_forward column to MRs 2017-11-04 14:20:27 +02:00
20150902001023_add_template_to_label.rb
20150914215247_add_ci_tags.rb
20150915001905_enable_ssl_verification_by_default.rb
20150916000405_enable_ssl_verification_for_web_hooks.rb
20150916114643_add_help_page_text_to_application_settings.rb
20150916145038_add_index_for_committed_at_and_id.rb
20150918084513_add_ci_enabled_to_application_settings.rb
20150918161719_remove_invalid_milestones_from_merge_requests.rb
20150920010715_add_consumed_timestep_to_users.rb
20150920161119_add_line_code_to_sent_notification.rb
20150924125150_add_project_id_to_ci_commit.rb
20150924125436_migrate_project_id_for_ci_commits.rb
20150930001110_merge_request_error_field.rb
20150930095736_add_null_to_name_for_ci_projects.rb
20150930110012_add_group_share_lock.rb
20151002112914_add_stage_idx_to_builds.rb
20151002121400_add_index_for_builds.rb
20151002122929_add_ref_and_tag_to_builds.rb
20151002122943_migrate_ref_and_tag_to_build.rb
20151005075649_add_user_id_to_build.rb
20151005150751_add_layout_option_for_users.rb
20151005162154_remove_ci_enabled_from_application_settings.rb
20151007120511_namespaces_projects_path_lower_indexes.rb
20151008110232_add_users_lower_username_email_indexes.rb
20151008123042_add_type_and_description_to_builds.rb
20151008130321_migrate_name_to_description_for_builds.rb
20151008143519_add_admin_notification_email_setting.rb
20151012173029_set_jira_service_api_url.rb
20151013092124_add_artifacts_file_to_builds.rb
20151016131433_add_ci_projects_gl_project_id_index.rb
20151016195451_add_ci_builds_and_projects_indexes.rb
20151016195706_add_notes_line_code_index.rb
20151019111551_fix_build_tags.rb
20151019111703_fail_build_without_names.rb
20151020145526_add_services_template_index.rb
20151020173516_ci_limits_to_mysql.rb
20151020173906_add_ci_builds_index_for_status.rb
20151023112551_fail_build_with_empty_name.rb
20151023144219_remove_satellites.rb
20151026182941_add_project_path_index.rb
20151028152939_add_merge_when_build_succeeds_to_merge_request.rb
20151103001141_add_public_to_group.rb
20151103133339_add_shared_runners_setting.rb
20151103134857_create_lfs_objects.rb
20151103134958_create_lfs_objects_projects.rb
20151104105513_add_file_to_lfs_objects.rb
20151105094515_create_releases.rb
20151106000015_add_is_award_to_notes.rb
20151109100728_add_max_artifacts_size_to_application_settings.rb
20151109134526_add_issues_state_index.rb
20151109134916_add_projects_visibility_level_index.rb
20151110125604_add_import_error_to_project.rb
20151114113410_add_index_for_lfs_oid_and_size.rb
20151116144118_add_unique_for_lfs_oid_index.rb
20151118162244_add_projects_public_index.rb
20151201203948_raise_hook_url_limit.rb
20151203162133_add_hide_project_limit_to_users.rb
20151203162134_add_build_events_to_services.rb
20151209144329_migrate_ci_web_hooks.rb
20151209145909_migrate_ci_emails.rb
20151210030143_add_unlock_token_to_user.rb
20151210072243_add_runners_registration_token_to_application_settings.rb
20151210125232_migrate_ci_slack_service.rb
20151210125927_migrate_ci_hip_chat_service.rb
20151210125928_add_ci_to_project.rb
20151210125929_add_project_id_to_ci.rb
20151210125930_migrate_ci_to_project.rb
20151210125931_add_index_to_ci_tables.rb
20151210125932_drop_null_for_ci_tables.rb
20151215132013_add_pages_size_to_application_settings.rb
20151218154042_add_tfa_to_application_settings.rb
20151221234414_add_tfa_additional_fields.rb
20151224123230_rename_emojis.rb
20151228111122_remove_public_from_namespace.rb
20151228150906_influxdb_settings.rb
20151228175719_add_recaptcha_to_application_settings.rb
20151229102248_influxdb_udp_port_setting.rb
20151229112614_influxdb_remote_database_setting.rb
20151230132518_add_artifacts_metadata_to_ci_build.rb
20151231152326_add_akismet_to_application_settings.rb
20151231202530_remove_alert_type_from_broadcast_messages.rb
20160106162223_add_index_milestones_title.rb
20160106164438_remove_influxdb_credentials.rb
20160109054846_create_spam_logs.rb
20160113111034_add_metrics_sample_interval.rb
20160118155830_add_sentry_to_application_settings.rb
20160118232755_add_ip_blocking_settings_to_application_settings.rb
20160119111158_add_services_category.rb
20160119112418_add_services_default.rb
20160119145451_add_ldap_email_to_users.rb
20160120172143_add_base_commit_sha_to_merge_request_diffs.rb
20160121030729_add_email_author_in_body_to_application_settings.rb
20160122185421_add_pending_delete_to_project.rb
20160128212447_remove_ip_blocking_settings_from_application_settings.rb
20160128233227_change_lfs_objects_size_column.rb
20160129135155_remove_dot_atom_path_ending_of_projects.rb
20160129155512_add_merge_commit_sha_to_merge_requests.rb
20160202091601_add_erasable_to_ci_build.rb
20160202164642_add_allow_guest_to_access_builds_project.rb
20160204144558_add_real_size_to_merge_request_diffs.rb
20160209130428_add_index_to_snippet.rb
20160210105555_create_pages_domain.rb
20160212123307_create_tasks.rb
20160217100506_add_description_to_label.rb
20160217174422_add_note_to_tasks.rb
20160220123949_rename_tasks_to_todos.rb
20160222153918_create_appearances_ce.rb
20160223192159_add_confidential_to_issues.rb
20160225090018_add_delete_at_to_issues.rb
20160225101956_add_delete_at_to_merge_requests.rb
20160226114608_add_trigram_indexes_for_searching.rb
20160227120001_add_event_field_for_web_hook.rb
20160227120047_add_event_to_services.rb
20160229193553_add_main_language_to_repository.rb
20160301124843_add_visibility_level_to_groups.rb
20160301174731_add_fingerprint_index.rb Avoid adding index if already exists 2018-01-08 20:34:35 +00:00
20160302151724_add_import_credentials_to_project_import_data.rb
20160302152808_remove_wrong_import_url_from_projects.rb
20160305220806_remove_expires_at_from_snippets.rb
20160307221555_disallow_blank_line_code_on_note.rb
20160308212903_add_default_group_visibility_to_application_settings.rb
20160309140734_fix_todos.rb
20160310124959_add_due_date_to_issues.rb
20160310185910_add_external_flag_to_users.rb
20160314094147_add_priority_to_label.rb
20160314114439_add_requested_at_to_members.rb
20160314143402_projects_add_pushes_since_gc.rb
20160315135439_project_add_repository_check.rb
20160316123110_ci_runners_token_index.rb
20160316192622_change_target_id_to_null_on_todos.rb
20160316204731_add_commit_id_to_todos.rb
20160317092222_add_moved_to_to_issue.rb
20160320204112_index_namespaces_on_visibility_level.rb
20160324020319_remove_todos_for_deleted_issues.rb
20160328112808_create_notification_settings.rb
20160328115649_migrate_new_notification_setting.rb
20160328121138_add_notification_setting_index.rb
20160329144452_add_index_on_pending_delete_projects.rb
20160331133914_remove_todos_for_deleted_merge_requests.rb
20160331223143_remove_twitter_sharing_enabled_from_application_settings.rb
20160407120251_add_images_enabled_for_project.rb
20160412140240_add_repository_checks_enabled_setting.rb
20160412173416_add_fields_to_ci_commit.rb
20160412173417_update_ci_commit.rb
20160412173418_add_ci_commit_indexes.rb
20160413115152_add_token_to_web_hooks.rb
20160415062917_create_personal_access_tokens.rb
20160415133440_add_shared_runners_text_to_application_settings.rb
20160416180807_add_award_emoji.rb
20160416182152_convert_award_note_to_emoji_award.rb
20160419120017_add_metrics_packet_size.rb
20160419122101_add_only_allow_merge_if_build_succeeds_to_projects.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160421130527_disable_repository_checks.rb
20160425045124_create_u2f_registrations.rb
20160504091942_add_disabled_oauth_sign_in_sources_to_application_settings.rb
20160504112519_add_run_untagged_to_ci_runner.rb
20160508194200_remove_wall_enabled_from_projects.rb
20160508202603_add_head_commit_id_to_merge_request_diffs.rb
20160508215820_add_type_to_notes.rb
20160508215920_add_positions_to_diff_notes.rb
20160508221410_set_type_on_legacy_diff_notes.rb
20160509091049_add_locked_to_ci_runner.rb
20160509201028_add_health_check_access_token_to_application_settings.rb
20160516174813_add_send_user_confirmation_email_to_application_settings.rb
20160516224534_add_start_commit_id_to_merge_request_diffs.rb
20160518200441_add_artifacts_expire_date_to_ci_builds.rb Ignore existing Migration/Datetime cop offenders 2017-10-10 12:21:44 +01:00
20160519203051_add_developers_can_merge_to_protected_branches.rb
20160522215720_add_note_type_and_position_to_sent_notification.rb
20160525205328_remove_main_language_from_projects.rb
20160527020117_remove_notification_settings_for_deleted_projects.rb
20160528043124_add_users_state_index.rb
20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
20160603075128_add_has_external_issue_tracker_to_projects.rb
20160603180330_remove_duplicated_notification_settings.rb
20160603182247_add_index_to_notification_settings.rb
20160608155312_add_after_sign_up_text_to_application_settings.rb
20160608195742_add_repository_storage_to_projects.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160608211215_add_user_default_external_to_application_settings.rb
20160610140403_remove_notification_setting_not_null_constraints.rb
20160610194713_remove_deprecated_issues_tracker_columns_from_projects.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160610201627_migrate_users_notification_level.rb
20160610204157_add_deployments.rb
20160610204158_add_environments.rb
20160610211845_add_environment_to_builds.rb
20160610301627_remove_notification_level_from_users.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160614182521_add_repository_storage_to_application_settings.rb
20160615142710_add_index_on_requested_at_to_members.rb
20160615173316_add_enabled_git_access_protocols_to_application_settings.rb
20160615191922_set_missing_stage_on_ci_builds.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160616084004_change_project_of_environment.rb
20160616102642_remove_duplicated_keys.rb
20160616103005_remove_keys_fingerprint_index_if_exists.rb
20160616103948_add_unique_index_to_keys_fingerprint.rb
20160617301627_add_events_to_notification_settings.rb
20160620115026_add_index_on_runners_locked.rb
20160621123729_add_rebase_commit_sha_to_merge_requests.rb Add the EE `rebase_commit_sha` migration back in its original location 2018-01-05 14:10:40 -06:00
20160628085157_add_artifacts_size_to_ci_builds.rb
20160629025435_add_column_in_progress_merge_commit_sha_to_merge_requests.rb
20160703180340_add_index_on_award_emoji_user_and_name.rb
20160705054938_add_protected_branches_push_access.rb
20160705054952_add_protected_branches_merge_access.rb
20160705055254_move_from_developers_can_merge_to_protected_branches_merge_access.rb
20160705055308_move_from_developers_can_push_to_protected_branches_push_access.rb
20160705055809_remove_developers_can_push_from_protected_branches.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160705055813_remove_developers_can_merge_from_protected_branches.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160705163108_remove_requesters_that_are_owners.rb
20160707104333_add_lock_to_issuables.rb
20160712171823_remove_award_emojis_with_no_user.rb
20160713200638_add_repository_read_only_to_projects.rb [Backported from EE] Readonly flag for Projects 2017-09-28 13:20:11 +01:00
20160713205315_add_domain_blacklist_to_application_settings.rb
20160713222618_add_usage_ping_to_application_settings.rb
20160715132507_add_user_id_to_pipeline.rb
20160715134306_add_index_for_pipeline_user_id.rb
20160715154212_add_request_access_enabled_to_projects.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160715204316_add_request_access_enabled_to_groups.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160715230841_rename_application_settings_restricted_signup_domains.rb
20160716115710_add_when_and_yaml_variables_to_ci_builds.rb
20160716115711_add_queued_at_to_ci_builds.rb Ignore existing Migration/Datetime cop offenders 2017-10-10 12:21:44 +01:00
20160718153603_add_has_external_wiki_to_projects.rb
20160721081015_drop_and_readd_has_external_wiki_in_projects.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20160722221922_nullify_blank_type_on_notes.rb
20160724205507_add_resolved_to_notes.rb
20160725083350_add_external_url_to_enviroments.rb
20160725104020_merge_request_diff_remove_uniq.rb
20160725104452_merge_request_diff_add_index.rb
20160727163552_create_user_agent_details.rb
20160727191041_create_boards.rb
20160727193336_create_lists.rb
20160728081025_add_pipeline_events_to_web_hooks.rb
20160728103734_add_pipeline_events_to_services.rb
20160729173930_remove_project_id_from_spam_logs.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160801163421_add_expires_at_to_member.rb
20160801163709_add_submitted_as_ham_to_spam_logs.rb
20160802010328_remove_builds_enable_index_on_projects.rb
20160803161903_add_unique_index_to_lists_label_id.rb
20160804142904_add_ci_config_file_to_project.rb
20160804150737_add_timestamps_to_members_again.rb
20160805041956_add_deleted_at_to_namespaces.rb
20160808085531_add_token_to_build.rb
20160808085602_add_index_for_build_token.rb
20160810102349_remove_ci_runner_trigram_indexes.rb
20160810142633_remove_redundant_indexes.rb
20160811172945_add_can_push_to_keys.rb
20160816161312_add_column_name_to_u2f_registrations.rb
20160817133006_add_koding_to_application_settings.rb
20160817154936_add_discussion_ids_to_notes.rb
20160818205718_add_expires_at_to_project_group_links.rb
20160819221631_add_index_to_note_discussion_id.rb
20160819221833_reset_diff_note_discussion_id_because_it_was_calculated_wrongly.rb
20160819232256_add_incoming_email_token_to_users.rb
20160823081327_change_merge_error_to_text.rb
20160823083941_add_column_scopes_to_personal_access_tokens.rb
20160823213309_add_lfs_enabled_to_projects.rb
20160824103857_drop_unused_ci_tables.rb
20160824124900_add_table_issue_metrics.rb
20160825052008_add_table_merge_request_metrics.rb
20160827011312_ensure_lock_version_has_no_default.rb
20160829114652_add_markdown_cache_columns.rb
20160830203109_add_confidential_issues_events_to_web_hooks.rb
20160830211132_add_confidential_issues_events_to_services.rb
20160830232601_change_lock_version_not_null.rb
20160831214002_create_project_features.rb
20160831214543_migrate_project_features.rb
20160831223750_remove_features_enabled_from_projects.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160901141443_set_confidential_issues_events_on_webhooks.rb
20160901213340_add_lfs_enabled_to_namespaces.rb
20160902122721_drop_gitorious_field_from_application_settings.rb
20160907131111_add_environment_type_to_environments.rb
20160913162434_remove_projects_pushes_since_gc.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20160913212128_change_artifacts_size_column.rb
20160914131004_only_allow_merge_if_all_discussions_are_resolved.rb
20160915042921_create_merge_requests_closing_issues.rb
20160919144305_add_type_to_labels.rb
20160919145149_add_group_id_to_labels.rb
20160920160832_add_index_to_labels_title.rb
20160926145521_add_organization_to_user.rb
20161006104309_add_state_to_environment.rb
20161007073613_create_user_activities.rb
20161007133303_precalculate_trending_projects.rb
20161010142410_create_project_authorizations.rb
20161012180455_add_repository_access_level_to_project_feature.rb
20161014173530_create_label_priorities.rb
20161017091941_add_authorized_projects_populated_to_users.rb
20161017095000_add_properties_to_deployment.rb
20161017125927_add_unique_index_to_labels.rb
20161018024215_migrate_labels_priority.rb
20161018024550_remove_priority_from_labels.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20161018124658_make_project_owners_masters.rb
20161019190736_migrate_sidekiq_queues_from_default.rb
20161019213545_generate_project_feature_for_projects.rb
20161020075734_default_request_access_groups.rb
20161020075830_default_request_access_projects.rb
20161020083353_add_pipeline_id_to_merge_request_metrics.rb
20161020180657_add_minimum_key_length_to_application_settings.rb
20161021114307_add_lock_version_to_build_and_pipelines.rb
20161024042317_migrate_mailroom_queue_from_default.rb
20161025231710_migrate_jira_to_gem.rb
20161031155516_add_housekeeping_to_application_settings.rb
20161031171301_add_project_id_to_subscriptions.rb
20161031174110_migrate_subscriptions_project_id.rb
20161031181638_add_unique_index_to_subscriptions.rb
20161103171205_rename_repository_storage_column.rb
20161103191444_add_sidekiq_throttling_to_application_settings.rb
20161106185620_add_project_import_data_project_index.rb
20161113184239_create_user_chat_names_table.rb
20161114024742_add_coverage_regex_to_builds.rb
20161115173905_add_start_date_to_milestones.rb
20161117114805_remove_undeleted_groups.rb
20161118183841_add_commit_events_to_services.rb
20161124111390_add_parent_id_to_namespace.rb
20161124111395_add_index_to_parent_id.rb
20161124111402_add_routes_table.rb
20161124141322_migrate_process_commit_worker_jobs.rb
20161128095517_add_in_reply_to_discussion_id_to_sent_notifications.rb
20161128142110_remove_unnecessary_indexes.rb
20161128161412_add_html_emails_enabled_to_application_settings.rb
20161130095245_fill_routes_table.rb
20161130101252_fill_projects_routes_table.rb
20161201001911_add_plant_uml_url_to_application_settings.rb
20161201155511_create_project_statistics.rb
20161201160452_migrate_project_statistics.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20161202152031_remove_duplicates_from_routes.rb
20161202152035_add_index_to_routes.rb
20161206003819_add_plant_uml_enabled_to_application_settings.rb
20161206153749_remove_uniq_path_index_from_namespace.rb
20161206153751_add_path_index_to_namespace.rb
20161206153753_remove_uniq_name_index_from_namespace.rb
20161206153754_add_name_index_to_namespace.rb
20161207231620_fixup_environment_name_uniqueness.rb
20161207231621_create_environment_name_unique_index.rb
20161207231626_add_environment_slug.rb
20161209153400_add_unique_index_for_environment_slug.rb
20161209165216_create_doorkeeper_openid_connect_tables.rb
20161212142807_add_lower_path_index_to_routes.rb
20161213172958_change_slack_service_to_slack_notification_service.rb
20161220141214_remove_dot_git_from_group_names.rb
20161221152132_add_last_used_at_to_key.rb
20161223034433_add_estimate_to_issuables_ce.rb
20161223034646_create_timelogs_ce.rb
20161226122833_remove_dot_git_from_usernames.rb
20161227192806_rename_slack_and_mattermost_notification_services.rb
20161228124936_change_expires_at_to_date_in_personal_access_tokens.rb
20161228135550_add_impersonation_to_personal_access_tokens.rb
20170120131253_create_chat_teams.rb
20170121123724_add_index_to_ci_builds_for_status_runner_id_and_type.rb
20170121130655_add_index_to_ci_runners_for_is_shared.rb
20170124174637_add_foreign_keys_to_timelogs.rb
20170124193147_add_two_factor_columns_to_namespaces.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20170124193205_add_two_factor_columns_to_users.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20170126174819_add_terminal_max_session_time_to_application_settings.rb
20170127032550_remove_backlog_lists_from_boards.rb
20170130204620_add_index_to_project_authorizations.rb
20170130221926_create_uploads.rb
20170131221752_add_relative_position_to_issues.rb
20170204172458_add_name_to_route.rb
20170204181513_add_index_to_labels_for_type_and_project.rb
20170206071414_add_recaptcha_verified_to_spam_logs.rb
20170206115204_add_column_ghost_to_users.rb
20170210062829_add_index_to_labels_for_title_and_project.rb
20170210075922_add_index_to_ci_trigger_requests_for_commit_id.rb
20170210103609_add_index_to_user_agent_detail.rb
20170210131347_add_unique_ips_limit_to_application_settings.rb
20170214084746_add_default_artifacts_expiration_to_application_settings.rb
20170216135621_add_index_for_latest_successful_pipeline.rb
20170216141440_drop_index_for_builds_project_status.rb
20170217132157_rename_merge_when_build_succeeds.rb
20170217151947_rename_only_allow_merge_if_build_succeeds.rb
20170217151948_add_owner_id_to_triggers.rb
20170217151949_add_description_to_triggers.rb
20170222111732_create_gpg_keys.rb
20170222143317_drop_ci_projects.rb
20170222143500_remove_old_project_id_columns.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20170222143603_rename_gl_project_id_to_project_id.rb
20170301125302_add_printing_merge_request_link_enabled_to_project.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20170301195939_rename_ci_commits_to_ci_pipelines.rb
20170301205639_remove_unused_ci_tables_and_columns.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20170305180853_add_auto_cancel_pending_pipelines_to_project.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20170305203726_add_owner_id_foreign_key.rb
20170307125949_add_last_activity_on_to_users.rb
20170309173138_create_protected_tags.rb
20170312114329_add_auto_canceled_by_id_to_pipeline.rb
20170312114529_add_auto_canceled_by_id_foreign_key_to_pipeline.rb
20170313213916_add_index_to_user_ghost.rb
20170314082049_create_system_note_metadata.rb
20170315174634_revert_add_notified_of_own_activity_to_users.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
20170315194013_add_closed_at_to_issues.rb
20170316061730_readd_notified_of_own_activity_to_users.rb
20170316163845_move_uploads_to_system_dir.rb
20170317203554_index_routes_path_for_like.rb
20170320173259_migrate_assignees.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
20170322013926_create_container_repository.rb
20170327091750_add_created_at_index_to_deployments.rb
20170328010804_add_uuid_to_application_settings.rb
20170329095325_add_ref_to_triggers.rb
20170329095907_create_ci_trigger_schedules.rb
20170329124448_add_polling_interval_multiplier_to_application_settings.rb
20170330141723_disable_invalid_service_templates2.rb
20170402231018_remove_index_for_users_current_sign_in_at.rb
20170404163427_add_trigger_id_foreign_key.rb
20170405080720_add_import_jid_to_projects.rb
20170406114958_add_auto_canceled_by_id_to_ci_builds.rb
20170406115029_add_auto_canceled_by_id_foreign_key_to_ci_builds.rb
20170407114956_add_ref_to_ci_trigger_schedule.rb
20170407122426_add_active_to_ci_trigger_schedule.rb
20170407135259_add_foreigh_key_trigger_requests_trigger.rb
20170407140450_add_index_to_next_run_at_and_active.rb
20170410133135_add_version_field_to_markdown_cache.rb
20170413035209_add_preferred_language_to_users.rb
20170418103908_delete_orphan_notification_settings.rb
20170419001229_add_index_to_system_note_metadata.rb
20170421102337_remove_nil_type_services.rb
20170423064036_add_index_on_ci_builds_updated_at.rb
20170424095707_add_index_on_ci_builds_user_id.rb
20170424142900_add_index_to_web_hooks_type.rb
20170425112128_create_pipeline_schedules_table.rb Get rid of a Rails 5 deprecation warning in db/migrate/20170425112128_create_pipeline_schedules_table.rb 2018-01-18 13:41:32 +01:00
20170425112628_remove_foreigh_key_ci_trigger_schedules.rb
20170425114731_add_pipeline_schedule_id_to_pipelines.rb
20170426175636_fill_missing_uuid_on_application_settings.rb
20170426181740_add_index_on_ci_runners_contacted_at.rb
20170427103502_create_web_hook_logs.rb
20170427215854_create_redirect_routes.rb
20170428064307_add_column_delete_error_to_projects.rb
20170502065653_make_auto_cancel_pending_pipelines_on_by_default.rb
20170502091007_markdown_cache_limits_to_mysql.rb
20170502135553_create_index_ci_pipelines_auto_canceled_by_id.rb
20170502140503_create_index_ci_builds_auto_canceled_by_id.rb
20170503004125_add_last_repository_updated_at_to_projects.rb
20170503004425_add_index_to_last_repository_updated_at_on_projects.rb
20170503004426_add_retried_to_ci_build.rb
20170503021915_add_last_edited_at_and_last_edited_by_id_to_issues.rb Ignore existing Migration/Datetime cop offenders 2017-10-10 12:21:44 +01:00
20170503022548_add_last_edited_at_and_last_edited_by_id_to_merge_requests.rb Ignore existing Migration/Datetime cop offenders 2017-10-10 12:21:44 +01:00
20170503023315_add_repository_update_events_to_web_hooks.rb
20170503114228_add_description_to_snippets.rb
20170503140201_reschedule_project_authorizations.rb
20170503140202_turn_nested_groups_into_regular_groups_for_mysql.rb
20170503184421_add_index_to_redirect_routes.rb
20170503185032_index_redirect_routes_path_for_like.rb
20170504102911_add_clientside_sentry_to_application_settings.rb
20170504182103_add_index_project_group_links_group_id.rb
20170506085040_add_index_to_pipeline_pipeline_schedule_id.rb
20170506091344_add_foreign_key_to_pipeline_schedules.rb
20170506185517_add_foreign_key_pipeline_schedules_and_pipelines.rb
20170507205316_add_head_pipeline_id_to_merge_requests.rb
20170508153950_add_not_null_contraints_to_ci_variables.rb
20170508190732_add_foreign_key_to_ci_variables.rb
20170511082759_rename_web_hooks_build_events_to_job_events.rb
20170511083824_rename_services_build_events_to_job_events.rb
20170516153305_migrate_assignee_to_separate_table.rb
20170516183131_add_indices_to_issue_assignees.rb
20170519102115_add_prometheus_settings_to_metrics_settings.rb
20170521184006_add_change_position_to_notes.rb
20170523091700_add_rss_token_to_users.rb
20170523121229_create_conversational_development_index_metrics.rb
20170524125940_add_source_to_ci_pipeline.rb
20170524161101_add_protected_to_ci_variables.rb
20170525130346_create_group_variables_table.rb
20170525130758_add_foreign_key_to_group_variables.rb
20170525132202_create_pipeline_stages.rb
20170525174156_create_feature_tables.rb
20170526185602_add_stage_id_to_ci_builds.rb
20170530130129_project_foreign_keys_with_cascading_deletes.rb
20170531180233_add_authorized_keys_enabled_to_application_settings.rb Backport authorized_keys_enabled defaults to true' 2018-01-08 20:34:20 +00:00
20170531202042_rename_users_ldap_email_to_external_email.rb
20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb
20170602154813_add_help_page_support_url_to_application_settings.rb
20170603200744_add_email_provider_to_users.rb
20170606154216_add_notification_setting_columns.rb
20170608152747_prepare_events_table_for_push_events_migration.rb
20170608152748_create_push_event_payloads_tables.rb
20170608171156_create_merge_request_diff_files.rb
20170613154149_create_gpg_signatures.rb
20170614115405_merge_request_diff_file_limits_to_mysql.rb
20170616133147_create_merge_request_diff_commits.rb
20170619144837_add_index_for_head_pipeline_merge_request.rb
20170620064728_create_ci_pipeline_schedule_variables.rb
20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb
20170622130029_correct_protected_branches_foreign_keys.rb
20170622132212_add_foreign_key_for_merge_request_diffs.rb
20170622135451_rename_duplicated_variable_key.rb
20170622135628_add_environment_scope_to_ci_variables.rb
20170622135728_add_unique_constraint_to_ci_variables.rb
20170622162730_add_ref_fetched_to_merge_request.rb
20170623080805_remove_ci_variables_project_id_index.rb
20170629171610_rename_application_settings_signin_enabled_to_password_authentication_enabled.rb
20170703102400_add_stage_id_foreign_key_to_builds.rb
20170706151212_add_performance_bar_allowed_group_id_to_application_settings.rb
20170707183807_add_group_id_to_milestones.rb
20170707184243_add_group_milestone_id_indexes.rb
20170707184244_remove_wrong_versions_from_schema_versions.rb
20170710083355_clean_stage_id_reference_migration.rb
20170711145320_add_status_to_ci_stages.rb
20170713104829_add_foreign_key_to_merge_requests.rb
20170717074009_move_system_upload_folder.rb
20170717200542_add_trusted_column_to_oauth_applications.rb
20170720111708_add_lock_version_to_ci_stages.rb
20170720122741_create_user_custom_attributes.rb Support custom attributes on users 2017-09-28 16:49:42 +00:00
20170720130522_create_ci_pipeline_variables.rb
20170720130749_add_foreign_key_to_ci_pipeline_variables.rb
20170724214302_add_lower_path_index_to_redirect_routes.rb
20170725145659_add_binary_to_merge_request_diff_files.rb
20170727123534_add_index_on_events_project_id_id.rb
20170731175128_add_percentages_to_conv_dev.rb
20170731183033_add_merge_jid_to_merge_requests.rb
20170802013652_add_storage_fields_to_project.rb
20170803130232_reorganise_issues_indexes_for_faster_sorting.rb
20170807071105_add_hashed_storage_to_settings.rb
20170809133343_add_broadcast_messages_index.rb
20170809134534_add_broadcast_message_not_null_constraints.rb
20170809142252_cleanup_appearances_schema.rb
20170809161910_add_project_export_enabled_to_application_settings.rb
20170815221154_add_discussion_locked_to_issuable.rb
20170816133938_add_access_level_to_ci_runners.rb
20170816133940_add_protected_to_ci_builds.rb
20170816143940_add_protected_to_ci_pipelines.rb
20170816153940_add_index_on_ci_builds_protected.rb
20170816234252_add_theme_id_to_users.rb
20170817123339_add_verification_status_to_gpg_signatures.rb
20170820100558_correct_protected_tags_foreign_keys.rb
20170820120108_create_user_synced_attributes_metadata.rb
20170824101926_add_auto_devops_enabled_to_application_settings.rb
20170824162758_allow_appearances_description_html_null.rb
20170825104051_migrate_issues_to_ghost_user.rb
20170825154015_resolve_outdated_diff_discussions.rb
20170827123848_add_index_on_merge_request_diff_commit_sha.rb Display related merge requests in commit detail page 2018-01-12 20:38:36 +00:00
20170828093725_create_project_auto_dev_ops.rb
20170828135939_migrate_user_external_mail_data.rb Fix PG::UniqueViolation external_email migration 2017-09-25 06:17:48 -04:00
20170830125940_add_failure_reason_to_ci_builds.rb
20170830130119_steal_remaining_event_migration_jobs.rb
20170830131015_swap_event_migration_tables.rb
20170831092813_add_config_source_to_pipelines.rb
20170901071411_add_foreign_key_to_issue_author.rb
20170904092148_add_email_confirmation.rb tweaks for rubocop 2017-09-23 15:23:11 +02:00
20170905112933_add_resolved_by_push_to_notes.rb
20170909090114_add_email_confirmation_index.rb tweaks for rubocop 2017-09-23 15:23:11 +02:00
20170909150936_add_spent_at_to_timelogs.rb added date parameter for time tracking 2017-10-13 11:41:49 +01:00
20170912113435_clean_stages_statuses_migration.rb Make sure all stages are migrated after a cleanup 2017-09-18 13:47:46 +02:00
20170913131410_environments_project_id_not_null.rb
20170914135630_add_index_for_recent_push_events.rb
20170918072948_create_job_artifacts.rb Merge index during table creation 2017-12-05 12:03:35 +01:00
20170918111708_create_project_custom_attributes.rb Support custom attributes on projects 2017-11-06 10:51:46 +01:00
20170918140927_create_group_custom_attributes.rb Support custom attributes on groups 2017-11-06 10:51:50 +01:00
20170918222253_reorganize_deployments_indexes.rb Reorganize indexes for the "deployments" table 2017-09-19 00:39:52 +02:00
20170918223303_add_deployments_index_for_last_deployment.rb Reorganize indexes for the "deployments" table 2017-09-19 00:39:52 +02:00
20170919211300_remove_temporary_ci_builds_index.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
20170921115009_add_project_repository_storage_index.rb Index projects on repository storage 2017-09-21 13:29:25 +01:00
20170924094327_create_gcp_clusters.rb Optimise gcp_clusters table schema 2017-10-05 17:09:00 +02:00
20170927095921_add_ci_builds_index_for_jobscontroller.rb Change index on ci_builds to optimize Jobs Controller 2017-10-03 14:08:05 +01:00
20170927122209_add_partial_index_for_labels_template.rb Add (partial) index on Labels.template 2017-10-03 13:35:55 +01:00
20170927161718_create_gpg_key_subkeys.rb Address some feedback from last code review 2017-10-05 08:26:02 -05:00
20170928100231_add_composite_index_on_merge_requests_merge_commit_sha.rb Add index for merge_requests.merge_commit_sha 2017-09-28 13:31:28 +02:00
20170928124105_create_fork_networks.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
20170928133643_create_fork_network_members.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
20170929080234_add_failure_reason_to_pipelines.rb Add failure_reason column to ci_pipelines 2017-10-05 11:31:56 +02:00
20170929131201_populate_fork_networks.rb Add a migration to populate fork networks 2017-10-07 11:46:23 +02:00
20171004121444_make_sure_fast_forward_option_exists.rb Add a new migration to make sure that fast forward column exists in projects table 2017-10-04 12:42:28 +03:00
20171006090001_create_ci_build_trace_sections.rb Repack migration correctly 2017-10-06 11:05:23 +02:00
20171006090010_add_build_foreign_key_to_ci_build_trace_sections.rb Repack migration correctly 2017-10-06 11:05:23 +02:00
20171006090100_create_ci_build_trace_section_names.rb Repack migration correctly 2017-10-06 11:05:23 +02:00
20171006091000_add_name_foreign_key_to_ci_build_trace_sections.rb Repack migration correctly 2017-10-06 11:05:23 +02:00
20171006220837_add_global_rate_limits_to_application_settings.rb Add throttle application settings 2017-11-17 09:58:18 +01:00
20171012101043_add_circuit_breaker_properties_to_application_settings.rb Add existing circuitbreaker settings to the database 2017-10-17 11:50:31 +02:00
20171012125712_migrate_user_authentication_token_to_personal_access_token.rb Migrate user private tokens to personal access tokens 2017-11-02 11:39:03 +01:00
20171013094327_create_new_clusters_architectures.rb Fix tests. Remove NOT NULL constraint from cluster.user. 2017-11-03 17:22:49 +09:00
20171017145932_add_new_circuitbreaker_settings_to_application_settings.rb Add new circuitbreaker properties to application_settings 2017-10-23 11:39:00 +03:00
20171019141859_fix_dev_timezone_schema.rb Prevent schema.rb reverting from datetime_with_timezone to datetime 2017-12-07 15:07:27 +00:00
20171025110159_add_latest_merge_request_diff_id_to_merge_requests.rb Add a column linking an MR to its diff 2017-11-02 16:09:56 +00:00
20171031100710_create_clusters_kubernetes_helm_apps.rb Fix rubocop offenses 2017-11-02 17:08:56 +01:00
20171101130535_add_gitaly_timeout_properties_to_application_settings.rb Add timeouts for Gitaly calls 2017-11-29 09:12:12 +00:00
20171103000000_set_uploads_path_size_for_mysql.rb Fix uploads.path length for long filenames 2017-12-01 15:26:41 -08:00
20171106101200_create_clusters_kubernetes_ingress_apps.rb Add ingress application 2017-11-06 10:41:27 +01:00
20171106132212_issues_confidential_not_null.rb Clean up schema of the "issues" table 2017-11-09 18:00:30 +01:00
20171106133143_rename_application_settings_password_authentication_enabled_to_password_authentication_enabled_for_web.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
20171106133911_add_password_authentication_enabled_for_git_to_application_settings.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
20171106135924_issues_milestone_id_foreign_key.rb Fix missing WHERE clause in 20171106135924_issues_milestone_id_foreign_key migration 2017-12-18 15:07:16 -08:00
20171106150657_issues_updated_by_id_foreign_key.rb Clean up schema of the "issues" table 2017-11-09 18:00:30 +01:00
20171106151218_issues_moved_to_id_foreign_key.rb Simplify implementation and allow for batch updates in MySQL 2017-12-27 07:11:54 -08:00
20171106155656_turn_issues_due_date_index_to_partial_index.rb Clean up schema of the "issues" table 2017-11-09 18:00:30 +01:00
20171106171453_add_timezone_to_issues_closed_at.rb Clean up schema of the "issues" table 2017-11-09 18:00:30 +01:00
20171114150259_merge_requests_author_id_foreign_key.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
20171114160005_merge_requests_assignee_id_foreign_key.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
20171114160904_merge_requests_updated_by_id_foreign_key.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
20171114161720_merge_requests_merge_user_id_foreign_key.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
20171114161914_merge_requests_source_project_id_foreign_key.rb Fix merge_requests.source_project_id migration 2017-11-20 18:00:47 +01:00
20171114162227_merge_requests_milestone_id_foreign_key.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
20171115164540_populate_merge_requests_latest_merge_request_diff_id_take_two.rb Use latest_merge_request_diff association 2017-11-23 12:14:56 +00:00
20171116135628_add_environment_scope_to_clusters.rb Add environment_scope to cluster table 2017-11-22 16:09:10 +09:00
20171121135738_clean_up_from_merge_request_diffs_and_commits.rb Remove serialised diff and commit columns 2017-11-28 16:13:40 +00:00
20171121144800_ci_pipelines_index_on_project_id_ref_status_id.rb Update composite pipelines index to include "id" 2017-11-21 17:48:52 +01:00
20171122131600_add_new_project_guidelines_to_appearances.rb Clears the current Appearance cache otherwise it breaks since new_project_guidelines_html would be missing 2017-12-12 12:12:42 +01:00
20171123094802_add_circuitbreaker_check_interval_to_application_settings.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
20171124125042_add_default_values_to_merge_request_states.rb Fix defaults for MR states and merge statuses 2017-11-24 14:28:41 +01:00
20171124125748_populate_missing_merge_request_statuses.rb Fix defaults for MR states and merge statuses 2017-11-24 14:28:41 +01:00
20171124132536_make_merge_request_statuses_not_null.rb Fix defaults for MR states and merge statuses 2017-11-24 14:28:41 +01:00
20171127151038_add_events_related_columns_to_merge_request_metrics.rb Cache merged and closed events data in merge_request_metrics table 2018-01-02 17:45:25 -02:00
20171204204233_add_permanent_to_redirect_route.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
20171206221519_add_permanent_index_to_redirect_route.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
20171207185153_add_merge_request_state_index.rb Last push widget will show banner for new pushes to previously merged branch 2018-01-15 16:45:56 -06:00
20171211145425_add_can_push_to_deploy_keys_projects.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
20171212203433_create_clusters_applications_prometheus.rb Extend Cluster Applications to allow installation of Prometheus 2017-12-22 17:23:43 +00:00
20171215113714_populate_can_push_from_deploy_keys_projects.rb Applied fix 2018-01-17 21:42:18 +01:00
20171216111734_clean_up_for_members.rb Fix user membership destroy relation 2018-01-02 15:06:44 +00:00
20171216112339_add_foreign_key_for_members.rb Fix user membership destroy relation 2018-01-02 15:06:44 +00:00
20171220191323_add_index_on_namespaces_lower_name.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
20171222183504_add_jobs_cache_index_to_project.rb Fix jobs_cache_index migration class name 2018-01-05 00:37:00 +01:00
20171229225929_change_user_project_limit_not_null_and_remove_default.rb User#projects_limit remove DB default and added NOT NULL constraint 2017-12-30 14:33:49 -06:00
20171230123729_add_rebase_commit_sha_to_merge_requests_ce.rb Fix rebase commit SHA migration name 2018-01-05 18:10:28 +00:00
20180105212544_add_commits_count_to_merge_request_diff.rb Denormalize commits count for merge request diffs 2018-01-10 20:40:02 +01:00
20180113220114_rework_redirect_routes_indexes.rb Rework indexes on redirect_routes to be more effective and enforce a case insensitive unique path 2018-01-18 21:28:28 +00:00
20180115201419_add_index_updated_at_to_issues.rb Use limit for search count queries 2018-01-23 22:33:42 +01:00
limits_to_mysql.rb Remove serialised diff and commit columns 2017-11-28 16:13:40 +00:00
markdown_cache_limits_to_mysql.rb
merge_request_diff_file_limits_to_mysql.rb