drizzle runtime migrations with svelte production build
Hi! I am using better-auth with drizzle-orm and i am doing the 4th way of handling migrations
This works in dev, but when i build image in prod, i get error file not found error, probs cus it got compiled and stuff. How can i workaround this ?

1 Reply
fixed it by moving drizzle migrations to root and docker file changes of copying migrations folder into final image
COPY drizzle /riven/drizzle
my schemas, relations, db etc are still inside src/lib/server