Selaa lähdekoodia

fix: patch for removing post and post comment doctypes

version-14
phot0n 3 vuotta sitten
vanhempi
commit
6baae86787
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. +1
    -0
      frappe/patches.txt
  2. +5
    -0
      frappe/patches/v14_0/remove_post_and_post_comment.py

+ 1
- 0
frappe/patches.txt Näytä tiedosto

@@ -189,6 +189,7 @@ frappe.patches.v14_0.rename_cancelled_documents
frappe.patches.v14_0.update_workspace2 # 20.09.2021 frappe.patches.v14_0.update_workspace2 # 20.09.2021
frappe.patches.v14_0.save_ratings_in_fraction #23-12-2021 frappe.patches.v14_0.save_ratings_in_fraction #23-12-2021
frappe.patches.v14_0.transform_todo_schema frappe.patches.v14_0.transform_todo_schema
frappe.patches.v14_0.remove_post_and_post_comment


[post_model_sync] [post_model_sync]
frappe.patches.v14_0.drop_data_import_legacy frappe.patches.v14_0.drop_data_import_legacy


+ 5
- 0
frappe/patches/v14_0/remove_post_and_post_comment.py Näytä tiedosto

@@ -0,0 +1,5 @@
import frappe

def execute():
frappe.delete_doc_if_exists("DocType", "Post")
frappe.delete_doc_if_exists("DocType", "Post Comment")

Ladataan…
Peruuta
Tallenna