Good day everyone,
I have created my first branch, with its own databases modifications compared to the Main. While working in this branch, if I hit Preview, it looks like the changes are applied to Main database and not the database of my branch - which is obviously not what I need.
Did I miss something?
Thanks 
Are you talking about the database structure (schema)? or the actual data?
It seems like the branch might not be correctly linked to its own database. In Bubble, make sure that your branch is set to use a separate development database. Check the Data tab under the App Data section to ensure your branch is using its own database and not the Main database.
Thanks 
Here is what I have, and I donāt see any option regarding this link between branch and database.
The database of the Evaluation branch
And the structure of my environment
Preview of Evaluation remains linked to Main database.
And I checked the URL, they are different.
Main
/version-test/
Evaluation
/version-91bb9/
Bubble apps only have 2 database: one for the live environment, and one for development.
All branches share the same development database.
Check under āSettingsā > āGeneralā and make sure youāre in the correct branch. Verify that your branch is configured to use a separate development database, and not the main one
if the preview for your branch is still linked connect to the main database try these steps.
1: Verify Branch Settings: Ensure youāre in the correct branch in Bubble and that itās set up to use its own database.
2: Check Privacy Rule: Ensure that privacy rules arenāt causing unexpected data access issues.
3:Clear Cache Sometimes, clearing your browser cache can help resolve preview issues.
4:Recheck URLs: Double-check that youāre accessing the Preview URL for the correct branch.
With all due respect⦠if you donāt know what youāre talking about (and clearly you donāt, as not a single word youāve written there is correct, or even makes any sense), why bother commenting on someoneās genuine question with completely false information?
Although, Iām pretty sure thatās a chat GPT response, and your account is barely a week old, so I doubt youāre even real.
1 Like
Thatās because thereās no such thing - the other poster is talking nonsense (it looks like a Chat GPT response to me).
1 Like
Ok, no worries.
2 Databases only. But with possible different data structures - which I find very destabilizing.
In the example below, I have Main on the left and Evaluation on the right.
Evaluation has an additional User Type table and field in User table.
When creating a user in each environment, I now see that both are added to the unique database. But Evaluation has the additional field populated while Main doesnāt have it.
I might have had a database refresh issue in my IDEā¦
Thanks for your help guys!
1 Like
With all due respect⦠if I can help someone, whatās wrong with that? Yes, my account is new, but I genuinely want to help. If my help can benefit someone, thereās nothing wrong with that. Iām just trying my best, and if there are doubts about whether I am real, thereās no need to be skeptical.
system
Closed
12
This topic was automatically closed after 70 days. New replies are no longer allowed.