minor: add patch for removing is_first_startup field

This commit is contained in:
phot0n 2022-05-04 10:43:43 +05:30
parent 33b49b4d46
commit ff080cde5a
2 changed files with 8 additions and 0 deletions

View file

@ -189,6 +189,7 @@ frappe.patches.v14_0.save_ratings_in_fraction #23-12-2021
frappe.patches.v14_0.transform_todo_schema
frappe.patches.v14_0.remove_post_and_post_comment
frappe.patches.v14_0.reset_creation_datetime
frappe.patches.v14_0.remove_is_first_startup
[post_model_sync]
frappe.patches.v14_0.drop_data_import_legacy

View file

@ -0,0 +1,7 @@
import frappe
def execute():
frappe.db.sql(
"""DELETE FROM `tabSingles` where doctype = 'System Settings' and field = 'is_first_startup'"""
)