Ankush Menat 593626f502
perf: add indexes on payment entry reference (#33288)
Adds index on:
1. reference doctype
2. reference name

*Why not composite index?*

There are three type of queries on this doctype

- filtering ref_doctype - doctype index helps here
- filtering ref_name - name index helps here
- filtering both - name index helps here too. Since it has sufficiently
  high cardinality. Composite index wont help in case where ref_doctype
  isn't specfied.


[skip ci]
2022-12-12 12:58:11 +05:30
..
2022-11-30 23:57:26 +05:30
2022-03-28 18:52:46 +05:30
2022-04-28 12:02:54 +05:30
2022-12-07 17:50:35 +05:30
2022-11-23 17:47:05 +05:30
2022-10-13 15:25:22 +05:30
2022-05-15 20:42:34 +05:30
2022-03-28 18:52:46 +05:30
2022-12-01 23:35:21 +05:30