propelorm/Propel — Issue #175: Archivable behavior: unique columns 
Author: kstorch
Created: 2011-10-31 12:44:36+00:00
State: open

If a table has unique columns (i. e. from the sluggable behavior), the resulting archive table has set UNIQUE indices on these columns.

While this seems like a good idea at the first glance, it's a bug in my eyes: You can't delete two records which share the same value in this colum.

Imagine the case where archivable is combined with sluggable: If you create a record with the slug "post" and delete it, you can create another record with the slug "post". But you will never be able to delete the second post.