drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

[BUG]: drizzle-kit - turso not included in the drivers list

Open ccadenac opened this issue 2 years ago • 2 comments

Report hasn't been filed before.

  • [X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?

0.36.1

What version of drizzle-kit are you using?

0.28.0

Other packages

No response

Describe the Bug

0.24 used to have turso as a driver but it's not longer available causing an error: Type '"turso"' is not assignable to type '"d1-http" | "expo" | undefined'.

declare const drivers: readonly [ "d1-http", "expo", "aws-data-api", "pglite"];

ccadenac avatar Nov 10 '24 14:11 ccadenac

Facing the problem and it has been the case for a while

tonyabracadabra avatar Nov 12 '24 06:11 tonyabracadabra

Turso is now a dialect instead of a driver since the underlying tech (LibSQL) is different from SQLite: https://orm.drizzle.team/docs/tutorials/drizzle-with-turso#setup-drizzle-config-file.

L-Mario564 avatar Nov 14 '24 16:11 L-Mario564