iachat/db
Muhsin Keloth 7e8fe78ecd
perf: Add database index on conversations identifier (#12715)
**Problem**
Slack webhook processing was failing with 500 errors due to database
timeouts. The query `Conversation.where(identifier:
params[:event][:thread_ts]).first` was performing full table scans and
hitting PostgreSQL statement timeout.

**Solution**
Added database index on conversations.identifier and account_id.
2025-10-28 15:12:46 +05:30
..
migrate perf: Add database index on conversations identifier (#12715) 2025-10-28 15:12:46 +05:30
schema.rb perf: Add database index on conversations identifier (#12715) 2025-10-28 15:12:46 +05:30
seeds.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30