mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 22:34:57 +00:00
We usually don't enforce foreign key relationships on the database level. Because of that, occasionally it's possible to see a chat message that references to a non-existent chat_channel or user. MessagesExporter failed in such case before, this PR fixes that.