yhY
Convex Community3w ago
5 replies
yh

Migrating data from another DB while preserving order

Hi,

Im migrating data from Supabase to Convex. My app displays a paginated list of media items which are ordered by the "order" query modifier. I presume that it is ordered by _creationTime.

My problem is that I batch migrate my data and all my media item records have the same _creationTime.
1. Can I order by a custom field and not _creationTime?
2. If not, since _creationTime is not modifiable, any idea what I can do to solve this issue?

Thanks and Merry Christmas!
Was this page helpful?