fixed version column attributes
This commit is contained in:
parent
ee1cf1013a
commit
1a990b6eae
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue