-
-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: introspect:pg column not using generated enum name #1648
Comments
What is timeLeft type? |
Ah you will notice timeLeft is an enum defined on the very first line of the code snippet above! Generated from an enum defined on my database called TimeLeft. It's values are The problem is that introspect is generating the enum, but not connecting it to the column that is using it |
Any update on this? Running into the same issue where a couple enums are being introspected as |
This should be fixed in |
What version of
drizzle-orm
are you using?0.29.1
What version of
drizzle-kit
are you using?0.20.6
Describe the Bug
running
drizzle-kit introspect:pg
on my pg database generates schema file but with incorrect column type.Expected behavior
Environment & setup
macos, node 18.18.2, typescript 5.3.2, AWS RDS PostgresQL micro.t3 instance
The text was updated successfully, but these errors were encountered: