diff --git a/shell/tabularasa b/shell/tabularasa index 0a81c5f..b6ccbcd 100755 --- a/shell/tabularasa +++ b/shell/tabularasa @@ -1,4 +1,6 @@ #!/usr/bin/sh +sudo service postgresql stop +sudo service postgresql start sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'"; echo 'reset db'; find apps/ -path "*/migrations/*.py*" -not -name "__init__.py" -delete