Closed
Bug 868034
Opened 13 years ago
Closed 13 years ago
Merge accounts for user vikingkarwur
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-05-09
People
(Reporter: amyt, Assigned: clouserw)
Details
Please merge these two accounts: vikingkarwur2 and vikingkarwur, and make the account username vikingkarwur. Thanks!
| Assignee | ||
Comment 1•13 years ago
|
||
These are both from the gp merge? You want to put add-ons owned by vikingkarwur2's account into vikingkarwur's account or is there something else you want to merge?
| Reporter | ||
Comment 2•13 years ago
|
||
Yes, put add-ons and any favorites owned by vikingkarwur2 into vikingkarwur.
Comment 3•13 years ago
|
||
update addons_users set user_id = (select id from users where username = 'vikingkarwur') where user_id = (select id from users where username = 'vikingkarwur2');
| Assignee | ||
Comment 4•13 years ago
|
||
mysql> UPDATE addons_users SET user_id = 5560515 WHERE user_id = 7089156;
Query OK, 4 rows affected (0.00 sec)
Rows matched: 4 Changed: 4 Warnings: 0
mysql> UPDATE collections SET author_id=5560515 WHERE author_id = 7089156;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> UPDATE addons_collections SET user_id=5560515 WHERE user_id = 7089156;
Query OK, 5 rows affected (0.00 sec)
Rows matched: 5 Changed: 5 Warnings: 0
The above worked because the destination account didn't have a favorites collection at all, so I just moved the favorites from the other account over (no need to merge).
Assignee: nobody → clouserw
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-09
| Reporter | ||
Comment 5•13 years ago
|
||
Thank you!
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•