Skip to content Skip to sidebar Skip to footer

Versioning Objects In Firebase

I am using firebase as a database for a mobile application. Mobile application version 1 using a certain DB structure. But in version 2 I have a major schema changes. I could not f

Solution 1:

Use cloud function database functions to migrate data from db/v1 to db/v2. On update event in db/v1, you can write to db/v2 in parallel, so all active user data can move into db/v2.

https://firebase.google.com/docs/functions/database-events

Migrate data asap!

Post a Comment for "Versioning Objects In Firebase"