debian-mirror-gitlab/db/post_migrate/20200617002030_validate_file_store_not_null_constraint_on_ci_job_artifacts.rb

18 lines
330 B
Ruby
Raw Normal View History

2019-07-07 11:18:12 +05:30
# frozen_string_literal: true
2020-07-28 23:09:34 +05:30
class ValidateFileStoreNotNullConstraintOnCiJobArtifacts < ActiveRecord::Migration[6.0]
2019-07-07 11:18:12 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
2020-07-28 23:09:34 +05:30
validate_check_constraint(:ci_job_artifacts, :check_27f0f6dbab)
2019-07-07 11:18:12 +05:30
end
def down
# no-op
end
end