-
Notifications
You must be signed in to change notification settings - Fork 891
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 YEAR field type for MySQL #551
Labels
Comments
👍 |
1 similar comment
👍 |
robmorgan
added a commit
that referenced
this issue
Dec 4, 2015
MySQL adapter add support for type YEAR - Issues #551
Bump? |
I wish I had this field type right now... I'm working on a database relying heavily on year-based info, and I don't know how to work around this. |
Are you able to provide a pull request with your suggested changes? |
Unfortunately, I'm not working in a PHP environment anymore, so not really. |
Well, it seems to be already implemented: 1eb069a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
YEAR
field type allows one to store a year in a field, and have this field default to the current year.Is it an option for Phinx to support this specific MySQL type, as it does for
ENUM
andSET
?Thanks !
The text was updated successfully, but these errors were encountered: