debian-mirror-gitlab/db/post_migrate/20200915044225_schedule_migration_to_hashed_storage.rb
2020-11-24 15:15:51 +05:30

18 lines
311 B
Ruby

# frozen_string_literal: true
class ScheduleMigrationToHashedStorage < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
MIGRATION = 'MigrateToHashedStorage'
disable_ddl_transaction!
def up
migrate_async(MIGRATION)
end
def down
# NO-OP
end
end