Using the SVN trunk version of Django, I have observed that if a model
IntegerField or FloatField is changed by adding "null=True" syncdb
does not update the Not NULL property of the column using PostgeSQL
8.4. Is this correct behavior, or a bug? The two easy workarounds are
(1) drop the table using pgAdmin III and follow with a syncdb creating
a new table which will have the correct Not NULL status, or (2)
manually change the Not Null property value for the column using
pgAdmin III. Obviously the first method is a bit extreme.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to