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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20230703121859_add_relay_state_allowlist_saml_providers.rb')
-rw-r--r--db/migrate/20230703121859_add_relay_state_allowlist_saml_providers.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20230703121859_add_relay_state_allowlist_saml_providers.rb b/db/migrate/20230703121859_add_relay_state_allowlist_saml_providers.rb
new file mode 100644
index 00000000000..b05059d1d61
--- /dev/null
+++ b/db/migrate/20230703121859_add_relay_state_allowlist_saml_providers.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class AddRelayStateAllowlistSamlProviders < Gitlab::Database::Migration[2.1]
+ def change
+ add_column :saml_providers, :relay_state_domain_allowlist,
+ :text,
+ array: true,
+ default: [],
+ null: false
+ end
+end