Gustavo
Gustavo
CCConvex Community
Created by Gustavo on 9/27/2024 in #support-community
Migrating to Convex: how to deal with IDs?
If i'm migrating from another database (e.g. Firestore) to Convex, are there any recommendations on how to deal with the IDs as they're not valid in Convex? Should I just let Convex generate its own IDs and keep the old Firestore ID in a separate field in the document? But what about the relationships? I mean, I guess I won't be able to use the Convex IDs to reference other documents when initially importing the data. Or is there a completely different strategy that I should consider?
4 replies