Author: phd
Date: 2006-01-12 09:50:35 -0700 (Thu, 12 Jan 2006)
New Revision: 1500
Modified:
SQLObject/branches/0.7-bugfix/sqlobject/main.py
Log:
Fixed bug N 1389410: restricted the length of childName column to 255 characters.
Modified: SQLObject/branches/0.7-bugfix/sqlobject/main.py
===================================================================
--- SQLObject/branches/0.7-bugfix/sqlobject/main.py 2006-01-12 16:27:36 UTC (rev 1499)
+++ SQLObject/branches/0.7-bugfix/sqlobject/main.py 2006-01-12 16:50:35 UTC (rev 1500)
@@ -740,7 +740,7 @@
if hasattr(cls, '_inheritable') and cls._inheritable and \
cls.__name__ <> "InheritableSQLObject":
cls.sqlmeta.columnDefinitions['childName'] = col.StringCol(
- name='childName', default=None)
+ name='childName', length=255, default=None)
######################################################
# Set some attributes to their defaults, if necessary.
|