summaryrefslogtreecommitdiff
path: root/src/mailman/model/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/message.py')
-rw-r--r--src/mailman/model/message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/model/message.py b/src/mailman/model/message.py
index 9d7623d09..b153d4909 100644
--- a/src/mailman/model/message.py
+++ b/src/mailman/model/message.py
@@ -24,7 +24,7 @@ __all__ = [
'Message',
]
-from sqlalchemy import Column, Integer, Unicode
+from sqlalchemy import Column, Integer, Unicode, LargeBinary
from zope.interface import implementer
from mailman.database.model import Model
@@ -42,7 +42,7 @@ class Message(Model):
id = Column(Integer, primary_key=True)
message_id = Column(Unicode)
message_id_hash = Column(Unicode)
- path = Column(Unicode) # TODO : was RawStr()
+ path = Column(LargeBinary) # TODO : was RawStr()
# This is a Messge-ID field representation, not a database row id.
@dbconnection