Commit c045174f authored by zYne's avatar zYne

--no commit message

--no commit message
parent aa1aa84b
...@@ -701,7 +701,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -701,7 +701,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
if ($length == null && if ($length == null &&
$type === 'string' || $type === 'string' ||
$type === 'clob' || $type === 'clob' ||
$type === 'integer' || $type === 'integer' ||
$type === 'blob' || $type === 'blob' ||
...@@ -710,10 +710,6 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment