Closed vesterbaek closed 8 years ago
Looks good!
I use a more generic approach in django-reversion here: https://github.com/etianen/django-reversion/blob/master/reversion/models.py#L287
However, since this code is postgres-specific, your solution is both minimal and elegant!
I've just baked this into a new release - 1.2.2
Cool, thanks for merging and your work with this project.
Typecast non-int primary key columns to ::text. This makes Watson work with with UUID primary key columns.