mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 02:02:27 +00:00
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com> Co-authored-by: Sojan Jose <sojan@chatwoot.com>
6 lines
186 B
Ruby
6 lines
186 B
Ruby
class AddUniqueIndexToConversationParticipants < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_index :conversation_participants, [:user_id, :conversation_id], unique: true
|
|
end
|
|
end
|