I see there is a way to basically move data through environments using the Firebase/Google export and import functions.
Docs:
I used this to move data from my dev env to staging, but it didn't move the authentication objects over, which makes some sense since they are not in the CloudFirestore. However, my app has a quite a lot of data hanging on the user profile, which is linked to the authentication objects. The export/import data did move over the user collection but basically every document in that collection is now orphaned because it doesn't tie back to an authentication object, and there appears to be no way to change the document id through the firebase console.
While this is inconvenient, my greater concern is that if we have some sort of catastrophe when trying to upgrade our app that has a new and improved data model, there is no easy way to roll back the data to a known state that is in sync with the authentication objects.
Is there any work around for this situation? Thanks in advance for any/all replies.
Best Regards,
MG