fix patch

This commit is contained in:
tunde 2017-09-04 13:40:54 +01:00
parent 76bba08e45
commit bc9b5d699e

View File

@ -3,4 +3,5 @@ import frappe
def execute(): def execute():
if not frappe.db.has_column("GL Entry", "due_date"):
frappe.db.sql("ALTER TABLE `tabGL Entry` ADD COLUMN `due_date` DATE DEFAULT NULL") frappe.db.sql("ALTER TABLE `tabGL Entry` ADD COLUMN `due_date` DATE DEFAULT NULL")