From 7479671b3f6c499958d3ad991eb54de3010f4da8 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 5 Sep 2020 10:07:20 +0200 Subject: [PATCH] Don't rebuild systematically migrations --- shell/tabularasa | 2 -- 1 file changed, 2 deletions(-) diff --git a/shell/tabularasa b/shell/tabularasa index b6ccbcd..5f1be92 100755 --- a/shell/tabularasa +++ b/shell/tabularasa @@ -3,7 +3,5 @@ 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 -./manage.py makemigrations ./manage.py migrate ./manage.py loaddata initial