gitlab-org--gitlab-foss/db/post_migrate/20181101091005_steal_digest_column.rb
Imre Farkas 6d92a3d4e2 Remove undigested token column from personal_access_tokens table
Token column are no longer used as token values are stored digested in
token_digest.
2019-02-20 11:39:37 +00:00

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