set a size constraint on ECache's title
It's not a good idea to use text field with no size constraint and to
index them. Somme BDD backends (MySQL for instance) simply don't support
it.
--- a/schemas/base.py Wed Apr 22 21:59:58 2009 -0700
+++ b/schemas/base.py Thu Apr 23 08:05:51 2009 +0200
@@ -328,6 +328,6 @@
'delete': ('managers',),
}
- name = String(required=True, unique=True, indexed=True,
+ name = String(required=True, unique=True, indexed=True, maxsize=128,
description=_('name of the cache'))
timestamp = Datetime(default='NOW')