discourse/db
Bianca Nenciu 0d8ecab362
FIX: Restore trust level when leaving group (#17954)
If a user was granted a trust level, joined a group that granted a trust
level and left the group, the trust level was reset. This commit tries
to restore the last known trust level before joining the group by
looking into staff logs.

This commit also migrates old :change_trust_level user history records
to use previous_value and new_value fields.
2022-08-29 13:00:48 +03:00
..
fixtures DEV: Add more color schemes (#17398) 2022-07-08 16:46:32 -05:00
migrate FIX: Restore trust level when leaving group (#17954) 2022-08-29 13:00:48 +03:00
post_migrate DEV: drop unused column flair_url from groups table. (#17179) 2022-06-22 00:15:05 +05:30
api_test_seeds.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00