[SQLObject] Changing 'TEXT' to 'LONGTEXT'
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Markus G. <m.g...@gm...> - 2007-04-13 21:05:59
|
Hi, how about changing 'TEXT' to 'LONGTEXT' for SOStringLikeCol? 'TEXT' is to short in some cases. --- sqlobject_orig/col.py 2007-04-10 17:58:32.000000000 +0200 +++ sqlobject/col.py 2007-04-12 22:54:12.105342400 +0200 @@ -455,7 +455,7 @@ if self.customSQLType is not None: return self.customSQLType if not self.length: - return 'TEXT' + return 'LONGTEXT' elif self.varchar: return 'VARCHAR(%i)' % self.length else: Kind regards, Markus |