add amr column

This commit is contained in:
simon lehericey 2024-09-16 13:42:29 +02:00
parent 363f70a3fc
commit 47852bfafb
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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