drizzle-team / drizzle-team/drizzle-orm
[BUG]: Cannot set libsql driver to drizzle-kit
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### 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
@libsql/client@0.14.0
### Describe the Bug
Hi. I'm trying to run drizzle-kit on Deno 2.0 but I'm having throuble connecting with local file database (libsql).
In the documentation, it says ["Drizzle has native support for all @libsql/client driver variations"](https://orm.drizzle.team/docs/get-started-sqlite#step-2---initialize-the-driver), and indeed drizzle-orm does work if I import `npm:drizzle-orm/libsql/sqlite3` or `npm:drizzle-orm/libsql/node`.
But I did not find this options when calling `defineConfig` in `drizzle.config.ts` file, and `@libsql/client` loads "web" version when run on deno (see https://github.com/tursodatabase/libsql-client-ts/issues/138 ).
Is this correct? If the docs says drizzle has native support for @libsql/client/sqlite3, shouldn't drizzle-kit have support also?
Contributor guide
Assessment
This issue has not been assessed yet.