On Wed, 2009-03-11 at 13:55 -0700, mike171562 wrote: > Hello, I tried to add a column to one of my models named Ticket. I ran > a syncdb with no errors, but when i load my app I get the following > error.
If you change a model that already exists in the database, "syncdb" will not do anything. You either have to add the column manually to the database table or use one of the various migration tools around (e.g. django-evolution, south, dbmigrations) > > > (1054, "Unknown column 'tickets_ticket.ext_email' in 'field list'"). > > I tried dropping my Database and recreating to no avail. Anyone know > about this error. I'm surprised it didn't go away after recreating the database. That doesn't sound right. Can you create a small example of the model that demonstrates the problem (e.g. remove all the columns except the one you're trying add and see if it happens again) and show us? Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---