0924f874bd
We've had the UploadReference table for some time now in core, but it was added after ChatUpload was and chat was just never moved over to this new system. This commit changes all chat code dealing with uploads to create/ update/delete/query UploadReference records instead of ChatUpload records for consistency. At a later date we will drop the ChatUpload table, but for now keeping it for data backup. The migration + post migration are the same, we need both in case any chat uploads are added/removed during deploy. |
||
---|---|---|
.. | ||
concerns | ||
category_channel.rb | ||
chat_channel.rb | ||
chat_channel_archive.rb | ||
chat_draft.rb | ||
chat_mention.rb | ||
chat_message.rb | ||
chat_message_reaction.rb | ||
chat_message_revision.rb | ||
chat_upload.rb | ||
chat_view.rb | ||
chat_webhook_event.rb | ||
deleted_chat_user.rb | ||
direct_message.rb | ||
direct_message_channel.rb | ||
direct_message_user.rb | ||
incoming_chat_webhook.rb | ||
reviewable_chat_message.rb | ||
user_chat_channel_membership.rb |