Created
August 1, 2013 00:29
-
-
Save deanohyeah/6127505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dropdb <name> | |
createdb <name> | |
django-admin.py syncdb | |
- loads db | |
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U dkramer -d migrate_test ~/Desktop/b009.dump | |
fake it | |
django-admin.py schemamigration elections --fake | |
create new migration | |
django-admin.py schemamigration elections --auto | |
people | |
legislators | |
django-admin.py migrate elections | |
people | |
legislators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment