0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-solved/db
Martin Brennan 982fba1536
FIX: Add missing solved_topics_auto_close_hours custom field entries (#42255)
When `solved_topics_auto_close_hours` is null/missing in the DB for
Support type categories, the UI defaults to 48 hours for this setting,
but this can be surprising for admins when changing some other support
category setting, as it will go from 0 -> 48 hours in the background.

This commit fixes the issue by backfilling a new custom field
value for `solved_topics_auto_close_hours`, setting it to `0`
on categories with `enable_accepted_answers` set to true
and no existing value for the field.

New support categories are unaffected, as we set 48 hours by
default there.
2026-08-04 09:04:44 +10:00
..
fixtures DEV: add upcoming change for Solved badges (#41613) 2026-07-15 18:15:07 +04:00
migrate FIX: Add missing solved_topics_auto_close_hours custom field entries (#42255) 2026-08-04 09:04:44 +10:00
post_migrate DEV: Allow multiple solutions in solved plugin (#39806) 2026-05-28 07:12:28 -05:00