drizzle-team / drizzle-team/drizzle-orm

[BUG] : Running into "missing ) after argument list" when I try to use the drizzle runner in drizzle studio.

Open
#3,339 8 comments 5 reactions 0 assignees View on GitHub
bug drizzle/studio
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

Using below versions
```
drizzle-kit: v0.23.0
drizzle-orm: v0.32.0
node : v18.17.0
```

I am trying to use the drizzle runner option in studio , I have two issues.

1. when I try to run the command it fails with the following error.
Screenshot 2024-07-12 at 8 42 06 AM

```
{
"status": "error",
"error": "missing ) after argument list"
}
```
After I follow the error stack this is the function where it fails
Screenshot 2024-07-12 at 8 53 32 AM

2. I mention that only public schemas be considered but in the studio, the schema in the drizzle runner tab doesn't respect the filter

Screenshot 2024-07-12 at 8 43 12 AM

I am using supabase
My ```config.ts```

```
import { config } from "dotenv";
import { defineConfig } from "drizzle-kit";

config({ path: ".env.local" });

export default defineConfig({
schemaFilter: ["public"],
schema: "./src/db/schema.ts",
out: "./supabase/migrations",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL!,
},
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.