debian-mirror-gitlab/db/post_migrate/20200617001637_validate_file_store_not_null_constraint_on_lfs_objects.rb

18 lines
321 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 ValidateFileStoreNotNullConstraintOnLfsObjects < 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(:lfs_objects, :check_eecfc5717d)
2019-07-07 11:18:12 +05:30
end
def down
# no-op
end
end