From 21b997bd8b1fec893e03ad0645be23fee8ce8b51 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 3 Feb 2022 13:09:12 +0530 Subject: [PATCH] fix: delete chat message attachments (#15852) --- frappe/patches/v13_0/remove_chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/patches/v13_0/remove_chat.py b/frappe/patches/v13_0/remove_chat.py index d884419cac..1804c7693f 100644 --- a/frappe/patches/v13_0/remove_chat.py +++ b/frappe/patches/v13_0/remove_chat.py @@ -3,6 +3,7 @@ import click def execute(): frappe.delete_doc_if_exists("DocType", "Chat Message") + frappe.delete_doc_if_exists("DocType", "Chat Message Attachment") frappe.delete_doc_if_exists("DocType", "Chat Profile") frappe.delete_doc_if_exists("DocType", "Chat Token") frappe.delete_doc_if_exists("DocType", "Chat Room User")