perf: Drop party_type index

It's covered by party_type + party index. So this is not required at all.

Party type is also a rarely used as most selective filter => By nature it has very low cardinality.
This commit is contained in:
Ankush Menat
2025-04-21 22:04:36 +05:30
parent a599632f8a
commit 1b85fbf0e5

View File

@@ -86,8 +86,7 @@
"fieldname": "party_type", "fieldname": "party_type",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Party Type", "label": "Party Type",
"options": "DocType", "options": "DocType"
"search_index": 1
}, },
{ {
"fieldname": "party", "fieldname": "party",
@@ -359,7 +358,7 @@
"idx": 1, "idx": 1,
"in_create": 1, "in_create": 1,
"links": [], "links": [],
"modified": "2025-03-21 15:29:11.221890", "modified": "2025-04-21 22:03:45.548936",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "GL Entry", "name": "GL Entry",
@@ -390,6 +389,7 @@
} }
], ],
"quick_entry": 1, "quick_entry": 1,
"row_format": "Dynamic",
"search_fields": "voucher_no,account,posting_date,against_voucher", "search_fields": "voucher_no,account,posting_date,against_voucher",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",