Change state to integer for issuables, remove state column - Release 3 of 3
This is the third step of the plan to deprecate state column for issues and merge requests.
We should remove the state column from issues and merge_requests table using a migration.
Schedule
First release: https://gitlab.com/gitlab-org/gitlab-ce/issues/51789
-
Add a
state_idcolumn to issues and merge requests tables -
Schedule a background migration that will populate
state_idcolumn with new values
Second release: #28457 (closed)
-
Adds new indexes to
state_idcolumn -
Add the code which uses the new
state_idcolumn
Third release: This issue
- Markes
statecolumn as ignored for issues and merge requests
Fourth release: #36370 (closed)
- Removes
statecolumn from issues and merge_requests with database migration.
Edited by Felipe Cardozo