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

View File

@ -710,10 +710,6 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
$length = 2147483647; $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] = $options;
$this->columns[$name]['type'] = $type; $this->columns[$name]['type'] = $type;
$this->columns[$name]['length'] = $length; $this->columns[$name]['length'] = $length;