mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Add ChatThread model and DB table, and ChatMessage reference (#20106)
This new table will be used to automatically group replies for messages into one place. In future additional functionality will be built around the thread, like pinning messages, changing the title, etc., the columns are just the main ones needed at first. The columns are not prefixed with `chat_*` e.g. `chat_channel` since this is redundant and just adds duplication everywhere, we want to move away from this generally within chat.
This commit is contained in:
@ -134,6 +134,7 @@ after_initialize do
|
||||
load File.expand_path("../app/models/chat_message_reaction.rb", __FILE__)
|
||||
load File.expand_path("../app/models/chat_message_revision.rb", __FILE__)
|
||||
load File.expand_path("../app/models/chat_mention.rb", __FILE__)
|
||||
load File.expand_path("../app/models/chat_thread.rb", __FILE__)
|
||||
load File.expand_path("../app/models/chat_upload.rb", __FILE__)
|
||||
load File.expand_path("../app/models/chat_webhook_event.rb", __FILE__)
|
||||
load File.expand_path("../app/models/direct_message_channel.rb", __FILE__)
|
||||
|
Reference in New Issue
Block a user