mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
7 lines
263 B
Python
7 lines
263 B
Python
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def execute():
|
|
if frappe.db.exists("DocType", "Leave Type"):
|
|
if 'max_days_allowed' in frappe.db.get_table_columns("Leave Type"):
|
|
frappe.db.sql("alter table `tabLeave Type` drop column max_days_allowed") |