mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
570bb68579
On sites that were seeded with a general category id and that category was deleted prior to the fix in efb116d2bd4d1e02df9ddf79316112e0555b4c1e this migration will reset the SiteSetting.general_category_id back to the default because there is no longer a corresponding category for it. This is to fix a composer bug that occurs if there is a SiteSetting.general_category_id value present that doesn't match an existing category.