Jinho Kim
Jinho Kimโ€ข11mo ago

migration with convex-ents

How can i migrate with convex-ents? If i write a schema like the following, i get error by difference with EntDefinition types. Is it compatible between migration helpers and convex-ents?
const schema = defineEntSchema(
{
migration: migrationsTable,
...
}
const schema = defineEntSchema(
{
migration: migrationsTable,
...
}
3 Replies
Michal Srb
Michal Srbโ€ข11mo ago
Hey @Jinho Kim, please update to latest convex-ents and follow: https://labs.convex.dev/convex-ents/migrations
Migrating Ents - Convex Ents
Relations, default values, unique fields and more for Convex
Jinho Kim
Jinho KimOPโ€ข11mo ago
Thanks for sharing this, Michal๐Ÿ˜๐Ÿ‘
Michal Srb
Michal Srbโ€ข10mo ago
Hey @Jinho Kim, please upgrade to the latest version of convex-ents, there was a bug in the defineEntFromTable helper ๐Ÿ™‚

Did you find this page helpful?