[React Native] DB duplicated to the emulator. Intentional?

Scenario: 1. App has a db.db file and uses it 2. Prisma Studio shows a different sort of data, as if there were 2 separate DBs at the same time, which makes no sense What happens: 1. Changing rows in Studio interface modifies one DB that the app does not use 2. Changing rows through the app (using db.create...) changes the DB that Studio does not see It leaves me thinking in RN prisma there are actually two separate DBs: 1. actual DB file that lives in the project on my PC and which Studio uses 2. DB replicated in the emulator's memory that persists there, which the app uses. Whether this is a bug or designed to be so, I would like to have both Prisma Studio and my app use the only instance of the db file, can I do so?
No description
2 Replies
RaphaelEtim
RaphaelEtim2mo ago
Hi @piscopancer Can you please ask this question in the #orm-for-expo-feedback channel ?
piscopancer
piscopancerOP2mo ago
I see, that's because RN prisma is early access, gotta go ask there
Want results from more Discord servers?
Add your server