fix: delete doctypes from old modules

This commit is contained in:
Jannat Patel
2022-07-05 18:50:10 +05:30
parent 384850b452
commit e011ef469f
2 changed files with 8 additions and 0 deletions

View 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"})