Skip to content

Commit

Permalink
Fixed #8583: Modified the migration SQL described in the comments upg…
Browse files Browse the repository at this point in the history
…rade docs to account for a problem found with freecomments using Postgres. Thanks to rajeshd for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Aug 28, 2008
1 parent ab28e72 commit 545cd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/contrib/comments/upgrade.txt
Expand Up @@ -62,10 +62,10 @@ run the following SQL:
UPDATE django_comments SET user_name = (
SELECT username FROM auth_user
WHERE django_comments.user_id = auth_user.id
);
) WHERE django_comments.user_id is not NULL;
UPDATE django_comments SET user_email = (
SELECT email FROM auth_user
WHERE django_comments.user_id = auth_user.id
);
) WHERE django_comments.user_id is not NULL;

COMMIT;

0 comments on commit 545cd6d

Please sign in to comment.