summaryrefslogtreecommitdiff
path: root/src/mailman/model/pending.py
diff options
context:
space:
mode:
authorMark Sapiro2016-11-11 19:58:16 -0800
committerMark Sapiro2016-11-11 19:58:16 -0800
commit98cb0ed4ba69d30604367e25e8e0ff6d3b699ee0 (patch)
tree602401153900a0c37a8cd608f18e38d46a9ddc69 /src/mailman/model/pending.py
parentfe20103091f5c2853b22190751d9c9f613a625d5 (diff)
downloadmailman-98cb0ed4ba69d30604367e25e8e0ff6d3b699ee0.tar.gz
mailman-98cb0ed4ba69d30604367e25e8e0ff6d3b699ee0.tar.zst
mailman-98cb0ed4ba69d30604367e25e8e0ff6d3b699ee0.zip
Diffstat (limited to 'src/mailman/model/pending.py')
-rw-r--r--src/mailman/model/pending.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/model/pending.py b/src/mailman/model/pending.py
index 7e7f0b2eb..3df28af06 100644
--- a/src/mailman/model/pending.py
+++ b/src/mailman/model/pending.py
@@ -24,7 +24,7 @@ from mailman import public
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):