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
https://gitlab.com/gitlab-org/gitlab-ce/issues/51789
First release:-
Add a
state_id
column to issues and merge requests tables -
Schedule a background migration that will populate
state_id
column with new values
#28457 (closed)
Second release:-
Adds new indexes to
state_id
column -
Add the code which uses the new
state_id
column
Third release: This issue
- Markes
state
column as ignored for issues and merge requests
#36370 (closed)
Fourth release:- Removes
state
column from issues and merge_requests with database migration.
Edited by Felipe Cardozo