I have an application installed on mobile phones where users read and write to the Firebase database. I want to change the database schema:
|-- "app" | |-- "a" | |--"y" | |-- "b" | |--"y"
as follows, where a and b were combined into one:
|-- "app" | |-- "x" | |--"y"
Keeping the application running on both clients that have not been updated to the new version, with a new schema structure and updated clients.
The problem is reconciling and updating the two schemes when deploying the new version of the application, since we cannot be sure that people have updated the application.
In Firebase, this is possible, since there is no server to handle this? Like Firebase, are there any functions for listening to recording events and then duplicating this data in other places, or what are my options?
database database-migration firebase firebase-database
eikooc
source share