Remove "unknown" from Ci::JobArtifact locked enum
After the works and service are gone #439508 and the migration has guaranteed that no remaining artifacts have an unknown locked status #439509, we should remove the unknown
value from the JobArtifact#locked
enum, and change the column default from 2
to 0
or 1
.
There's a little extra work introduced by the fact that we now use the lockable
module for both JobArtifact
and PipelineArtifact
. We have to make sure that there are no locked: unknown
records in ci_pipeline_artifacts
as well, before we remove the enum value.