What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-29 23:23:04
django migrate add new field to existing table
Initialize migrations for your existing models: ./manage.py makemigrations myapp Fake migrations for existing models: ./manage.py migrate --fake myapp Add the new field to myapp.models: from django.db import models class MyModel(models.Model): ...... Add solution
Best helpers
Ranking is empty