mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:42:16 +08:00
4d045bfc61
This SQL tries to insert as much data as possible into the `user_stats` table by either calculating or by approximating stats based on existing. It also fixes an error in the calculation of `reply_count`which mistakenly contained all posts, not just replies. This change also disables some steps in the `import:ensure_consistency` rake task by setting the `SKIP_USER_STATS` env variable. Otherwise, the rake task will overwrite the calculated data in the `user_stats` table with inaccurate data. I'm not changing or removing the logic from the rake task yet because other bulk import scripts seem to depend on it. |
||
---|---|---|
.. | ||
base.rb | ||
discourse_merger.rb | ||
generic_bulk.rb | ||
phpbb_postgresql.rb | ||
uploads_importer.rb | ||
uploads_importer.yml | ||
vanilla.rb | ||
vbulletin.rb | ||
vbulletin5.rb |