This page describes the schema migrations that have taken place over the lifetime of django-reversion, along with a how-to guide for updating your schema using South.
The current working version adds in significant speedups for models with integer primary keys.
In order to apply this migration using south, simply run:
./manage.py migrate reversion
If you have a large amount of existing version data, then this command might take a little while to run while the database tables are updated.
This version added a much-requested ‘type’ field to Version models, allows statistic to be gathered about the number of additions, changes and deletions that have been applied to a model.
In order to apply this migration, it is first necessary to install South.
- Add ‘south’ to your INSTALLED_APPS setting.
- Run ./manage.py syncdb
You then need to run the following two commands to complete the migration:
./manage.py migrate reversion 0001 --fake ./manage.py migrate reversion
No migration needed.