Merge pull request #10826 from saurabh6790/salary_struct_fix_1

Salary struct fix
This commit is contained in:
Saurabh 2017-09-18 16:18:35 +05:30 committed by GitHub
commit 0396674d0d

View File

@ -2,4 +2,4 @@ import frappe
def execute():
if 'employee' in frappe.db.get_table_columns("Salary Structure"):
frappe.db.sql("alter table `tabEmployee` drop column employee")
frappe.db.sql("alter table `tabSalary Structure` drop column employee")