#8583: Comments upgrade SQL fails on FreeComment data
-------------------------------------+--------------------------------------
 Reporter:  rajeshd                  |       Owner:  nobody    
   Status:  new                      |   Milestone:  1.0       
Component:  django.contrib.comments  |     Version:  SVN       
 Keywords:  comments docs            |       Stage:  Unreviewed
Has_patch:  1                        |  
-------------------------------------+--------------------------------------
 In the contrib.comments upgrade instructions, the UPDATE statements work
 when migrating the old `Comment` data but they fail on `FreeComment` data
 because the latter has null `user_id`s.

 Attached patch ensures that the UPDATES get applied only to migrated
 `Comment` data (i.e. when user_id is not NULL.) Not sure if this is good
 enough but it works for me in PGSQL.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8583>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to