Monday, September 9, 2013

Re: New field in django

On Mon, Sep 9, 2013 at 10:59 AM, Xavier Ordoquy <xordoquy@linovia.com> wrote:
> The message is: "Table 'tcc_report' already exists"
>
> This means that you already created the tables with syncdb which bypassed south and you're trying to created them again with south.
> You'll be able to recover from this by:
> - ensuring your models are in line with your current DB schema
> - creating an initial migration (provided that you didn't already create migrations)
> - fake the initial migration to tell south you already created the schema for this application
>
> Then you can change your models, create schema or data migrations and apply them.
>
> For more information, have a look at http://south.readthedocs.org/en/latest/convertinganapp.html#converting-other-installations-and-servers


Nothing is working. Please tell me how we can change the data-type of
any field. I urgently need to do this. I tried south, it didn't work.
What should I do?

--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate