From 7cd0863487498a84a87b33a58c096538497f397d Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 2 Sep 2025 15:13:23 +0530 Subject: [PATCH] feat: update model --- db/migrate/20250825070005_create_account_saml_settings.rb | 1 + db/schema.rb | 1 + enterprise/app/models/account_saml_settings.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/db/migrate/20250825070005_create_account_saml_settings.rb b/db/migrate/20250825070005_create_account_saml_settings.rb index 03ec4c5ef..7a0937fbf 100644 --- a/db/migrate/20250825070005_create_account_saml_settings.rb +++ b/db/migrate/20250825070005_create_account_saml_settings.rb @@ -5,6 +5,7 @@ class CreateAccountSamlSettings < ActiveRecord::Migration[7.1] t.string :sso_url t.text :certificate t.string :sp_entity_id + t.string :idp_entity_id t.json :role_mappings, default: {} t.timestamps diff --git a/db/schema.rb b/db/schema.rb index 298558e1f..e320cf2b6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -33,6 +33,7 @@ ActiveRecord::Schema[7.1].define(version: 2025_08_25_070005) do t.string "sso_url" t.text "certificate" t.string "sp_entity_id" + t.string "idp_entity_id" t.json "role_mappings", default: {} t.datetime "created_at", null: false t.datetime "updated_at", null: false diff --git a/enterprise/app/models/account_saml_settings.rb b/enterprise/app/models/account_saml_settings.rb index 6cc8314be..3f1842acc 100644 --- a/enterprise/app/models/account_saml_settings.rb +++ b/enterprise/app/models/account_saml_settings.rb @@ -9,6 +9,7 @@ # created_at :datetime not null # updated_at :datetime not null # account_id :bigint not null +# idp_entity_id :string # sp_entity_id :string # # Indexes