From fd71cf3cf18c33d80db9c95431e140ee0a8533ea Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Sat, 15 Jan 2011 21:21:19 +0530 Subject: Remove initial south migrations also during reset of the database. --- scripts/reset_db.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/reset_db.sh') diff --git a/scripts/reset_db.sh b/scripts/reset_db.sh index 52643e6..057cf92 100755 --- a/scripts/reset_db.sh +++ b/scripts/reset_db.sh @@ -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 -- cgit