diff --git a/db/migrate/20240408152120_add_service_levels_and_credential_service_providers_to_client_configs.rb b/db/migrate/20240408152120_add_service_levels_and_credential_service_providers_to_client_configs.rb index f8ba96d2829..fc2ae97d190 100644 --- a/db/migrate/20240408152120_add_service_levels_and_credential_service_providers_to_client_configs.rb +++ b/db/migrate/20240408152120_add_service_levels_and_credential_service_providers_to_client_configs.rb @@ -1,6 +1,6 @@ class AddServiceLevelsAndCredentialServiceProvidersToClientConfigs < ActiveRecord::Migration[7.1] def change - add_column :client_configs, :credential_service_providers, :string, array: true, default: %w[logingov idme dslogon mhv] add_column :client_configs, :service_levels, :string, array: true, default: %w[ial1 ial2 loa1 loa3 min] + add_column :client_configs, :credential_service_providers, :string, array: true, default: %w[logingov idme dslogon mhv] end end diff --git a/db/schema.rb b/db/schema.rb index dca3bef8959..76a57958730 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -339,8 +339,8 @@ t.text "terms_of_use_url" t.text "enforced_terms" t.boolean "shared_sessions", default: false, null: false - t.string "credential_service_providers", default: ["logingov", "idme", "dslogon", "mhv"], array: true t.string "service_levels", default: ["ial1", "ial2", "loa1", "loa3", "min"], array: true + t.string "credential_service_providers", default: ["logingov", "idme", "dslogon", "mhv"], array: true t.index ["client_id"], name: "index_client_configs_on_client_id", unique: true end