Answers for "how to apply all migrations django in the terminal"

3

django make migrations

python manage.py makemigrations
python manage.py migrate
Posted by: Guest on September-16-2020
0

reverse a django migration

# You need to identify the last migration to which you want
# to reverse and use it as the migration target

python manage.py migrate my_app_name target_migration
Posted by: Guest on August-13-2021

Code answers related to "how to apply all migrations django in the terminal"

Python Answers by Framework

Browse Popular Code Answers by Language