Improve migration for Multipple issue assignee feature
What does this MR do?
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Merge request reports
Activity
added 1 commit
- df8c545c - Improve migration for Multipple issue assignee feature
added 1 commit
- 9f085a9c - Improve migration for Multipple issue assignee feature
added 1 commit
- f2906605 - Improve migration for Multipple issue assignee feature
added 1 commit
- c671b82f - Improve the migration for Multipple issue assignee feature
mentioned in issue gitlab-com/infrastructure#1803 (closed)
- Resolved by Valery Sizov
- Resolved by Valery Sizov
@yorickpeterse We're creating table with
create table AS
which basically does not let us to adjust the schemaadded 1 commit
- 7ec034b2 - Improve migration for Multipple issue assignee feature
added 17 commits
-
7ec034b2...43befaf2 - 16 commits from branch
master
- 1010a49b - Improve migration for Multipple issue assignee feature
-
7ec034b2...43befaf2 - 16 commits from branch
added 1 commit
- 95fba9c4 - Improve migration for Multipple issue assignee feature
added 1 commit
- 0090f750 - Improve migration for Multipple issue assignee feature
mentioned in merge request !11406 (closed)
- Resolved by Valery Sizov
- Resolved by Valery Sizov
- Resolved by Valery Sizov
- Resolved by Valery Sizov
@vsizov I can't quite make it out based on the migration names, but are we 100% the order is still correct with some of them having been renamed? Other than that I have some picky comments, but nothing too serious.
added ~874211 ~149423 database labels
changed milestone to %9.2
@selfup @timothyandrew Just in case you're not aware of this (I think the two of you are), but once this MR is merged this should be picked into the RC and released.
@yorickpeterse I have not renamed any migration, this is how the diff is shown.
Edited by Valery Sizovmentioned in issue #32372 (closed)
added 1 commit
- f89faf14 - Improve migration for Multipple issue assignee feature
marked the checklist item Changelog entry added, if necessary as completed
marked the checklist item Documentation created/updated as completed
marked the checklist item Conform by the merge request performance guides as completed
marked the checklist item Conform by the style guides as completed
marked the checklist item Squashed related commits together as completed
Rollback for MySQL is broken
Mysql2::Error: Error on rename of './gitlabhq_development/#sql-ac69_26' to './gitlabhq_development/issue_assignees' (errno: 150 - Foreign key constraint is incorrectly formed): DROP INDEX `index_issue_assignees_on_issue_id_and_user_id` ON `issue_assignees`/Users/valery/.rvm/gems/ruby-2.3.3/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `query'
Edited by Valery Sizovadded 1 commit
- 793b9a5c - Improve migration for Multipple issue assignee feature
enabled an automatic merge when the pipeline for 793b9a5c succeeds
mentioned in commit c7a7fc17
mentioned in commit 5e69a4b9
Picked into
9-2-stable
, will go into9.2.0-rc3
.This was picked a while ago. Sorry for the late update :P
Edited by username-removed-642931