Files
schuetz3-erpnext/erpnext/patches/v10_0/update_hub_connector_domain.py
2019-01-22 18:36:10 +05:30

10 lines
276 B
Python

from __future__ import unicode_literals
import frappe
def execute():
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'
""")