I tried to update our forum via the web UI (
tests-passed branch) and Activerecord failed due to a DB migration error. There wasn’t a way to rollback, the button didn’t show up.
The error in the Rails console was:
The migration was failing because of a foreign key violation:
We had to remove the offending row from
5 | 6 | da39a3ee5e6b4b0d3255bfef95601890afd80709 | | 2018-10-18 10:03:26.069247 | 2018-10-18 10:03:26.069247
Our issue in GitLab https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6844.