I believe you can checkout your project with a commit still using django
1.6 with south and run the south migration on the remaining database


On Thu, Jul 7, 2016 at 2:05 PM, bobhaugen <bob.hau...@gmail.com> wrote:

> We're upgrading an app from django 1.4 step-by-step through all the
> versions at least to 1.8. Got a self-inflicted problem with the new
> migrations in 1.7.
>
> Before we went to 1.7, we added a new field to a model, and migrated the
> db using South. Then when we went to 1.7, we restarted all the migrations.
>
> Unfortunately, we had one database that did not get the South migration
> with the new field.
>
> When we merge in the new code with the new field and try a migrate on the
> unmigrated database, it does nothing. I suppose because all we got now is
> the new-in-1.7 initial migration.
>
> And of course when I try to run the new code against the unmigrated db, I
> get an error about the missing field.
>
> I know we did wrong to leave that db unmigrated. But do we have any
> options for recovery now? Other than dump the data, recreate the db, and
> reload?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3b316785-23c0-4d49-9150-49da28d301ac%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/3b316785-23c0-4d49-9150-49da28d301ac%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tLV2O__terOLDDMm1Eo1XhURjSMKps6nF4Hot7FDVLAYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to