A platform for community discussion. Free, open, simple.
FIX: Import posts of missing users from phpbb3 (#9085)
Jarek Radoszf7ea2fdea564
diff --git a/script/import_scripts/phpbb3/database/database_3_0.rb b/script/import_scripts/phpbb3/database/database_3_0.rbindex 2b2c557d5f5..0799b92ba78 100644--- a/script/import_scripts/phpbb3/database/database_3_0.rb+++ b/script/import_scripts/phpbb3/database/database_3_0.rb@@ -83,7 +83,7 @@ module ImportScripts::PhpBB3CASE WHEN u.user_type = #{Constants::USER_TYPE_IGNORE} THEN p.post_username ELSE NULL END post_usernameFROM #{@table_prefix}posts pJOIN #{@table_prefix}topics t ON (p.topic_id = t.topic_id)- JOIN #{@table_prefix}users u ON (p.poster_id = u.user_id)+ LEFT OUTER JOIN #{@table_prefix}users u ON (p.poster_id = u.user_id)WHERE p.post_id > #{last_post_id}ORDER BY p.post_idLIMIT #{@batch_size}