Manually alter the table. Or use some GUI like phpMyAdmin or PgAdmin. It's the *safe* way of doing things.
Another *not so safe* way is, dump your data, make sure the new field has a default value or accepts null as it's value, reset the table, and insert the dump. The manually or programatically go over the table and insert data into the new field. I prefer the first one. El jue, 06-09-2007 a las 03:51 -0700, ksuess escribi�: > hi. I had to add a field to an existing model. how do i update the db? > (of course there is content.) > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---