chore: keep old field data for role profile around
Avoids potential data loss, it will get cleaned up over time.
This commit is contained in:
parent
19044c4be4
commit
37489d3715
1 changed files with 0 additions and 1 deletions
|
|
@ -8,7 +8,6 @@ def execute():
|
|||
)
|
||||
user_profiles = get_records_to_insert(users)
|
||||
bulk_insert("User Role Profile", user_profiles, ignore_duplicates=True)
|
||||
frappe.db.set_value("User", {}, "role_profile_name", None, update_modified=None)
|
||||
|
||||
|
||||
def get_records_to_insert(users):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue