From c40e255f3b513fb7846d4a90e5057c69c4b90c72 Mon Sep 17 00:00:00 2001 From: Stefan Auditor Date: Thu, 12 Apr 2018 22:21:28 +0200 Subject: [PATCH] Reset relay columns to string --- core/admin/mailu/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index e99d624d..718134e6 100644 --- a/core/admin/mailu/models.py +++ b/core/admin/mailu/models.py @@ -140,8 +140,8 @@ class Relay(Base): __tablename__ = "relay" - name = db.Column(Idna, primary_key=True, nullable=False) - smtp = db.Column(Idna, nullable=True) + name = db.Column(db.String(80), primary_key=True, nullable=False) + smtp = db.Column(db.String(80), nullable=True) def __str__(self): return self.name