diff options
| author | Mark Sapiro | 2016-12-15 21:05:09 -0800 |
|---|---|---|
| committer | Mark Sapiro | 2016-12-15 21:05:09 -0800 |
| commit | 7d21dbe2d745fa81d19cd3bacbb0e1669d439638 (patch) | |
| tree | e3ff3ee21b2e06244adf23c1c1a4a653c41c15c4 /src/mailman/model/pending.py | |
| parent | 00d59d69137848b87d021475b40c8e39fe190636 (diff) | |
| download | mailman-7d21dbe2d745fa81d19cd3bacbb0e1669d439638.tar.gz mailman-7d21dbe2d745fa81d19cd3bacbb0e1669d439638.tar.zst mailman-7d21dbe2d745fa81d19cd3bacbb0e1669d439638.zip | |
Diffstat (limited to 'src/mailman/model/pending.py')
| -rw-r--r-- | src/mailman/model/pending.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/model/pending.py b/src/mailman/model/pending.py index 5889f9cc1..60be56e8f 100644 --- a/src/mailman/model/pending.py +++ b/src/mailman/model/pending.py @@ -23,7 +23,7 @@ from lazr.config import as_timedelta from mailman.config import config from mailman.database.model import Model from mailman.database.transaction import dbconnection -from mailman.database.types import SAUnicode +from mailman.database.types import SAUnicode, SAUnicodeLarge from mailman.interfaces.pending import ( IPendable, IPended, IPendedKeyValue, IPendings) from mailman.utilities.datetime import now @@ -47,7 +47,7 @@ class PendedKeyValue(Model): id = Column(Integer, primary_key=True) key = Column(SAUnicode, index=True) - value = Column(SAUnicode, index=True) + value = Column(SAUnicodeLarge, index=True) pended_id = Column(Integer, ForeignKey('pended.id'), index=True) def __init__(self, key, value): |
