Implement FEP 7888: Part 1 - publish conversation context (#35959)

This commit is contained in:
Jesse Karmani 2025-09-05 12:28:29 -07:00 committed by GitHub
parent 9463a31107
commit 65b4a0a6f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 309 additions and 12 deletions

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
class AddParentStatusAndParentAccountToConversations < ActiveRecord::Migration[8.0]
def change
add_column :conversations, :parent_status_id, :bigint, null: true, default: nil
add_column :conversations, :parent_account_id, :bigint, null: true, default: nil
end
end

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
class AddIndexOnConversationToStatuses < ActiveRecord::Migration[8.0]
disable_ddl_transaction!
def change
add_index :statuses, :conversation_id, algorithm: :concurrently
end
end