Skip to content

Fix nil state_id column when importing projects from GitHub

state_id column is being set to nil when importing projects from GitHub.

We should fix the import and run migrations to sync state_id values with state column before moving forward with https://gitlab.com/gitlab-org/gitlab-ce/issues/61301 which removes it.

The complete plan to move state column to state_id can be found here: https://gitlab.com/gitlab-org/gitlab-ce/issues/51789

Edited by Felipe Cardozo