mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
22a55ef0ce
This commit adds the messages_count column for ChatChannel messages, which is the number of not-deleted messages in the channel. This is not updated every time a message is created or deleted in a channel, so it should not be displayed in the UI. It is updated eventually via Jobs::ChatPeriodicalUpdates, which will have additional functions in future after being introduced here. Also update these counts for existing channels in a post migration. |
||
---|---|---|
.. | ||
20220104051326_change_chat_channels_timestamp_columns_to_timestamp_type.rb | ||
20220321235638_drop_chat_message_post_connections_table.rb | ||
20220504080457_drop_old_chat_message_post_id_action_code_columns.rb | ||
20220516142658_remove_email_statuses_table.rb | ||
20220518180642_remove_user_option_last_emailed_at.rb | ||
20220526135414_remove_corrupted_last_read_message_id.rb | ||
20220531105951_drop_user_chat_channel_last_reads.rb | ||
20220630074200_drop_chat_isolated_from_user_options.rb | ||
20220701195731_convert_chatable_topics_to_categories.rb | ||
20221004122254_delete_reviewables_targetting_deleted_chat_messages.rb | ||
20221018091412_migrate_chat_channels.rb | ||
20221027090832_migrate_dm_channels.rb | ||
20221104054957_backfill_channel_slugs.rb | ||
20221117052348_truncate_chat_messages_over_max_length.rb | ||
20221117142910_delete_orphaned_channels.rb | ||
20221201032830_drop_tmp_chat_slug_tables.rb | ||
20221202043755_update_chat_channel_message_counts.rb |