DocType's .json file and database


Each time we modify a DocType, its corresponding .json file will be updated with the new changes. Right?

What happens if I copy this .json file to another instance of Frappe/ERPNext and replace the existing one? Would the database be automatically updated with the new changes?

you will have to run the command for migration

bench --site {site_name} migrate
1 Like