chore: Additional indexes and fixes (#6675)

- Fix breakage related to the look-up job in Heroku deploys 
- Add additional db indexes for performance optimisations
This commit is contained in:
Sojan Jose
2023-03-15 19:52:02 +05:30
committed by GitHub
parent 7331154f04
commit de8c26dce8
5 changed files with 18 additions and 3 deletions

View File

@@ -26,7 +26,8 @@
#
# Indexes
#
# index_inboxes_on_account_id (account_id)
# index_inboxes_on_account_id (account_id)
# index_inboxes_on_channel_id_and_channel_type (channel_id,channel_type)
#
class Inbox < ApplicationRecord