1
0
mirror of synced 2025-02-20 14:13:15 +03:00

fixed version column attributes

This commit is contained in:
zYne 2007-10-18 19:39:19 +00:00
parent ee1cf1013a
commit 1a990b6eae

View File

@ -89,7 +89,9 @@ class Doctrine_AuditLog extends Doctrine_Plugin
}
// the version column should be part of the primary key definition
$columns[$this->_options['versionColumn']]['primary'] = true;
$columns[$this->_options['versionColumn']] = array('type' => 'integer',
'length' => 8,
'primary' => true);
$id = $table->getIdentifier();