Note to Self: More on South

Setup being along the dev → test → prod lines, to correctly manage database migrations we first set things up at dev: syncdb --noinput convert_to_south <app> createsuperuser

At this point the South migrations are being pushed to repository and pulled in at test: syncdb --noinput migrate migrate <app> 0001 --fake createsuperuser

Now, back at dev, after a change to one of the models: schemamigration <app> --auto migrate <app>
And, after push/pull, at test: migrate <app>

Tagged with:

Categorised as: