You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working with Drizzle Studio and facing a limitation regarding the connection to local SQLite databases while using the D1 driver.
When applying migrations with wrangler d1 migrations apply local-db --local, an SQLite file is generated under .wrangler/state/v3/d1/miniflare-D1DatabaseObject.
However, there is no direct way to connect to this SQLite file using the D1 driver in the Drizzle Studio configuration.
The existing drizzle.config.ts settings for the D1 driver only allow for wranglerConfigPath and dbName, which does not support specifying a local SQLite file path. As a workaround, I am currently using the better-sqlite driver for local development by specifying the path under .wrangler in dbCredentials.
I would like to request a feature or enhancement that allows direct connection to the local SQLite file generated by wrangler d1 migrations apply local-db --local using the D1 driver. This feature would greatly simplify the development process and provide a more integrated experience with Drizzle Studio.
The text was updated successfully, but these errors were encountered:
I am currently working with Drizzle Studio and facing a limitation regarding the connection to local SQLite databases while using the D1 driver.
When applying migrations with
wrangler d1 migrations apply local-db --local
, an SQLite file is generated under.wrangler/state/v3/d1/miniflare-D1DatabaseObject
.However, there is no direct way to connect to this SQLite file using the D1 driver in the Drizzle Studio configuration.
The existing
drizzle.config.ts
settings for the D1 driver only allow forwranglerConfigPath
anddbName
, which does not support specifying a local SQLite file path. As a workaround, I am currently using thebetter-sqlite
driver for local development by specifying the path under.wrangler
indbCredentials
.Here is
drizzle.config.ts
for reference:I would like to request a feature or enhancement that allows direct connection to the local SQLite file generated by
wrangler d1 migrations apply local-db --local
using the D1 driver. This feature would greatly simplify the development process and provide a more integrated experience with Drizzle Studio.The text was updated successfully, but these errors were encountered: