drizzle-team / drizzle-team/drizzle-orm
[BUG]: Multiple variables with the same name generated after running the introspect command
- 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.34.1
### What version of `drizzle-kit` are you using?
0.25.0
### Describe the Bug
I'm encountering an error while generating the `drizzle/schema.ts` file with Drizzle Kit. The error seems to stem from multiple definitions of the name `role`, which is preventing the compilation.
**Observe the compilation error:**



Run the following command: `bun with-env bun x drizzle-kit introspect --config=drizzle/config.ts`
### Expected behavior
It must not generate variables with the same names in the global context because NO !
### Environment & setup
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.