feat: add index to conversation id and account_id (#6757)

- This PR adds an index to conversations id and account_id. This improves the performance of some reports query
This commit is contained in:
Shivam Mishra
2023-03-28 22:34:04 +05:30
committed by GitHub
parent 54a809ea54
commit bc8e8f3bb5
6 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
# frozen_string_literal: true
if Rails.env.development?
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
end