summaryrefslogtreecommitdiff
path: root/db/migrate/20230412185920_validate_ci_job_artifacts_file_final_path.rb
blob: 464ac1eec72cbc14721d8dc264decfc7ff79c5df (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class ValidateCiJobArtifactsFileFinalPath < Gitlab::Database::Migration[2.1]
  def up
    constraint_name = text_limit_name(:ci_job_artifacts, :file_final_path)
    validate_check_constraint :ci_job_artifacts, constraint_name
  end

  # No-op
  def down; end
end