fix: delete doctypes from old modules
This commit is contained in:
7
lms/patches/v0_0/delete_old_module_docs.py
Normal file
7
lms/patches/v0_0/delete_old_module_docs.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
|
||||
frappe.db.delete("DocType", {"module": "Conference"})
|
||||
frappe.db.delete("DocType", {"module": "Hackathon"})
|
||||
frappe.db.delete("DocType", {"module": "Event Management"})
|
||||
Reference in New Issue
Block a user