Browse Source

fix: patch for removing post and post comment doctypes

version-14
phot0n 3 years ago
parent
commit
6baae86787
2 changed files with 6 additions and 0 deletions
  1. +1
    -0
      frappe/patches.txt
  2. +5
    -0
      frappe/patches/v14_0/remove_post_and_post_comment.py

+ 1
- 0
frappe/patches.txt View File

@@ -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
- 0
frappe/patches/v14_0/remove_post_and_post_comment.py View 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…
Cancel
Save