From 8d039ecaab16c9a810cfef0c6d29ffb82f055dd4 Mon Sep 17 00:00:00 2001 From: Malick Diarra Date: Wed, 28 Aug 2024 14:24:37 -0400 Subject: [PATCH] changelog: Internal, Authentication, add aaguid to webauthn configuration --- .../20240828182041_add_aaguid_to_webauthn_configuration.rb | 5 +++++ db/schema.rb | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 db/primary_migrate/20240828182041_add_aaguid_to_webauthn_configuration.rb diff --git a/db/primary_migrate/20240828182041_add_aaguid_to_webauthn_configuration.rb b/db/primary_migrate/20240828182041_add_aaguid_to_webauthn_configuration.rb new file mode 100644 index 00000000000..bed1e8ca51c --- /dev/null +++ b/db/primary_migrate/20240828182041_add_aaguid_to_webauthn_configuration.rb @@ -0,0 +1,5 @@ +class AddAaguidToWebauthnConfiguration < ActiveRecord::Migration[7.1] + def change + add_column :webauthn_configurations, :aaguid, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 565747b4d73..385018287e3 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_08_22_122355) do +ActiveRecord::Schema[7.1].define(version: 2024_08_28_182041) do # These are extensions that must be enabled in order to support this database enable_extension "citext" enable_extension "pg_stat_statements" @@ -656,6 +656,7 @@ t.boolean "platform_authenticator" t.string "transports", array: true t.jsonb "authenticator_data_flags" + t.string "aaguid" t.index ["user_id"], name: "index_webauthn_configurations_on_user_id" end