-- ============================================================
-- Skinbase orphaned-artwork user recovery script
-- Generated: 2026-04-13 18:29:34
-- Source:    legacy DB  →  new users / user_profiles / user_statistics
-- REVIEW CAREFULLY before running on production.
-- ============================================================

SET NAMES utf8mb4;
USE `projekti_2026_skinbase`;
START TRANSACTION;

-- user_id=67850  username=tallwalker  real_email=mot_52@yahoo.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='mot_52@yahoo.com' WHERE \`id\`=67850 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='mot_52@yahoo.com' AND \`id\`!=67850) _c);
SAVEPOINT sp_67850;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (67850, 'tallwalker', '2026-04-13 18:29:34', 'tallwalker', '67850@legacy.skinbase.org', '$2y$12$rx4c3LLRdNtiC0aFieMEf4GuUfUzzn7Qd59Bm1Rx01ooGgkG0prz2', 'user', 1, 1, NULL, '2022-07-30 13:32:10', '2007-09-03 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='tallwalker', `username_changed_at`='2026-04-13 18:29:34', `name`='tallwalker', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 67850;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (67850, NULL, NULL, NULL, '111', NULL, NULL, NULL, NULL, NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='111', `country_code`=NULL, `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 67850;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (67850, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 67850;

-- user_id=68451  username=aussie_girl  real_email=susanmadelka@yahoo.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='susanmadelka@yahoo.com' WHERE \`id\`=68451 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='susanmadelka@yahoo.com' AND \`id\`!=68451) _c);
SAVEPOINT sp_68451;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (68451, 'aussie_girl', '2026-04-13 18:29:34', 'aussie_girl', '68451@legacy.skinbase.org', '$2y$12$U5Wq2BjsnnXvyAxHgNQlPEgkCH8sdD88atQn58OhquZw9BxDYvq2I', 'user', 1, 1, NULL, '2022-07-30 13:33:03', '2007-09-16 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='aussie_girl', `username_changed_at`='2026-04-13 18:29:34', `name`='aussie_girl', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 68451;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (68451, NULL, NULL, NULL, '6', 'AU', NULL, NULL, 'F', NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='6', `country_code`='AU', `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 68451;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (68451, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 68451;

-- user_id=69257  username=x-wall  real_email=kenneth89h@hotmail.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='kenneth89h@hotmail.com' WHERE \`id\`=69257 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='kenneth89h@hotmail.com' AND \`id\`!=69257) _c);
SAVEPOINT sp_69257;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (69257, 'x-wall', '2026-04-13 18:29:34', 'x-wall', '69257@legacy.skinbase.org', '$2y$12$1MZFEO5fWBLIBRh6iiElvepgKsuX7AbZSq2vjpBrgkuaIEJJ3QkIc', 'user', 1, 1, NULL, '2022-07-30 13:34:15', '2007-10-07 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='x-wall', `username_changed_at`='2026-04-13 18:29:34', `name`='x-wall', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 69257;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (69257, 'Christine', NULL, NULL, '111', NULL, NULL, NULL, 'F', NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`='Christine', `avatar_legacy`=NULL, `cover_image`=NULL, `country`='111', `country_code`=NULL, `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 69257;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (69257, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 69257;

-- user_id=73514  username=oksana_a  real_email=zhelalex@mail.ru  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='zhelalex@mail.ru' WHERE \`id\`=73514 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='zhelalex@mail.ru' AND \`id\`!=73514) _c);
SAVEPOINT sp_73514;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (73514, 'oksana_a', '2026-04-13 18:29:34', 'oksana_a', '73514@legacy.skinbase.org', '$2y$12$qhhhz3MZlKgKKsiyOR2LTFWyWHmma9NwTdbo4qCuk7mnQ4FyTAvAZ', 'user', 1, 1, NULL, '2022-07-30 13:40:18', '2008-01-19 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='oksana_a', `username_changed_at`='2026-04-13 18:29:34', `name`='oksana_a', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 73514;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (73514, NULL, NULL, NULL, '82', NULL, NULL, NULL, 'F', NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='82', `country_code`=NULL, `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 73514;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (73514, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 73514;

-- user_id=80321  username=abbyrose  real_email=cherryrose_demerin@yahoo.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='cherryrose_demerin@yahoo.com' WHERE \`id\`=80321 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='cherryrose_demerin@yahoo.com' AND \`id\`!=80321) _c);
SAVEPOINT sp_80321;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (80321, 'abbyrose', '2026-04-13 18:29:34', 'abbyrose', '80321@legacy.skinbase.org', '$2y$12$pQ9yqzOsLS5O3p3sRoOEqGQr1DFbrBAHMAr9zxwORtfp7eoeXJyuN', 'user', 1, 1, NULL, '2022-07-30 13:50:07', '2008-08-15 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='abbyrose', `username_changed_at`='2026-04-13 18:29:34', `name`='abbyrose', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 80321;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (80321, NULL, NULL, NULL, '76', 'PH', NULL, NULL, 'F', NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='76', `country_code`='PH', `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 80321;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (80321, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 80321;

-- user_id=90154  username=canibite  real_email=gerard.de.graaf1@hotmail.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='gerard.de.graaf1@hotmail.com' WHERE \`id\`=90154 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='gerard.de.graaf1@hotmail.com' AND \`id\`!=90154) _c);
SAVEPOINT sp_90154;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (90154, 'canibite', '2026-04-13 18:29:34', 'canibite', '90154@legacy.skinbase.org', '$2y$12$f5vXuxSM6kEP7lal4JQ4zHPh9CT8lenhKfilSRKIdA1TWsL2evJeX', 'user', 1, 1, NULL, '2022-07-30 14:03:29', '2009-08-31 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='canibite', `username_changed_at`='2026-04-13 18:29:34', `name`='canibite', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 90154;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (90154, NULL, NULL, NULL, '68', 'NL', NULL, NULL, 'M', NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='68', `country_code`='NL', `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 90154;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (90154, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 90154;

-- user_id=93693  username=milazzo  real_email=conqueror.vega@gmail.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='conqueror.vega@gmail.com' WHERE \`id\`=93693 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='conqueror.vega@gmail.com' AND \`id\`!=93693) _c);
SAVEPOINT sp_93693;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (93693, 'milazzo', '2026-04-13 18:29:34', 'milazzo', '93693@legacy.skinbase.org', '$2y$12$iwNJ8eihghoptYE9KgDsk5XVjQgpsajkyOXSN2xZwrCCQAk6b5Fch', 'user', 1, 1, NULL, '2022-07-30 14:08:16', '2010-04-11 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='milazzo', `username_changed_at`='2026-04-13 18:29:34', `name`='milazzo', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 93693;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (93693, NULL, NULL, NULL, '50', 'IT', NULL, NULL, NULL, NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='50', `country_code`='IT', `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 93693;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (93693, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 93693;

-- user_id=94069  username=olegtz  real_email=olegtz@gmail.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='olegtz@gmail.com' WHERE \`id\`=94069 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='olegtz@gmail.com' AND \`id\`!=94069) _c);
SAVEPOINT sp_94069;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (94069, 'olegtz', '2026-04-13 18:29:34', 'olegtz', '94069@legacy.skinbase.org', '$2y$12$GWyq7t7em1cphpK287VxVxUXTAgofsA119UpD49RSPuSMXv15PNPT', 'user', 1, 1, NULL, '2022-07-30 14:08:46', '2010-05-13 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='olegtz', `username_changed_at`='2026-04-13 18:29:34', `name`='olegtz', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 94069;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (94069, NULL, NULL, NULL, '111', NULL, NULL, NULL, NULL, NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='111', `country_code`=NULL, `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 94069;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (94069, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 94069;

-- user_id=94674  username=tripleduce  real_email=blade00792@yahoo.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='blade00792@yahoo.com' WHERE \`id\`=94674 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='blade00792@yahoo.com' AND \`id\`!=94674) _c);
SAVEPOINT sp_94674;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (94674, 'tripleduce', '2026-04-13 18:29:34', 'tripleduce', '94674@legacy.skinbase.org', '$2y$12$bKEnHROprI2j0lI7UiMOGrD5j8e6GG9sYysFiOo7CPfdLTotipsf2', 'user', 1, 1, NULL, '2016-04-04 23:50:39', '2010-07-14 00:00:00', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='tripleduce', `username_changed_at`='2026-04-13 18:29:34', `name`='tripleduce', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 94674;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (94674, 'Well here I am ... Well I have been doing a lot of Icon Development over the past year and I have to say that I have achieved a lot..  I am still learning the basics on building Themes.. I will admit they are hard to do..But i will not give up on learning How to Develop Themes. 

Over the past year I have had to send my Laptops back and forth to get fixed because I have Crashed the Hard drives big time just from doing so much Editing Icons/png\'s/bmp\'s. what a lot of people don\'t know is that every time you delete something off your Hard Drive you take a Layer of its Skin off and you can only do that so many times before the Hard Drive becomes unstable and then it Crashes.. In about a Year I have gone through about 4 laptops.. Now I am sending my HP with Windows7 in to be fixed for the 3rd time this year and my other HP finely hit the point of no return and I had to get another laptop and this Laptop is made by Dell and its the (Inspiron M5030 running Windows7 64bit with a 450GB hard drive) and Guess what? After having it for 16 days the Damned hard Drive Crashed on Me, So they sent out a Tech to replace the Hard Drive and that was on December 8th 2010. I Honestly dont think that This Dell will Hold up for whats in store for it when I unleash my wrath upon it ..

Well I have been making a lot of different Icon\'s over the past 4 months.. I will be posting them here pretty soon.. 
I would like to take a moment to than all of you for Down Loading the things that I have Up loaded here on Skinbase and for all the Awesome Comments that all of you have sent me.. Thank you so Much..

Thanks again all of you ..


~TripleDuce~
TowMasteR@live.com
TripAceS@live.com
blade00792@yahoo.com
http://towmaster.wincustomize.com/', '1-Just Me.jpg', NULL, '106', 'US', NULL, 'http://towmaster.wincustomize.com/', 'M', '1965-11-24 00:00:00', '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`='Well here I am ... Well I have been doing a lot of Icon Development over the past year and I have to say that I have achieved a lot..  I am still learning the basics on building Themes.. I will admit they are hard to do..But i will not give up on learning How to Develop Themes. 

Over the past year I have had to send my Laptops back and forth to get fixed because I have Crashed the Hard drives big time just from doing so much Editing Icons/png\'s/bmp\'s. what a lot of people don\'t know is that every time you delete something off your Hard Drive you take a Layer of its Skin off and you can only do that so many times before the Hard Drive becomes unstable and then it Crashes.. In about a Year I have gone through about 4 laptops.. Now I am sending my HP with Windows7 in to be fixed for the 3rd time this year and my other HP finely hit the point of no return and I had to get another laptop and this Laptop is made by Dell and its the (Inspiron M5030 running Windows7 64bit with a 450GB hard drive) and Guess what? After having it for 16 days the Damned hard Drive Crashed on Me, So they sent out a Tech to replace the Hard Drive and that was on December 8th 2010. I Honestly dont think that This Dell will Hold up for whats in store for it when I unleash my wrath upon it ..

Well I have been making a lot of different Icon\'s over the past 4 months.. I will be posting them here pretty soon.. 
I would like to take a moment to than all of you for Down Loading the things that I have Up loaded here on Skinbase and for all the Awesome Comments that all of you have sent me.. Thank you so Much..

Thanks again all of you ..


~TripleDuce~
TowMasteR@live.com
TripAceS@live.com
blade00792@yahoo.com
http://towmaster.wincustomize.com/', `avatar_legacy`='1-Just Me.jpg', `cover_image`=NULL, `country`='106', `country_code`='US', `language`=NULL, `website`='http://towmaster.wincustomize.com/', `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 94674;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (94674, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 94674;

-- user_id=239185  username=sed  real_email=rtpzjk@gmail.com  (password placeholder; user must reset)
-- To restore real email after import: UPDATE \`users\` SET \`email\`='rtpzjk@gmail.com' WHERE \`id\`=239185 AND NOT EXISTS (SELECT 1 FROM (SELECT id FROM \`users\` WHERE \`email\`='rtpzjk@gmail.com' AND \`id\`!=239185) _c);
SAVEPOINT sp_239185;
INSERT IGNORE INTO `users` (`id`, `username`, `username_changed_at`, `name`, `email`, `password`, `role`, `is_active`, `needs_password_reset`, `legacy_password_algo`, `last_visit_at`, `created_at`, `updated_at`) VALUES (239185, 'sed', '2026-04-13 18:29:34', 'sed', '239185@legacy.skinbase.org', '$2y$12$JqEROgyjSSAsJNHBsw23ULvOgrTb6CImRpyewrWpa7eAFsxL0MCXv', 'user', 0, 1, NULL, '2021-08-06 00:26:37', '2021-02-10 01:20:22', '2026-04-13 18:29:34');
UPDATE `users` SET `username`='sed', `username_changed_at`='2026-04-13 18:29:34', `name`='sed', `updated_at`='2026-04-13 18:29:34' WHERE `id` = 239185;
INSERT IGNORE INTO `user_profiles` (`user_id`, `about`, `avatar_legacy`, `cover_image`, `country`, `country_code`, `language`, `website`, `gender`, `birthdate`, `updated_at`) VALUES (239185, NULL, NULL, NULL, '106', NULL, NULL, NULL, NULL, NULL, '2026-04-13 18:29:34');
UPDATE `user_profiles` SET `about`=NULL, `avatar_legacy`=NULL, `cover_image`=NULL, `country`='106', `country_code`=NULL, `language`=NULL, `website`=NULL, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 239185;
INSERT IGNORE INTO `user_statistics` (`user_id`, `uploads_count`, `downloads_received_count`, `artwork_views_received_count`, `awards_received_count`, `updated_at`) VALUES (239185, 0, 0, 0, 0, '2026-04-13 18:29:34');
UPDATE `user_statistics` SET `uploads_count`=0, `downloads_received_count`=0, `artwork_views_received_count`=0, `awards_received_count`=0, `updated_at`='2026-04-13 18:29:34' WHERE `user_id` = 239185;

-- ============================================================
-- The following user_ids were NOT found in legacy DB.
-- Their artworks are truly orphaned and cannot be auto-recovered.
-- ============================================================
-- user_id=166233
-- user_id=177005
-- user_id=177843
-- user_id=200678
-- user_id=204580
-- user_id=259102
-- user_id=261875
-- user_id=262378

COMMIT;

-- Recovered: 10  |  Truly orphaned (no SQL generated): 8
