1
0
mirror of synced 2025-01-29 19:41:45 +03:00
This commit is contained in:
zYne 2007-07-30 19:29:37 +00:00
parent aa1aa84b52
commit c045174fde

View File

@ -701,7 +701,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
if ($length == null &&
$type === 'string' ||
$type === 'string' ||
$type === 'clob' ||
$type === 'integer' ||
$type === 'blob' ||
@ -710,10 +710,6 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
$length = 2147483647;
}
if ((string) (int) $length !== (string) $length) {
throw new Doctrine_Table_Exception('Invalid argument given for column length');
}
$this->columns[$name] = $options;
$this->columns[$name]['type'] = $type;
$this->columns[$name]['length'] = $length;