mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-13 17:20:36 +00:00
Added indexes for lft, rgt on nestedset doctypes (#13420)
This commit is contained in:
@@ -236,3 +236,6 @@ def add_multiple_tasks(data, parent):
|
||||
new_doc['subject'] = d.get("subject")
|
||||
new_task = frappe.get_doc(new_doc)
|
||||
new_task.insert()
|
||||
|
||||
def on_doctype_update():
|
||||
frappe.db.add_index("Task", ["lft", "rgt"])
|
||||
Reference in New Issue
Block a user