Don't rebuild systematically migrations

This commit is contained in:
Yohann D'ANELLO 2020-09-05 10:07:20 +02:00
parent 7246f4d18a
commit 7479671b3f
1 changed files with 0 additions and 2 deletions

View File

@ -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