1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-08-03 20:57:07 +00:00
parent c9268d286f
commit 45cb86dab9

View File

@ -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)) {