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