Hi

You have several options depending on what you're ready to do.

1) Drop the database, recreate it and resync it (fine as long as you don't have 
data to keep)
2) Install django command extension 
(http://code.google.com/p/django-command-extensions/) and take sqldiff output 
to modify your DB
3) Use South migration tools (the harder)

Regards,
Xavier.

Le 14 févr. 2011 à 19:07, hank23 a écrit :

> I think you're right. So how do I update the table manually, or maybe
> a better question is how do I completely delete it and then put it
> back the way I need to have? Can you point me to somewhere in the
> documenation for where to find this, or can you give me a step by step
> process for how to keep my table definitions updated properly by some
> manual process? Thanks for the help.
> 
> On Feb 14, 11:36 am, Tom Evans <tevans...@googlemail.com> wrote:
>> On Mon, Feb 14, 2011 at 5:34 PM, hank23 <hversem...@stchas.edu> wrote:
>>> OK. I will change it to an EmailField and see if that helps. However I
>>> have a further question. When making changes like this to existing
>>> tables, do I always need to run the syncdb command to make sure that
>>> everything is updated properly then?
>> 
>> syncdb *WILL NOT* update your existing tables to new structures. It
>> just does not get involved. See my earlier post, which you obviously
>> didn't quite get :/
>> 
>> Cheers
>> 
>> Tom
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to