Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Don't rebuild systematically migrations
· 7479671b
ynerant
authored
Sep 05, 2020
7479671b
Hide whitespace changes
Inline
Side-by-side
shell/tabularasa
View file @
7479671b
...
...
@@ -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