Skip to content

Commit

Permalink
Perform database changes review to support integration of #4107
Browse files Browse the repository at this point in the history
Changes:
- Renamed user.fiscal_code in user.idp_id to abstract the variable name in international scope
  • Loading branch information
evilaliv3 committed Nov 23, 2024
1 parent fd3c8f8 commit dc20adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/globaleaks/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ class _User(Model):
two_factor_secret = Column(UnicodeText(32), default='', nullable=False)
reminder_date = Column(DateTime, default=datetime_null, nullable=False)
status = Column(Enum(EnumUserStatus), default='active', nullable=False)
fiscal_code = Column(UnicodeText(18), default='', nullable=False)
idp_id = Column(UnicodeText(18), default='', nullable=False)

# BEGIN of PGP key fields
pgp_key_fingerprint = Column(UnicodeText, default='', nullable=False)
Expand All @@ -1106,7 +1106,7 @@ class _User(Model):
'name', 'public_name',
'language', 'change_email_address',
'salt',
'two_factor_secret', 'status', 'fiscal_code']
'two_factor_secret', 'status', 'idp_id']

localized_keys = ['description']

Expand Down

0 comments on commit dc20adb

Please sign in to comment.