Skip to content
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

Support enums as a datatype #141

Open
pietermartin opened this issue Jan 22, 2017 · 1 comment
Open

Support enums as a datatype #141

pietermartin opened this issue Jan 22, 2017 · 1 comment
Labels
enhancement schema Indicates issues relating to schema management

Comments

@pietermartin
Copy link
Owner

Not entirely sure if this is a good idea.
Sqlg can store the classname of the enum in its topology and use that to return the correct type via reflection.

@pietermartin pietermartin added the schema Indicates issues relating to schema management label Dec 27, 2021
@pietermartin
Copy link
Owner Author

Best way to do this is with a check constraint. It is to difficult to refactor the db when using db enumerations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement schema Indicates issues relating to schema management
Projects
None yet
Development

No branches or pull requests

1 participant