run in cloud in different branch erased the data in database?

Hi I’m a newbie that still tries things in Mendix. I encounters a problem that I cannot understand where should i look for solution. I have a project with multiple branch line. I was developing things and adding data to the database in a branch called “branch_email_2” when suddenly I thought to myself “lets try run the main line in the cloud”. After i run in to the cloud, no matter what branch i am in, the data grid that supposed to show my data is not showing it anymore. Did it erased the data because im running in the branch that has a previous version? If it did, is there anyway to revert/ rollback this data? thanks for your help im quite clueless in this
2 answers

Since you are using the database in the cloud for branch and your main line you have run into problems. If you create an entity in your branch line that is not in your main line and run your main line again in the cloud it will remove the entity from the database and thus you lose your data. And with the free version that means you have lost your data because you can not retrieve the backup from before running the main line again.
Your branch line should use the local database. Then when everything works as expected you merge the branch back to the main line and deploy again.




Check if you are using the same database by going to the project’s Settings,

In tab ‘Configuration’ doubleclick the configuration name that you are using (marked by the green V)

check if databasename is the same for both branches. They are probably different.