Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20181101091005_steal_digest_column.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 58ea710c18a03b6d35ddda282acd7c099b84f354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class StealDigestColumn < ActiveRecord::Migration[5.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    Gitlab::BackgroundMigration.steal('DigestColumn')
  end

  def down
    # raise ActiveRecord::IrreversibleMigration
  end
end