Files
cloud/press/patches/v0_0_1/truncate_server_status_table.py

10 lines
198 B
Python

# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# For license information, please see license.txt
import frappe
def execute():
frappe.db.sql("TRUNCATE `tabServer Status`")