scripts/reset_db.sh
changeset 416 265dbd81c451
parent 413 49b58b9b10a1
child 441 10f16121a46b
--- a/scripts/reset_db.sh	Sat Jan 15 21:20:35 2011 +0530
+++ b/scripts/reset_db.sh	Sat Jan 15 21:21:19 2011 +0530
@@ -2,6 +2,10 @@
 
 sudo -u postgres dropdb pytask
 sudo -u postgres createdb -O pytask pytask
+rm -r pytask/profile/migrations/
+rm -r pytask/taskapp/migrations/
+./bin/django schemamigration profile --initial
+./bin/django schemamigration taskapp --initial
 ./bin/django syncdb
 ./bin/django migrate profile
 ./bin/django migrate taskapp