2019-01-22 18:22:20 +05:30
|
|
|
from __future__ import unicode_literals
|
2017-11-28 10:47:06 +05:30
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2017-12-01 16:10:39 +05:30
|
|
|
if frappe.db.exists("DocType", "Patient"):
|
|
|
|
if 'company' in frappe.db.get_table_columns("Patient"):
|
|
|
|
frappe.db.sql("alter table `tabPatient` drop column company")
|