diff options
| author | Mark Sapiro | 2016-12-16 15:16:53 -0800 |
|---|---|---|
| committer | Mark Sapiro | 2016-12-16 15:16:53 -0800 |
| commit | 8fc102429d724931c1d7a324271f9c33cdea5f45 (patch) | |
| tree | 0b5e7de7879fe63e9de2a327c859a96658b2a711 /src/mailman/model | |
| parent | 61cfea7f33b6c8bc339c7d703feeeafa48dd28e3 (diff) | |
| download | mailman-8fc102429d724931c1d7a324271f9c33cdea5f45.tar.gz mailman-8fc102429d724931c1d7a324271f9c33cdea5f45.tar.zst mailman-8fc102429d724931c1d7a324271f9c33cdea5f45.zip | |
Modifications based on feedback from Barry.
Also, the change to the value column of pendedkeyvalue from SAUnicode to
SAUnicodeLarge is removed as it is a separate MR now. This will cause mysql
CI to fail until that MR lands.
Diffstat (limited to 'src/mailman/model')
| -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 60be56e8f..5889f9cc1 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, SAUnicodeLarge +from mailman.database.types import SAUnicode 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(SAUnicodeLarge, index=True) + value = Column(SAUnicode, index=True) pended_id = Column(Integer, ForeignKey('pended.id'), index=True) def __init__(self, key, value): |
