increase size on ForwardEmail columns

This commit is contained in:
Son NK 2020-03-08 11:33:54 +01:00
parent 1acbf173ea
commit 08e6f89585
1 changed files with 3 additions and 3 deletions

View File

@ -692,17 +692,17 @@ class ForwardEmail(db.Model, ModelMixin):
)
# used to be envelope header, should be mail header from instead
website_email = db.Column(db.String(256), nullable=False)
website_email = db.Column(db.String(512), nullable=False)
# the email from header, e.g. AB CD <ab@cd.com>
# nullable as this field is added after website_email
website_from = db.Column(db.String(256), nullable=True)
website_from = db.Column(db.String(1024), nullable=True)
# when user clicks on "reply", they will reply to this address.
# This address allows to hide user personal email
# this reply email is created every time a website sends an email to user
# it has the prefix "reply+" to distinguish with other email
reply_email = db.Column(db.String(256), nullable=False)
reply_email = db.Column(db.String(512), nullable=False)
gen_email = db.relationship(GenEmail, backref="forward_emails")