Branch Database issue

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 :slight_smile:

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 :slightly_smiling_face:

Yes, the actual data.

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

:slight_smile: 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.

This topic was automatically closed after 70 days. New replies are no longer allowed.