From ee78a052bbbe789a3ced7e9454638be9d8d50804 Mon Sep 17 00:00:00 2001 From: Alex Bradley Date: Thu, 15 Feb 2024 16:25:32 -0500 Subject: [PATCH 1/2] add vtr and acr_values to identity table --- .../20240215212318_add_vtr_and_acrvalues_to_identities.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/primary_migrate/20240215212318_add_vtr_and_acrvalues_to_identities.rb diff --git a/db/primary_migrate/20240215212318_add_vtr_and_acrvalues_to_identities.rb b/db/primary_migrate/20240215212318_add_vtr_and_acrvalues_to_identities.rb new file mode 100644 index 00000000000..3cdf60f9ec1 --- /dev/null +++ b/db/primary_migrate/20240215212318_add_vtr_and_acrvalues_to_identities.rb @@ -0,0 +1,6 @@ +class AddVtrAndAcrvaluesToIdentities < ActiveRecord::Migration[7.1] + def change + add_column :identities, :vtr, :string + add_column :identities, :acr_values, :string + end +end From 73c7ede049cd76e0909c41e6fb0f3edaa4a10087 Mon Sep 17 00:00:00 2001 From: Alex Bradley Date: Thu, 15 Feb 2024 16:28:52 -0500 Subject: [PATCH 2/2] update db schema [skip changelog] --- db/schema.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 8cdcaf3f109..28c35df6926 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_01_10_142935) do +ActiveRecord::Schema[7.1].define(version: 2024_02_15_212318) do # These are extensions that must be enabled in order to support this database enable_extension "citext" enable_extension "pg_stat_statements" @@ -288,6 +288,8 @@ t.datetime "deleted_at", precision: nil t.integer "aal" t.text "requested_aal_value" + t.string "vtr" + t.string "acr_values" t.index ["access_token"], name: "index_identities_on_access_token", unique: true t.index ["session_uuid"], name: "index_identities_on_session_uuid", unique: true t.index ["user_id", "service_provider"], name: "index_identities_on_user_id_and_service_provider", unique: true