22 lines
519 B
Python
22 lines
519 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
if "event_streaming" in frappe.get_installed_apps():
|
|
return
|
|
|
|
frappe.delete_doc_if_exists("Module Def", "Event Streaming", force=True)
|
|
|
|
for doc in [
|
|
"Event Consumer Document Type",
|
|
"Document Type Mapping",
|
|
"Event Producer",
|
|
"Event Producer Last Update",
|
|
"Event Producer Document Type",
|
|
"Event Consumer",
|
|
"Document Type Field Mapping",
|
|
"Event Update Log",
|
|
"Event Update Log Consumer",
|
|
"Event Sync Log",
|
|
]:
|
|
frappe.delete_doc_if_exists("DocType", doc, force=True)
|