mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:03:13 +08:00
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. |
||
---|---|---|
.. | ||
regular | ||
scheduled | ||
chat_channel_archive_spec.rb | ||
chat_channel_delete_spec.rb | ||
chat_periodical_updates_spec.rb | ||
delete_old_chat_messages_spec.rb | ||
process_chat_message_spec.rb | ||
update_user_counts_for_chat_channels_spec.rb |