gitlab-org--gitlab-foss/db/post_migrate
Kamil Trzcinski b5918f222b Fixes broken MySQL migration for retried
> Mysql2::Error: Table 'ci_builds' is specified twice, both as a target for 'UPDATE' and as a separate source for data: UPDATE `ci_builds` SET `retried` = ((SELECT MAX(ci_builds2.id)

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/32647
2017-05-22 10:58:53 +02:00
..
.gitkeep
20160824121037_change_personal_access_tokens_default_back_to_empty_array.rb Make ChangePersonalAccessTokensDefaultBackToEmptyArray a "post" migration. 2016-12-16 16:29:33 +05:30
20161011222551_remove_inactive_jira_service_properties.rb Exclude migrations from Style/MutableConstant 2017-02-23 09:32:42 -06:00
20161109150329_fix_project_records_with_invalid_visibility.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
20161128170531_drop_user_activities_table.rb Remove unused user activities code 2017-04-14 15:20:55 +02:00
20161221140236_remove_unneeded_services.rb Disable timeout while removing services 2016-12-27 11:10:15 +01:00
20161221153951_rename_reserved_project_names.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
20170104150317_requeue_pending_delete_projects.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
20170106142508_fill_authorized_projects.rb Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
20170106172224_remove_project_authorizations_id_column.rb Remove the project_authorizations.id column 2017-01-08 13:56:50 +01:00
20170131214021_reset_users_authorized_projects_populated.rb Trigger refreshing of permissions in a migration 2017-03-13 13:28:26 +01:00
20170206040400_remove_inactive_default_email_services.rb Use Gitlab::Database.with_connection_pool from !9192 2017-02-14 20:29:36 +08:00
20170206101007_remove_trackable_columns_from_timelogs.rb Add a test which would rollback db and migrate again 2017-03-14 02:12:55 +08:00
20170206101030_validate_foreign_keys_on_timelogs.rb Refactor migration to not require downtime 2017-02-07 10:42:42 -05:00
20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb Implement OpenID Connect identity provider 2017-03-07 14:54:35 +01:00
20170211073944_disable_invalid_service_templates.rb Disable the inheritance column of services in DisableInvalidServiceTemplates migration 2017-03-01 14:06:50 +01:00
20170214111112_delete_deprecated_gitlab_ci_service.rb Remove deprecated CI service 2017-02-14 15:15:41 +01:00
20170215200045_remove_theme_id_from_users.rb Remove comments in migration 2017-02-16 08:25:09 -06:00
20170301205640_migrate_build_events_to_pipeline_events.rb removes redundant code from database.rb 2017-04-11 20:20:19 +01:00
20170306170512_migrate_legacy_manual_actions.rb Fix statements timeout in manual actions migration 2017-03-16 09:57:53 +01:00
20170309171644_reset_relative_position_for_issue.rb [Issue Sorting] Improve migration 2017-03-14 14:11:59 +02:00
20170313133418_rename_more_reserved_project_names.rb Improve rename projects migration 2017-03-20 18:25:03 +02:00
20170324160416_migrate_user_activities_to_users_last_activity_on.rb Add a post-deploy migration to migrate from former Redis activity to DB 2017-04-14 15:20:55 +02:00
20170404170532_remove_notes_original_discussion_id.rb Remove and ignore notes.original_discussion_id column 2017-04-05 17:44:14 +01:00
20170406142253_migrate_user_project_view.rb Change project view default for existing users and anonymous visitors to files+readme 2017-04-10 21:28:41 +03:00
20170408033905_remove_old_cache_directories.rb Periodically clean up temporary upload files to recover storage space 2017-04-10 08:48:44 +11:00
20170412174900_rename_reserved_dynamic_paths.rb Reject EE reserved namespace paths in CE as well 2017-05-04 18:11:31 +02:00
20170425121605_migrate_trigger_schedules_to_pipeline_schedules.rb Fix data migration from trigger schedules 2017-05-17 22:47:47 +02:00
20170425130047_drop_ci_trigger_schedules_table.rb Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb Disable transaction for updating the table 2017-05-15 16:22:29 +08:00
20170502101023_cleanup_namespaceless_pending_delete_projects.rb Fix MySQL build failure 2017-05-10 20:33:51 -05:00
20170503004427_upate_retried_for_ci_build.rb Fixes broken MySQL migration for retried 2017-05-22 10:58:53 +02:00
20170508170547_add_head_pipeline_for_each_merge_request.rb Small code improvements and add migration spec 2017-05-08 18:43:53 -03:00
20170510101043_add_foreign_key_on_pipeline_schedule_owner.rb Add foreign key on pipeline_schedules.owner_id 2017-05-15 10:01:29 +02:00
20170511100900_cleanup_rename_web_hooks_build_events_to_job_events.rb Merge branch 'bvl-rename-build-events-to-job-events' into 'master' 2017-05-16 14:12:19 +02:00
20170511101000_cleanup_rename_services_build_events_to_job_events.rb Merge branch 'bvl-rename-build-events-to-job-events' into 'master' 2017-05-16 14:12:19 +02:00
20170516165238_cleanup_trigger_for_issues.rb Improve migration for Multipple issue assignee feature 2017-05-16 23:51:50 +03:00
20170516181025_add_constraints_to_issue_assignees_table.rb Adding NULL:false constraint with change_column_null instead of change_column 2017-05-18 11:21:01 +03:00
20170518200835_rename_users_with_renamed_namespace.rb Rename users on mysql 2017-05-19 21:21:32 +02:00
20170518231126_fix_wrongly_renamed_routes.rb Fix incorrectly renamed routes 2017-05-19 12:25:23 +02:00