debian-mirror-gitlab/db/post_migrate/20181101091005_steal_digest_column.rb
2019-07-07 11:18:12 +05:30

17 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