Commit eed1455f authored by zYne's avatar zYne

unique constraints no longer part of auditlog version table

parent fc2b7ba8
......@@ -82,10 +82,11 @@ class Doctrine_AuditLog extends Doctrine_Plugin
$columns = $table->getColumns();
// remove all sequential and autoincrement definitions
// remove all sequence, autoincrement and unique constraint definitions
foreach ($columns as $column => $definition) {
unset($columns[$column]['autoincrement']);
unset($columns[$column]['sequence']);
unset($columns[$column]['unique']);
}
// the version column should be part of the primary key definition
......
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