Skip to content

Instantly share code, notes, and snippets.

@DrMartiner
Created July 31, 2013 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrMartiner/6121065 to your computer and use it in GitHub Desktop.
Save DrMartiner/6121065 to your computer and use it in GitHub Desktop.
Test the migration on PostgreSQL
psql -c "drop database dbName"; psql -c "create database dbName;"; ./manage.py syncdb; ./manage.py migrate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment