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 import frappe
def execute(): def execute():
frappe.db.sql(""" if frappe.db.table_exists("Data Migration Connector"):
UPDATE `tabData Migration Connector` frappe.db.sql("""
SET hostname = 'https://hubmarket.org' UPDATE `tabData Migration Connector`
WHERE connector_name = 'Hub Connector' SET hostname = 'https://hubmarket.org'
""") WHERE connector_name = 'Hub Connector'
""")