db
db copied to clipboard
Support enum values by all DBMS
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