drizzle-orm
drizzle-orm copied to clipboard
[BUG]: Multiple variables with the same name generated after running the introspect command
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