mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
Added indexes for lft, rgt on nestedset doctypes (#13420)
This commit is contained in:
@@ -177,4 +177,7 @@ def get_children(doctype, parent, is_root=False):
|
||||
|
||||
# return nodes
|
||||
return land_units
|
||||
|
||||
|
||||
|
||||
def on_doctype_update():
|
||||
frappe.db.add_index("Land Unit", ["lft", "rgt"])
|
||||
Reference in New Issue
Block a user