fix: dont add index for global search doctype
This commit is contained in:
parent
633e2b546c
commit
7f82ee873e
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue