This commit is contained in:
parent
5866a6f78f
commit
1a18acb762
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user