DEV: Add compatibility with Rails 7.1

This commit is contained in:
Loïc Guitaut 2024-06-06 15:55:12 +02:00 committed by Loïc Guitaut
parent a92b4cfc28
commit 18fb988442
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ module DiscourseChatIntegration::Provider::SlackProvider
created_at: Time.zone.now,
updated_at: Time.zone.now,
},
unique_by: %i[topic_id name],
unique_by: :index_topic_custom_fields_on_topic_id_and_slack_thread_id,
)
end
end