Support/KitsuneKBForSuMoMo1Q2011/UserIdMigration: Difference between revisions

Jump to navigation Jump to search
(Created page with "== Notes on SuMoMo tikiwi to SuMoMo Kitsune KB userid migration == To create a Kitsune/Django user out of a Tiki user, you'll just need to INSERT...SELECT a few columns from the...")
 
Line 1: Line 1:
== Notes on SuMoMo tikiwi to SuMoMo Kitsune KB userid migration ==
== Notes on SuMoMo tikiwi to SuMoMo Kitsune KB userid migration ==
from james:


To create a Kitsune/Django user out of a Tiki user, you'll just need to INSERT...SELECT a few columns from the old users_users table into the new auth_user table.
To create a Kitsune/Django user out of a Tiki user, you'll just need to INSERT...SELECT a few columns from the old users_users table into the new auth_user table.
Line 15: Line 17:
* kitsune/media --> /media/ (probably)
* kitsune/media --> /media/ (probably)
* kitsune/vendor/django/django/contrib/admin/media  --> /admin-media/
* kitsune/vendor/django/django/contrib/admin/media  --> /admin-media/
from paul:
Not too important, but if you want to keep more data, you can also salvage the registration and last login dates:
<code>
<pre>
FROM_UNIXTIME(lastLogin)        ->          last_login
FROM_UNIXTIME(registrationDate)            date_joined
</pre>
</code>


Within that, you'll want to symlink kitsune/media/uploads to an NFS mount shared by the web servers. (kitsune/media/uploads doesn't exist in version control) The directory should be totally writable by the web server user, as all user-uploaded content will go in there.
Within that, you'll want to symlink kitsune/media/uploads to an NFS mount shared by the web servers. (kitsune/media/uploads doesn't exist in version control) The directory should be totally writable by the web server user, as all user-uploaded content will go in there.
Confirmed users
5,365

edits

Navigation menu