-
Notifications
You must be signed in to change notification settings - Fork 490
Schema migrations
Dave Hall edited this page Apr 27, 2011
·
5 revisions
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.
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.