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
- Bug Report: Crash when trying to createR...
https://github.com/appwrite/sdk-for-android/issues/96 I think the bug is related with this one https://discord.com/channels/564160730845151244/1443887021314539...
- Cloud 500 error
- float
Hello everyone, So, I created a column of type **float** with the **min** and **required** options, I noticed that it wouldn't let me set a **2 decimal points ...