Automatically apply migrations on serverless deploy
I've got a basic Todo app using Turso DB and Nuxt: https://github.com/Amar-Gill/nuxt-todo
I'm wondering if there is a way to automatically apply migrations when I deploy to Vercel? The build command is
Right now, I open a shell into my Turso DB and paste the migration scripts.
I might have to wait for a migration runner in drizzle-kit to ship: https://orm.drizzle.team/kit-docs/faq#how-do-i-apply-migrations-generated-by-drizzle-kit
I'm wondering if there is a way to automatically apply migrations when I deploy to Vercel? The build command is
npm run build.Right now, I open a shell into my Turso DB and paste the migration scripts.
I might have to wait for a migration runner in drizzle-kit to ship: https://orm.drizzle.team/kit-docs/faq#how-do-i-apply-migrations-generated-by-drizzle-kit
GitHub
Contribute to Amar-Gill/nuxt-todo development by creating an account on GitHub.
Drizzle ORM | %s