18 lines
319 B
Ruby
18 lines
319 B
Ruby
|
# 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
|