Anyone has any recommendation to migrate Firestore data to AppWrite?
This can help you for users migration: https://dev.to/appwrite/migrate-firebase-users-to-appwrite-5aia
You have https://github.com/tannermeade/data-migrator built by a community member.
We're also working on a built-in capability to help you migrate from Firebase to Appwrite directly from the Appwrite console.
@bradleySchofield is working on that and can provide advice if you're struggling with Firebase APIs which makes it hard on purpose to migrate some things.
Thanks so much. Let me study these first.
Let us know how it worked for you, any feedback would help while we design and build this feature.
I will let you know how it goes with my migration. Thanks so much
Thanks, anytime
hey, i ended up writing a script to extract from Firestore, and insert to AppWrite because Firestore needs at least the Blaze plan to export out the data, and Firestore is rejecting my payment method from my country (idk why).
the only issue i encounter is updating $createdAt and $updatedAt. There is no way for me to update these system fields in AppWrite programmatically right?
Correct, the API does not allow modifying that.
You could try to go directly to the database
thanks Steven. You meant updating in the console > database? I just tried it but it is not editable. Or is it something else?
i meant directly in the mariadb database
oh, okay, i dont know yet how to access it to update. let me try to learn how. Thanks for letting me know
You can use this script: https://gist.github.com/stnguyen90/ffe40b7fe85985fc80f6bc9e0d430b3d. but this is kind of just for ad-hoc queries. for more extensive stuff it might be good to publish the mariadb port and then connect to it with a script that will update all the rows
Thanks a lot Steven. I will explore this
Recommended threads
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...