Migration for FranceConnect Particulier

This commit is contained in:
Xavier J 2015-12-24 10:02:30 +01:00
parent aee0d928ca
commit 86df167cf2
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,9 @@
class AddFranceConnectParticulierAttributsToUser < ActiveRecord::Migration
def change
add_column :users, :gender, :string
add_column :users, :given_name, :string
add_column :users, :family_name, :string
add_column :users, :birthdate, :date
add_column :users, :birthplace, :string
end
end

View file

@ -0,0 +1,5 @@
class ChangeTypeOfLogedInWithFranceConnectToUser < ActiveRecord::Migration
def change
change_column :users, :loged_in_with_france_connect, :string
end
end

View file

@ -0,0 +1,5 @@
class AddOpenidToUser < ActiveRecord::Migration
def change
add_column :users, :france_connect_particulier_id, :string
end
end