We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Database: > Postgres 9.1 Code for migration:
->addColumn('status', 'enum', [ 'nullable' => false, 'default' => 'active', 'values' => [ 'active', 'inactive', ... ] ])
Actual result: A table is created with a string type field and a constrain to check the values of this field.
Expected Result: Created enum type (what should be name of new type ?? ) and filed with new enum type.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Database: > Postgres 9.1
Code for migration:
Actual result:
A table is created with a string type field and a constrain to check the values of this field.
Expected Result:
Created enum type (what should be name of new type ?? ) and filed with new enum type.
The text was updated successfully, but these errors were encountered: