how to create migrations in django
//to create migration files
python manage.py makemigrations
//to migrate migration files
python manage.py migrate
how to create migrations in django
//to create migration files
python manage.py makemigrations
//to migrate migration files
python manage.py migrate
fake migration
# This command allows us to disable all migrations made to the db
# (usually done before deleting the migration files and wiping the database of all its data)
python manage.py migrate --fake
django fake initial migration
python manage.py migrate --fake-initial
django migrate fake zero
$ python manage.py migrate --fake YourApp zero
# This will Reverse all migerations in YourApp
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us