discourse/db
Roman Rizzi 39a6de3d73
FIX: Clean required category tag groups with invalid tag_group ids (#16414)
The category table's required_tag_group_id contained references to deleted tag groups, which we copied to the new table. The new serializer tries to get the associated tag group name but fails because the tag group is nil.

This PR adds an inner join in the original migration to make sure tag groups still exist and adds a new post-migration to fix already migrated sites.
2022-04-07 17:02:11 -04:00
..
fixtures FEATURE: adds the user_promoted event to webhooks (#15996) 2022-02-22 10:57:18 +01:00
migrate FIX: Clean required category tag groups with invalid tag_group ids (#16414) 2022-04-07 17:02:11 -04:00
post_migrate FIX: Clean required category tag groups with invalid tag_group ids (#16414) 2022-04-07 17:02:11 -04:00
api_test_seeds.rb