patch fix

This commit is contained in:
Shreya 2018-03-19 18:17:54 +05:30
parent 5042dd32da
commit 9602bf4ba3

View File

@ -1,8 +1,9 @@
import frappe
def execute():
frappe.db.sql("""
UPDATE `tabData Migration Connector`
SET hostname = 'https://hubmarket.org'
WHERE connector_name = 'Hub Connector'
""")
if frappe.db.table_exists("Data Migration Connector"):
frappe.db.sql("""
UPDATE `tabData Migration Connector`
SET hostname = 'https://hubmarket.org'
WHERE connector_name = 'Hub Connector'
""")