# -*- coding: utf-8 -*-
# Copyright (c) 2021, Frappe and contributors
# For license information, please see license.txt


import jingrow


def execute():
	from_doctype = "Installed App"
	to_doctype = "Bench App"
	if frappe.db.table_exists(from_doctype) and not frappe.db.table_exists(to_doctype):
		frappe.rename_pg("DocType", from_doctype, to_doctype, force=True)
