discourse/db
Ted Johansson f08c6d2756
DEV: Switch over category settings to new table - Part 3 (#20657)
In #20135 we prevented invalid inputs from being accepted in category setting form fields on the front-end. We didn't do anything on the back-end at that time, because we were still discussing which path we wanted to take. Eventually we decided we want to move this to a new CategorySetting model.

This PR moves the require_topic_approval and require_reply_approval from custom fields to the new CategorySetting model.

This PR is nearly identical to #20580, which migrated num_auto_bump_daily, but since these are slightly more sensitive, they are moved after the previous one is verified.
2023-09-12 09:51:49 +08:00
..
fixtures FEATURE: add topic voting webhook event type (#23072) 2023-08-11 13:42:28 -03:00
migrate DEV: Switch over category settings to new table - Part 3 (#20657) 2023-09-12 09:51:49 +08:00
post_migrate DEV: Promote historic post_deploy migrations 2023-07-26 10:36:37 +02:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00