Commit 45cb86da authored by zYne's avatar zYne

--no commit message

--no commit message
parent c9268d28
......@@ -111,6 +111,11 @@ class Doctrine_Validator extends Doctrine_Object
|| $name == 'zerofill') {
continue;
}
if (strtolower($name) === 'notnull' && isset($column['autoincrement'])) {
continue;
}
if (strtolower($name) == 'length') {
if (!$record->getTable()->getAttribute(Doctrine::ATTR_AUTO_LENGTH_VLD)) {
if (!$this->validateLength($column, $key, $value)) {
......
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