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

Projects
None yet
2 participants
@nonsocode
Contributor

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

2 checks passed

continuous-integration/styleci/pr The StyleCI analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@carusogabriel carusogabriel referenced this pull request Dec 12, 2017

Merged

Add year column #3910

@ysrinu ysrinu referenced this pull request Dec 21, 2017

Closed

Laravel 5.5.25 Released #239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment