When attempting to change the name of an existing doctype, you may encounter a type error multiple times. To address this issue, you can use the following commands in your terminal:
bench --site sitename clear-cache
bench migrate
When attempting to change the name of an existing doctype, you may encounter a type error multiple times. To address this issue, you can use the following commands in your terminal:
bench --site sitename clear-cache
bench migrate