gitlab-org--gitlab-foss/db/migrate/20190225160300_steal_encrypt_runners_tokens.rb

20 lines
345 B
Ruby
Raw Normal View History

# 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