summaryrefslogtreecommitdiff
path: root/db/post_migrate/20200617002030_validate_file_store_not_null_constraint_on_ci_job_artifacts.rb
blob: 8e766a508b7f3e06ec9f19c317a2313cfe9f2b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class ValidateFileStoreNotNullConstraintOnCiJobArtifacts < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    validate_check_constraint(:ci_job_artifacts, :check_27f0f6dbab)
  end

  def down
    # no-op
  end
end