ProjectMirrorData project_id foreign key inconsistencies
Relevant issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/5904
- [EE and CE] In MySQL project_id has a
NOT NULLconstraint while in Postgres it allows a null value - [CE] The foreign key does not have a unique constraint while in EE it does.
Edited by Tiago Botelho