How Managing Database Changes with Multiple Developers

How do I manage changes when I have a team of developers working on a project? I have already created a github repository and given them access; but when they work on DocTypes, how do we sync the changes as a team?

Changes in DocType definitions get exported into the respective JSON files. So you can collaborate using the normal git flow. When someone pulls the newest changes they need to run bench migrate to update their database according to the JSON definitions.

When you have shared data that is shipped with the app, you can use fixtures.

To change existing data (of production systems, usually) according to your updated DocType definition, you’ll need to write patches.

Thank you @rmeyer