fix: doctype name in patch
This commit is contained in:
parent
3a67a78ece
commit
733bde31c9
@ -2,6 +2,6 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
if frappe.db.exists("DocType", "Membership Settings"):
|
||||
if 'webhook_payload' in frappe.db.get_table_columns("Membership Settings"):
|
||||
frappe.db.sql("alter table `tabMembership Settings` drop column webhook_payload")
|
||||
if frappe.db.exists("DocType", "Membership"):
|
||||
if 'webhook_payload' in frappe.db.get_table_columns("Membership"):
|
||||
frappe.db.sql("alter table `tabMembership` drop column webhook_payload")
|
Loading…
x
Reference in New Issue
Block a user