A quick way to alter the database schema based on model changes for an app which doesn't (yet) need the power of full south migrations.


Initially, you'll need to set up the initial definitions for all (non-south) apps: syncdb

Then after making a model change to an app you can see the changes, and optionally apply them (requires confirmation) by using the new alterdb command: alterdb myapp

If you'd rather just see the SQL than alter the database directly: alterdb myapp --sql

If you have manually altered the database and would like to forget the old model definition for an app, you can reset the definition: alterdb myapp --reset