# Copyright (c) 2020, Jingrow Technologies Pvt. Ltd. and Contributors
# For license information, please see license.txt


import jingrow


def execute():
	jingrow.reload_pg("jcloude", "pagetype", "site_plan_change")
	for site in jingrow.db.get_all("Site", {"status": "Active"}, ["name"]):
		jingrow.get_pg("Site", site.name)._create_initial_site_plan_change()
