File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1212# delete all existing migrations
1313
1414
15- cd src
15+ # cd src
1616
17- find . -path " */migrations/*.py" -not -name " __init__.py" -delete
17+ # find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
1818
19- rm db.sqlite3
19+ # rm db.sqlite3
2020
21- # recreate initial migrations
22- printf " \n\n \033[1;31m Warning!!! update the script to run migrations for all apps\033[0m\n \n\n"
23- sleep 2
24- python manage.py makemigrations users
25- python manage.py makemigrations home
26- python manage.py makemigrations courses
27- python manage.py makemigrations donations
28- python manage.py makemigrations activities
21+ # # recreate initial migrations
22+ # printf "\n\n \033[1;31m Warning!!! update the script to run migrations for all apps\033[0m\n \n\n"
23+ # sleep 2
24+ # python manage.py makemigrations users
25+ # python manage.py makemigrations home
26+ # python manage.py makemigrations courses
27+ # python manage.py makemigrations donations
28+ # python manage.py makemigrations activities
2929
3030
31- python manage.py migrate
31+ # python manage.py migrate
3232
33- # create superuser
34- printf " \n\n \033[1;31m CREATE SUPER USER\033[0m\n \n\n"
35- python manage.py createsuperuser
33+ # # create superuser
34+ # printf "\n\n \033[1;31m CREATE SUPER USER\033[0m\n \n\n"
35+ # python manage.py createsuperuser
You can’t perform that action at this time.
0 commit comments