On May 9, 6:34 pm, Marc Fargas <[EMAIL PROTECTED]> wrote:
> El vie, 09-05-2008 a las 09:30 -0700, Marcin Gorczyński escribió:
>
> > Hello
>
> > I have a problem with syncing with my PostgresDB - I type manage.py
> > syncdb, but it doesn`t create all the columns like in this model:
> > It creates only 3 columns - id, group_id, name
>
> Did you add columns after running syncdb *for the very first time* ? I
> mean, did you run syncdb with only the group and name fields defined and
> then run it again after adding columns? This is not supported.
>
> ./manage.py sql <your app>
>
> Does this show the correct CREATE TABLE statements?
>
> --http://www.marcfargas.com-- will be finished some day.
>
> signature.asc
> 1KDownload
Yes, now as I recall I added the fields after the first syncd. Didn`t
know I couldn`t do that, how can add them after the syncdb (I created
a second db 'test', changed the name to 'test' in settings and synced,
didn`t change anything, don`t know if this info changes anything)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---