-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
It would be nice to be able to define charsets for columns like this: #59
Comments
There can be columns with different charsets for both performance reasons and limitations. For example you cant index 255 char utf8mb4 column, but you could do it with latin1. Email is a good example |
I think it possible using custom typecast handler. It won't work with migration generator but in PHP you will always work with UTF-8 |
Php is not problem here anyway. But people who create schemas and migrations using the orm, might need it to prevent manual tricks. If it is possible using typecast handler, then there is no issue at all. Thanks for answering. |
The actual implementation of annotation is here: https://github.com/cycle/annotated/blob/3.x/src/Annotation/Column.php |
You are right.
I do it from here :) |
Originally posted by @ardabeyazoglu in cycle/orm#370
The text was updated successfully, but these errors were encountered: