mb
mb
CCConvex Community
Created by mb on 2/18/2025 in #support-community
Moving Migrations to their Own Files
Hi folks, I’m working on adding Migrations using the Stateful Migrations Component and have got everything working. I got a note in code review from @Eva that it’d be good if we could split up our migrations into their own individual files, but when I attempted to do that, I started getting Convex errors. Is there a supported way to use the migrations component and also have each migration live in its own typescript file (e.g. /convex/migrations/setQuestsUpdatedTimestamp.ts)?
7 replies