We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i am not able to run local sqlite migrations. I allways receive the following error:
~/xxxxx> pnpm drizzle-kit migrate drizzle-kit: v0.21.4 drizzle-orm: v0.30.10 No config path provided, using default path Reading config file '/home/xxxxx/drizzle.config.ts' Invalid input Either "turso", "libsql", "better-sqlite" are available options for "--driver"
My config is:
// drizzle.config.ts import { defineConfig } from "drizzle-kit"; import { globSync } from "fast-glob"; const path = globSync(".wrangler/state/v3/d1/**/*.sqlite"); export default defineConfig({ schema: "./app/db.server/schema.ts", out: "./migrations", dialect: "sqlite", strict: true, migrations: { table: "__schema_migrations", }, dbCredentials: { url: path[0], }, });
and i have "@libsql/client": "^0.6.0", as dev dependency.
"@libsql/client": "^0.6.0",
The text was updated successfully, but these errors were encountered:
I am having this issue,
this is my config,
Sorry, something went wrong.
fixed in drizzle-kit@0.22.0
drizzle-kit@0.22.0
AlexBlokh
No branches or pull requests
Hi,
i am not able to run local sqlite migrations.
I allways receive the following error:
My config is:
and i have
"@libsql/client": "^0.6.0",
as dev dependency.The text was updated successfully, but these errors were encountered: