Author: jacob
Date: 2008-08-26 14:59:54 -0500 (Tue, 26 Aug 2008)
New Revision: 8595

Modified:
   django/trunk/docs/ref/contrib/comments/upgrade.txt
Log:
Fixed an error in comment upgrade SQL.


Modified: django/trunk/docs/ref/contrib/comments/upgrade.txt
===================================================================
--- django/trunk/docs/ref/contrib/comments/upgrade.txt  2008-08-26 19:56:19 UTC 
(rev 8594)
+++ django/trunk/docs/ref/contrib/comments/upgrade.txt  2008-08-26 19:59:54 UTC 
(rev 8595)
@@ -44,11 +44,11 @@
     FROM comments_freecomment;
 
     INSERT INTO django_comments 
-        (content_type_id, object_pk, site_id, user_id, comment, submit_date,
-        ip_address, is_public, is_removed) 
+        (content_type_id, object_pk, site_id, user_id, user_name, user_email,
+        user_url, comment, submit_date, ip_address, is_public, is_removed)
     SELECT 
-        content_type_id, object_id, site_id, user_id, comment, submit_date,
-        ip_address, is_public, is_removed
+        content_type_id, object_id, site_id, user_id, '', '', '', comment,
+        submit_date, ip_address, is_public, is_removed
     FROM comments_comment;
 
     UPDATE django_comments SET user_name = (


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