chore: Add index on conversations.uuid (#5179)
- We search for conversations by this attribute (e.g. in ReplyMailbox and CsatSurveyController) so it seems like we should have an index on it.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddConversationUuidUniqueIndex < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_index :conversations, :uuid, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user