fix: dont add index for global search doctype

This commit is contained in:
Himanshu Warekar 2019-11-27 14:08:45 +05:30
parent 633e2b546c
commit 7f82ee873e

View file

@ -3,10 +3,8 @@
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
# import frappe
from frappe.model.document import Document
class GlobalSearchDocType(Document):
def on_doctype_update():
frappe.db.add_index("Global Search DocType", ["document_type"])
pass