-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Support for Turso Dialect #304
Comments
@danniscript hello could please provide your drizzle.config.ts file? i keep getting error: |
Using import { defineConfig } from 'drizzle-kit'
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set')
export default defineConfig({
out: './migrations',
schema: './src/lib/server/schema',
dbCredentials: {
url: process.env.DATABASE_URL,
authToken: process.env.DATABASE_AUTH_TOKEN
},
verbose: true,
strict: true,
dialect: 'turso'
}) |
that could be issue cli currently generates package.json
which possibly doesnt satisfy dialect : turso |
Updating the dependencies used while scaffolding is on our priority list! |
this is weird: also i need to upgrade drizzle-orm to 0.36.3 and also install @libsql/client. I am not sure if it was in deps before. but now it works |
Add
dialect: 'turso'
in drizzle.config.ts files 👍ref: https://orm.drizzle.team/docs/tutorials/drizzle-with-turso
note: this is only relevant for the latest version of
drizzle-kit
The text was updated successfully, but these errors were encountered: