fix: patch for removing post and post comment doctypes
This commit is contained in:
parent
e716a55932
commit
6baae86787
2 changed files with 6 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ frappe.patches.v14_0.rename_cancelled_documents
|
|||
frappe.patches.v14_0.update_workspace2 # 20.09.2021
|
||||
frappe.patches.v14_0.save_ratings_in_fraction #23-12-2021
|
||||
frappe.patches.v14_0.transform_todo_schema
|
||||
frappe.patches.v14_0.remove_post_and_post_comment
|
||||
|
||||
[post_model_sync]
|
||||
frappe.patches.v14_0.drop_data_import_legacy
|
||||
|
|
|
|||
5
frappe/patches/v14_0/remove_post_and_post_comment.py
Normal file
5
frappe/patches/v14_0/remove_post_and_post_comment.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.delete_doc_if_exists("DocType", "Post")
|
||||
frappe.delete_doc_if_exists("DocType", "Post Comment")
|
||||
Loading…
Add table
Reference in a new issue