This commit is contained in:
parent
5866a6f78f
commit
1a18acb762
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue