diff --git a/db/migrate/20240916114050_add_amr_column_to_agent_connect_informations_table.rb b/db/migrate/20240916114050_add_amr_column_to_agent_connect_informations_table.rb new file mode 100644 index 000000000..614a8b940 --- /dev/null +++ b/db/migrate/20240916114050_add_amr_column_to_agent_connect_informations_table.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddAmrColumnToAgentConnectInformationsTable < ActiveRecord::Migration[7.0] + def change + add_column :agent_connect_informations, :amr, :string, array: true, default: [] + end +end diff --git a/db/schema.rb b/db/schema.rb index 7c9e1f2a5..7aaff86f0 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.0].define(version: 2024_09_13_150318) do +ActiveRecord::Schema[7.0].define(version: 2024_09_16_114050) do # These are extensions that must be enabled in order to support this database enable_extension "pg_buffercache" enable_extension "pg_stat_statements" @@ -95,6 +95,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_09_13_150318) do end create_table "agent_connect_informations", force: :cascade do |t| + t.string "amr", default: [], array: true t.string "belonging_population" t.datetime "created_at", null: false t.string "email", null: false