debian-mirror-gitlab/db/post_migrate/20200617001637_validate_file_store_not_null_constraint_on_lfs_objects.rb
2020-08-09 17:44:08 +05:30

18 lines
321 B
Ruby

# frozen_string_literal: true
class ValidateFileStoreNotNullConstraintOnLfsObjects < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
validate_check_constraint(:lfs_objects, :check_eecfc5717d)
end
def down
# no-op
end
end