diff options
-rwxr-xr-x | scripts/reset_db.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |