mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
perf: Drop paty_type + party index
party alone provides almost all of cardinality. party_type might be separately useful in some cases but I don't see anything here.
This commit is contained in:
@@ -438,7 +438,6 @@ def update_against_account(voucher_type, voucher_no):
|
|||||||
|
|
||||||
|
|
||||||
def on_doctype_update():
|
def on_doctype_update():
|
||||||
frappe.db.add_index("GL Entry", ["party_type", "party"])
|
|
||||||
add_company_indexes()
|
add_company_indexes()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user