mirror of
https://github.com/simple-login/app.git
synced 2025-02-26 00:34:11 +08:00
add User.can_use_pgp column
This commit is contained in:
parent
486df7fefc
commit
76e30dfbe8
1 changed files with 5 additions and 0 deletions
|
@ -143,6 +143,11 @@ class User(db.Model, ModelMixin, UserMixin):
|
|||
db.ForeignKey("mailbox.id"), nullable=True, default=None
|
||||
)
|
||||
|
||||
# feature flag
|
||||
can_use_pgp = db.Column(
|
||||
db.Boolean, default=False, nullable=False, server_default="0"
|
||||
)
|
||||
|
||||
profile_picture = db.relationship(File)
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in a new issue