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

import jingrow


def execute():
	jingrow.reload_doctype("App Release")

	jingrow.db.sql(
		"""
		UPDATE
			`tabApp Release`
		SET
			status = 'Draft'
		WHERE
			IFNULL(status, '') = ''
	"""
	)
