From fbb5c0bf93631768f0d1f5d765558d1ae699094f Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 8 Mar 2020 11:55:39 +0100 Subject: [PATCH] add pgp_public_key, pgp_finger_print to Mailbox model --- app/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models.py b/app/models.py index 849ee6a3..a728a242 100644 --- a/app/models.py +++ b/app/models.py @@ -916,6 +916,9 @@ class Mailbox(db.Model, ModelMixin): # used when user wants to update mailbox email 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): return GenEmail.filter_by(mailbox_id=self.id).count()