Skip to content
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

[5.5] Add Support for 'year' datatype for Schema Migrations for all Database servers #22377

Merged
merged 2 commits into from Dec 11, 2017

Conversation

nonsocode
Copy link
Contributor

@nonsocode nonsocode commented Dec 9, 2017

This commit adds support for year datatype for the different supported databases. Originally, only MySQL has native support for year datatype and as such, year type was left out of schema migrations.

This adds support for the year type and poly-fills with the integer datatype for other databases (PostgreSQL, SQLite, SqlServer).

@taylorotwell taylorotwell merged commit 26e10c7 into laravel:5.5 Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants