What's is the recommended way to do DB migrations, when deploying to vercel?

Now I do the migration right after building the app, here is my build command:
vinxi build && drizzle-kit push

Is this approach fine, or is there some gotchas? What's the recommended way to solve it? Couldn't find info in docs
Was this page helpful?