patch fix
diff --git a/erpnext/patches/v10_0/update_hub_connector_domain.py b/erpnext/patches/v10_0/update_hub_connector_domain.py
index fc3c294..808ae77 100644
--- a/erpnext/patches/v10_0/update_hub_connector_domain.py
+++ b/erpnext/patches/v10_0/update_hub_connector_domain.py
@@ -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'
-    """)
\ No newline at end of file
+	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'
+		""")
\ No newline at end of file