Skip to content

Drop NOT NULL constraint on p_ci_build_sources source column

What does this MR do and why?

Drops the NOT NULL constraint on the p_ci_build_sources source column.

Before adding the pipeline_source column it was assumed that every entry in this table would have source present. Since we are now inserting a value for pipeline_source for each job, source needs to be NULL-able.

Also removes source presence validation for Ci::BuildSource and adds enum entries that will be needed for follow-up MRs.

Related to #481907

Edited by Aaron Huntsman

Merge request reports

Loading