Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20231017055853_remove_relay_state_domain_allowlist_application_settings.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4719ccf9c631f2f280e5aee495fa0e2cff6b76a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class RemoveRelayStateDomainAllowlistApplicationSettings < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def up
    remove_column :application_settings, :relay_state_domain_allowlist
  end

  def down
    add_column :application_settings, :relay_state_domain_allowlist,
      :text,
      array: true,
      default: [],
      null: false
  end
end