Kenneth Gonsalves wrote:

> you have to do it manually

yes, as far I understand this is easiest and recommended way. Who knows
what business logic
rules come with update? I think there will be many non-trivial cases
which automatic update will
not support. So I agree with Kenneth - basic understanding of SQL is
required to do updates.
When it comes to a simple schema migration (adding or removing fields)
it takes seconds
to do it manually via ./manage.py sql APPName and then ./manage.py
dbshell

where I usually copy/paste the field has been added this way:

alter table "tbl_name" add column ....;

... replaced with Copy/Paste from what I see in SQL schema above.

Typically this is my preferred way to upgrade.


--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to