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 enum values by all DBMS #749

Open
Tigrov opened this issue Aug 27, 2023 · 0 comments
Open

Support enum values by all DBMS #749

Tigrov opened this issue Aug 27, 2023 · 0 comments
Milestone

Comments

@Tigrov
Copy link
Member

Tigrov commented Aug 27, 2023

Currently enum values supported by yiisoft/db-mysql and yiisoft/db-pgsql only.

For other DBMS enum values can be realized using a constraint:

CHECK (enum_field IN ('value', 'another value', 'something else'))

Updated on 03.10.2023
Related with yiisoft/db-migration#8

@Tigrov Tigrov added this to the 1.1.0 milestone Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant