6d92a3d4e2
Token column are no longer used as token values are stored digested in token_digest.
17 lines
319 B
Ruby
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
|