1
0
mirror of synced 2025-02-20 14:13:15 +03:00
This commit is contained in:
zYne 2007-07-30 19:13:05 +00:00
parent 5866a6f78f
commit 1a18acb762

View File

@ -700,7 +700,13 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
}
if ($length == null) {
if ($length == null &&
$type === 'string' ||
$type === 'clob' ||
$type === 'integer' ||
$type === 'blob' ||
$type === 'gzip') {
$length = 2147483647;
}