[fix #6084] add db constraints to france_connect_informations table

This commit is contained in:
simon lehericey 2021-04-12 15:05:05 +02:00
parent b7faed96a3
commit 4dc314d24b
3 changed files with 16 additions and 7 deletions

View file

@ -10,10 +10,10 @@
# family_name :string
# gender :string
# given_name :string
# created_at :datetime
# updated_at :datetime
# created_at :datetime not null
# updated_at :datetime not null
# france_connect_particulier_id :string
# user_id :integer
# user_id :integer not null
#
class FranceConnectInformation < ApplicationRecord
belongs_to :user, optional: true