Reset relay columns to string

master
Stefan Auditor 7 years ago
parent d9ea64fac7
commit c40e255f3b

@ -140,8 +140,8 @@ class Relay(Base):
__tablename__ = "relay" __tablename__ = "relay"
name = db.Column(Idna, primary_key=True, nullable=False) name = db.Column(db.String(80), primary_key=True, nullable=False)
smtp = db.Column(Idna, nullable=True) smtp = db.Column(db.String(80), nullable=True)
def __str__(self): def __str__(self):
return self.name return self.name

Loading…
Cancel
Save