-
Notifications
You must be signed in to change notification settings - Fork 28
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
Migrations do not work on Postgresql #24
Comments
I think it is not necessary restrict column by ENUM type, because people want to set custom values in |
Using ENUM is small optimization. My suggestion is in migration execute altering to ENUM only, if MySql. if ($this->db->driverName === 'mysql') {
} |
But whenever I want set custom |
I thought the enum change was a bad idea On 1 November 2016 at 14:12, Kolmakov Alexey notifications@github.com
|
Even for mysql users, this scenario is a common one whereby enum would cause too much application logic in the database. Current thinking is that the database should be dumb to the application rather than have two layers of validation at times, especially with very large tables spanning 30 million+ records, which audit tables can |
I have decided to remove this for the time being 8e38c7f I think it is more trouble than it is worth |
Fully agree |
Migrations do not work on Postgresql. Migration class
m161004_132206_change_action_field
The text was updated successfully, but these errors were encountered: