diff --git a/wiki/wiki/doctype/wiki_feedback/patches/delete_wiki_feedback_item.py b/wiki/wiki/doctype/wiki_feedback/patches/delete_wiki_feedback_item.py index 6ac1fe96..fbf1f533 100644 --- a/wiki/wiki/doctype/wiki_feedback/patches/delete_wiki_feedback_item.py +++ b/wiki/wiki/doctype/wiki_feedback/patches/delete_wiki_feedback_item.py @@ -2,6 +2,9 @@ def execute(): + if not frappe.db.table_exists("Wiki Feedback Item"): + return + for d in frappe.db.sql("select * from `tabWiki Feedback Item`", as_dict=True): if not d.parent: continue