summaryrefslogtreecommitdiff
path: root/db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb
blob: 046a628b8ae1c4ba26d8e3218bea0c3daaaf6f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddVerificationTokenToExternalAeDestinations < Gitlab::Database::Migration[1.0]
  def up
    # rubocop:disable Migration/AddLimitToTextColumns
    add_column :audit_events_external_audit_event_destinations, :verification_token, :text
    # rubocop:enable Migration/AddLimitToTextColumns
  end

  def down
    remove_column :audit_events_external_audit_event_destinations, :verification_token
  end
end