add data column to france_connect_infromations

This commit is contained in:
simon lehericey 2021-04-12 11:29:31 +02:00
parent 89f1cff796
commit 76e261691a
3 changed files with 8 additions and 1 deletions

View file

@ -5,6 +5,7 @@
# id :integer not null, primary key
# birthdate :date
# birthplace :string
# data :jsonb
# email_france_connect :string
# family_name :string
# gender :string

View file

@ -0,0 +1,5 @@
class AddDataColumnToFranceConnectInformations < ActiveRecord::Migration[6.1]
def change
add_column :france_connect_informations, :data, :jsonb
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_04_09_130604) do
ActiveRecord::Schema.define(version: 2021_04_12_092710) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -410,6 +410,7 @@ ActiveRecord::Schema.define(version: 2021_04_09_130604) do
t.string "email_france_connect"
t.datetime "created_at"
t.datetime "updated_at"
t.jsonb "data"
t.index ["user_id"], name: "index_france_connect_informations_on_user_id"
end