How to apply DocTypes changes on production server?

Hello,

I have my develop environment and my production server… I create a several new DocTypes, and change some DocFields on my development env… update the git, and push to my production server.

My Question: There’s away to update all databases (all sites) with these changes?

regards

Once everything is pushed to the server, you can do a bench migrate → it will update all doctypes.

If you have modified ERPNext doctype’s, don’t forget to export the changes (with the button inside the doctype).

As for custom Script, Permissions, Workflow, … you need to create fixtures for them.

1 Like