Skip to content

Instantly share code, notes, and snippets.

@shau-lok
Created November 1, 2017 08:20
Show Gist options
  • Save shau-lok/e3afd9d1032b94a7d6955c78ff586224 to your computer and use it in GitHub Desktop.
Save shau-lok/e3afd9d1032b94a7d6955c78ff586224 to your computer and use it in GitHub Desktop.
django model migrate
# https://docs.djangoproject.com/en/1.11/topics/migrations/
# which is responsible for applying and unapplying migrations.
python manage.py migrate
# which is responsible for creating new migrations based on the changes you have made to your model
python manage.py makemigrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment