swisscom/cleanerversion — pull request #5 by brki (2014-09-12 14:40:02+00:00)
Title: Add postgresql utilities

Adds some methods to help postgresql:
* be performant, by removing unused varchar_pattern_ops indexes for UUID fields
* enforce current-version referential integrity using partial unique indexs

These can be called from the post_migrate signal handler of any applications that use Versionable models.