discourse/db
Natalie Tay cc873977ec
DEV: Ensure unique notification level per tag user (#28638)
TagUser.rb is used to set user notification levels for a tag, we don't have a unique index on the notification level itself. This means that there might be some weird case where a user may have multiple of the same notification level on a tag.

This PR adds a migration which de-duplicates this based on defaults, where we keep the earliest record in the event there is multiple notification level per-user-per-tag.
2024-09-03 15:43:02 +08:00
..
fixtures FEATURE: Added Category Experts approved WebHook Event (#28525) 2024-09-03 06:59:15 +09:00
migrate DEV: Ensure unique notification level per tag user (#28638) 2024-09-03 15:43:02 +08:00
post_migrate DEV: Promote historic post_deploy migrations (#28127) 2024-07-30 00:49:21 +08:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00