add pgp_public_key, pgp_finger_print to Mailbox model
This commit is contained in:
parent
f905fa626c
commit
fbb5c0bf93
|
@ -916,6 +916,9 @@ class Mailbox(db.Model, ModelMixin):
|
||||||
# used when user wants to update mailbox email
|
# used when user wants to update mailbox email
|
||||||
new_email = db.Column(db.String(256), unique=True)
|
new_email = db.Column(db.String(256), unique=True)
|
||||||
|
|
||||||
|
pgp_public_key = db.Column(db.Text, nullable=True)
|
||||||
|
pgp_finger_print = db.Column(db.String(512), nullable=True)
|
||||||
|
|
||||||
def nb_alias(self):
|
def nb_alias(self):
|
||||||
return GenEmail.filter_by(mailbox_id=self.id).count()
|
return GenEmail.filter_by(mailbox_id=self.id).count()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue