-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Report hasn't been filed before.
- 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.44.7
What version of drizzle-kit are you using?
0.31.6
Other packages
@types/[email protected]
Describe the Bug
i follow Bun SQL documentation
i have bun 1.3.1 package manager
with this packages
{
"dependencies": {
"drizzle-orm": "^0.44.7",
"next": "^16.0.1",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@types/bun": "^1.3.1",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"dotenv": "^17.2.3",
"drizzle-kit": "^0.31.6",
}
}
and thisdb config
import "dotenv/config";
import { SQL } from "bun";
import { drizzle } from "drizzle-orm/bun-sql";
import { schema } from "./schema";
const client = new SQL(process.env.DATABASE_URL);
export const db = drizzle({ client, schema, casing: "snake_case" });and when run bunx --bun drizzle-kit push
getting this error
$ drizzle-kit push
No config path provided, using default 'drizzle.config.ts'
Reading config file 'C:\Users\benna\Projects\iptv\drizzle.config.ts'
To connect to Postgres database - please install either of 'pg', 'postgres', '@neondatabase/serverless' or '@vercel/postgres' drivers
error: script "db:push" exited with code 1MHarmony and thejufoLinWhite2333
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working