summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 19:59:54 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 19:59:54 +0000
commit52c3c3a349e1be36133bde48792611847697940f (patch)
treec0d805f327872b826fef8716f58a0c460efb6791 /docs
parent91ca961ba6f160e2a8b93684802c515e77887608 (diff)
Fixed an error in comment upgrade SQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/comments/upgrade.txt8
1 files 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 = (