Skip to content
Snippets Groups Projects
Commit 7479671b authored by ynerant's avatar ynerant
Browse files

Don't rebuild systematically migrations

parent 7246f4d1
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment