[minor] [patch] drop in_dialog column in DocType
This commit is contained in:
parent
7a08311817
commit
bd74036e07
2 changed files with 6 additions and 0 deletions
|
|
@ -165,3 +165,4 @@ execute:frappe.rename_doc('Country', 'Tanzania, United Republic of', 'Tanzania',
|
|||
execute:frappe.rename_doc('Country', 'Syrian Arab Republic', 'Syria', ignore_if_exists=True)
|
||||
frappe.patches.v8_0.rename_listsettings_to_usersettings
|
||||
frappe.patches.v7_2.update_communications
|
||||
frappe.patches.v8_0.drop_in_dialog
|
||||
|
|
|
|||
5
frappe/patches/v8_0/drop_in_dialog.py
Normal file
5
frappe/patches/v8_0/drop_in_dialog.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import frappe
|
||||
|
||||
def execute():
|
||||
if frappe.db.has_column('DocType', 'in_dialog'):
|
||||
frappe.db.sql('alter table tabDocType drop column in_dialog')
|
||||
Loading…
Add table
Reference in a new issue