From 52c3c3a349e1be36133bde48792611847697940f Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 26 Aug 2008 19:59:54 +0000 Subject: [PATCH] Fixed an error in comment upgrade SQL. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8595 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/comments/upgrade.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/contrib/comments/upgrade.txt b/docs/ref/contrib/comments/upgrade.txt index 0f0b67f219..46c8cf9e20 100644 --- a/docs/ref/contrib/comments/upgrade.txt +++ b/docs/ref/contrib/comments/upgrade.txt @@ -44,11 +44,11 @@ The data models have changed, as have the table names. To transfer your data int 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 = (