mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 09:25:37 +08:00

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.