hotfix: remove user_roles where parentfield is blank

This commit is contained in:
Anand Doshi 2014-06-17 16:07:42 +05:30
parent cfaa386a41
commit ff71fa4da2

View file

@ -39,3 +39,4 @@ frappe.patches.v4_0.replace_deprecated_timezones
execute:import frappe.website.render; frappe.website.render.clear_cache("login"); #2014-06-10
frappe.patches.v4_0.fix_attach_field_file_url
execute:frappe.reset_perms("User") #2014-06-13
execute:frappe.db.sql("""delete from `tabUserRole` where ifnull(parentfield, '')=''""") #2014-06-17