diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-28 11:43:54 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-28 11:43:54 +0000 |
| commit | 545cd6d6f08fbd7b206fe75e89a8cb539aff0db6 (patch) | |
| tree | 2189808123ca98684099efb5564a3f0b4d2104b5 | |
| parent | ab28e72f31f29c522f1afbabe9800e344226ff95 (diff) | |
Fixed #8583: Modified the migration SQL described in the comments upgrade 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
| -rw-r--r-- | docs/ref/contrib/comments/upgrade.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/comments/upgrade.txt b/docs/ref/contrib/comments/upgrade.txt index 0df3c94e7d..e1a2497247 100644 --- a/docs/ref/contrib/comments/upgrade.txt +++ b/docs/ref/contrib/comments/upgrade.txt @@ -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; |
