Closed MeierTobias closed 7 months ago
I did not find an easy solution for moving the created documents from the collection hoeckler-new-3 into the original hoecker-new-3 collection.
Here is a script that should perform the required steps. https://stackoverflow.com/a/47263246 or this article https://leechy.hashnode.dev/firestore-move But maybe you have a better solution/idea. The Import/Export function could be a possibility but unfortunately I don't have the access rights to do this.
I have a script which I used a few times to move data to an other named data base. As we have the mapping table now I could do this. Before I would have to update the device first and then do the move.
Adjusted UI code and moved all data to the correct collection "hoeckler-new-3 "
Done
The collection name of the Höckler Trail is hoecker-new-3 instead of hoeckler-new-3. Are there any dependencies to this name on the UI side?
I did not notice that before and wrote hoeckler-new-3 into the connection table. That's the reason why the device was reported as offline today. I changed it to hoecker-new-3.