mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 13:55:07 +00:00
38e7b1a049
There is an fk to user_profile that can make destroying uploads fail if they happen to be set as user profile. This ensures we clear this information when destroying uploads. There are more relationships, but this makes some more progress.