summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-01-20 06:01:49 +0530
committerMadhusudan.C.S2011-01-20 06:01:49 +0530
commitec6b99e933716bac87f7a7525f3a036b838aed5a (patch)
treef7a31fbaea2ec207131ef3cb39bb1143f7f548fd /scripts
parentaf2146159923be58d2155aa89ba24a8669651f18 (diff)
downloadpytask-ec6b99e933716bac87f7a7525f3a036b838aed5a.tar.gz
pytask-ec6b99e933716bac87f7a7525f3a036b838aed5a.tar.bz2
pytask-ec6b99e933716bac87f7a7525f3a036b838aed5a.zip
Remove the reset_db script. I should not be able to run it even in my dream.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reset_db.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/reset_db.sh b/scripts/reset_db.sh
deleted file mode 100755
index 51568ca..0000000
--- a/scripts/reset_db.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/bash
-
-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
-./bin/django loaddata sites_fixture.json
-./bin/django loaddata profile_fixture.json