-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
How to deal with Postgres Enum columns? #31
Comments
The answer: Follow this enum template https://stackoverflow.com/a/6104825/4605629 And then use the |
I don't think this should be closed @gregsifr . Your solution is a good workaround but the library should be able to handle it w/o manually setting a |
There seems to be a PR already up that tries to solve this -> #24 |
@gregsifr, could you please reopen the issue for the reasons stated above? |
Apologies, I misunderstood and thought that since there is a PR for it there's no point to keep it open. |
Hey there! I think this was possibly solved in #165. That's available since SQLModel |
Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs. |
First Check
Commit to Help
Example Code
Description
How to use Postgres Enums together with SQLModel?
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.3
Python Version
3.8.11
Additional Context
No response
The text was updated successfully, but these errors were encountered: