refactor!: remove hub #28117

refactor!: remove hub
This commit is contained in:
Ankush Menat
2021-10-28 14:07:15 +05:30
committed by GitHub
parent c8d0d9ece9
commit b01635e1da
79 changed files with 17 additions and 5090 deletions

View File

@@ -1,14 +0,0 @@
from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doc("Hub Node", "doctype", "Hub Tracked Item")
if not frappe.db.a_row_exists("Hub Tracked Item"):
return
frappe.db.sql('''
Update `tabHub Tracked Item`
SET published = 1
''')