Add constraints that prevent ci_builds from being associated with NULL pipeline/project
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
It is currently possible to set ci_builds.project_id and ci_builds.commit_id to NULL, what results in inconsistent data.
Edited by 🤖 GitLab Bot 🤖