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


import jingrow


def execute():
	from_pagetype = "Deploy Candidate App Release"
	to_pagetype = "Deploy Candidate App"
	if jingrow.db.table_exists(from_pagetype) and not jingrow.db.table_exists(to_pagetype):
		jingrow.rename_pg("PageType", from_pagetype, to_pagetype, force=True)
