drizzle-team / drizzle-team/drizzle-orm

[BUG]: Introspect command return [object Object]

Open
#3,089 3 comments 0 reactions 0 assignees View on GitHub
bug bug/cant-reproduce db/mysql priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### What version of `drizzle-orm` are you using?

0.33.0

### What version of `drizzle-kit` are you using?

0.24.2

### Describe the Bug

When I go to introspect the database, `drizzle-kit` returns an indescribable response.

I had already introspected a database in the same project and it worked normally, now I need to introspect another database and it is returning this response

My `drizzle.config.ts`

```ts
import { defineConfig } from 'drizzle-kit'
import { env } from './src/env'

export default defineConfig({
schema: './.database/schema.ts',
out: './.migrations',
dialect: 'mysql',
dbCredentials: {
url: env.DATABASE_URL,
},
})
```

![image](https://github.com/user-attachments/assets/27f29104-d455-481e-81d0-6d05f3030613)

### Expected behavior

Being able to introspect the database

### Environment & setup

Node: `20.17.0`

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.