path: root/pykolab
diff options
authorJeroen van Meeuwen (Kolab Systems) <>2015-08-13 09:43:02 +0200
committerJeroen van Meeuwen (Kolab Systems) <>2015-08-13 09:43:02 +0200
commit213cf68e7995859d149973d9e20aa5fdf0387f37 (patch)
tree5df3b6900f838a4adf1afac0e9c364555e423552 /pykolab
parent61b168009c61cc97bf6c45dd2f3cdd807b0439f7 (diff)
Change column type for authentication cache to a Text field (from String) (#5143)
Diffstat (limited to 'pykolab')
1 files changed, 4 insertions, 3 deletions
diff --git a/pykolab/auth/ldap/ b/pykolab/auth/ldap/
index 8c14592..c410fe6 100644
--- a/pykolab/auth/ldap/
+++ b/pykolab/auth/ldap/
@@ -26,6 +26,7 @@ from sqlalchemy import Integer
from sqlalchemy import MetaData
from sqlalchemy import String
from sqlalchemy import Table
+from sqlalchemy import Text
from sqlalchemy import desc
from sqlalchemy import create_engine
@@ -70,9 +71,9 @@ class Entry(object):
entry_table = Table(
'entries', metadata,
Column('id', Integer, primary_key=True),
- Column('domain', String(128), index=True, nullable=True),
- Column('key', String(512), index=True, nullable=False),
- Column('value', String(128), nullable=False),
+ Column('domain', String(256), index=True, nullable=True),
+ Column('key', Text, index=True, nullable=False),
+ Column('value', Text, nullable=False),
Column('last_change', DateTime, nullable=False,