Turso with redwood

Hi I’m trying to still use sqlite in prod via turso and tried following this guide for Prisma. I followed everything in that guide but at the end when I do yarn rw prisma migrate dev it’s giving out the error Error validating datasource db: the URL must start with the protocol file:.

For context turso’s DB url looks like this libsql://project-name.username.turso.io

Any way to get over this Prisma validation?

Hey @juicecolored :wave:

I only have a little experience using turso with redwood but one thing I did run into was that prisma doesn’t support migration related commands with their libsql adapter yet. I think they mention this here: Turso (Early Access) | Prisma Documentation.

1 Like