|
@@ -138,7 +138,10 @@ class User(DeclarativeBase):
|
138
|
138
|
is_active = Column(Boolean, default=True, nullable=False)
|
139
|
139
|
is_deleted = Column(Boolean, default=False, nullable=False, server_default=sqlalchemy.sql.expression.literal(False))
|
140
|
140
|
imported_from = Column(Unicode(32), nullable=True)
|
|
141
|
+ # timezone as tz database format
|
141
|
142
|
timezone = Column(Unicode(255), nullable=False, server_default='')
|
|
143
|
+ # lang in iso639 format
|
|
144
|
+ lang = Column(Unicode(3), nullable=True, default=None)
|
142
|
145
|
# TODO - G.M - 04-04-2018 - [auth] Check if this is already needed
|
143
|
146
|
# with new auth system
|
144
|
147
|
auth_token = Column(Unicode(255))
|