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
- Issue with relations on database
I'm creating a food ordering website for businesses. I'm having issues with the relations on my database I attached the attributes for the collections I'm hav...
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...