Migration for FranceConnect Particulier
This commit is contained in:
parent
aee0d928ca
commit
86df167cf2
3 changed files with 19 additions and 0 deletions
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
class ChangeTypeOfLogedInWithFranceConnectToUser < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :users, :loged_in_with_france_connect, :string
|
||||
end
|
||||
end
|
5
db/migrate/20151223101322_add_openid_to_user.rb
Normal file
5
db/migrate/20151223101322_add_openid_to_user.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddOpenidToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :france_connect_particulier_id, :string
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue