summaryrefslogtreecommitdiff
path: root/db/post_migrate/20200915044225_schedule_migration_to_hashed_storage.rb
blob: 553d060dc58e567f1077895bc6e56f61b1958790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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