Nextjs Prisma Vercel how to use migrate command?
# orm-help
a
Nextjs Prisma Vercel how to use migrate command?
e
you can do this:
"vercel-build": "prisma generate && prisma migrate deploy && next build",
a
@Elie Steinbock Thanks
h
thanks was looking for the same
is it ok to run this on every build?
e
im new to prisma. seems to be what they recommend though
need to make sure you’re migrations are in order to do this