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

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

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

  # This cleans after `EncryptRunnersTokens`

  DOWNTIME = false

  disable_ddl_transaction!

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

  def down
    # no-op
  end
end