This commit is contained in:
parent
aa1aa84b52
commit
c045174fde
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user