Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

django reapply faked migration

You should first set your current state to 0003 with --fake (assuming 0003 is the last migration you really have applied):

> python manage.py migrate --fake core 0003

And then proceed as usual:

> python manage.py migrate core
Source by simpleisbetterthancomplex.com #
 
PREVIOUS NEXT
Tagged: #django #reapply #faked #migration
ADD COMMENT
Topic
Name
5+3 =