Tuesday, June 4, 2013

Re: sphinx migration: addint m2m field

The problem has resolved without my intervention :).

Regards,
Marcin

On 22:29 Mon 03 Jun , Marcin Szamotulski wrote:
> Hello,
>
> I need to add a m2m field to a model. So I did added it and then
> I wanted to use south to migrate the app. Since this app was already
> using south I run
> ./manage.py schemamigration sphinxdoc --auto
>
> It was successful though when I run
>
> ./manage.py migrate sphinxdoc
>
> The command got stalled. Adding --verbose=3 gives this:
> - Migrating forwards to 0003_auto.
> > sphinxdoc:0003_auto
> = CREATE TABLE "sphinxdoc_document_author" ("id" serial NOT NULL PRIMARY KEY, "document_id" integer NOT NULL, "user_id" integer NOT NULL); []
>
> Looking inside db (with psql since I use postgres) the table is not
> there. How can I debug this? I did not have any problems with making
> migrations with this app before.
>
> Best regards,
> Marcin Szamotulski

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate