Merge pull request #13304 from achillesrasquinha/hotfix-hub
[HOTFIX] Hub Domain Change
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index d06b405..512e440 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -495,3 +495,4 @@
erpnext.patches.v10_0.update_territory_and_customer_group
erpnext.patches.v10_0.update_warehouse_address_details
erpnext.patches.v10_0.update_reserved_qty_for_purchase_order
+erpnext.patches.v10_0.update_hub_connector_domain
diff --git a/erpnext/patches/v10_0/update_hub_connector_domain.py b/erpnext/patches/v10_0/update_hub_connector_domain.py
new file mode 100644
index 0000000..fc3c294
--- /dev/null
+++ b/erpnext/patches/v10_0/update_hub_connector_domain.py
@@ -0,0 +1,8 @@
+import frappe
+
+def execute():
+ frappe.db.sql("""
+ UPDATE `tabData Migration Connector`
+ SET hostname = 'https://hubmarket.org'
+ WHERE connector_name = 'Hub Connector'
+ """)
\ No newline at end of file