On Monday 06 July 2009 10:47:59 chefsmart wrote:
>  have a lot of data in the database. Today I modified a couple of
> fields and added a couple of fields (date and char fields) to three of
> my models. No fields have been removed from the original model
> definitions.

syncdb does not look at changes within models - only looks for new models. 
Changing fields within models has to be done manually, or you can look at the 
various attempts at building schema evolution. The simplest way to do this is 
to save the output of sqlall before and after you change your models. Find the 
diff and make a change.sql script out of the diff.

-- 
regards
kg
http://lawgon.livejournal.com

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

Reply via email to