Skip to content

[5.8] Fix the remaining issues with registering custom Doctrine types.#28375

Merged
taylorotwell merged 2 commits intolaravel:5.8from
jensdenies:fix-registering
May 1, 2019
Merged

[5.8] Fix the remaining issues with registering custom Doctrine types.#28375
taylorotwell merged 2 commits intolaravel:5.8from
jensdenies:fix-registering

Conversation

@jensdenies
Copy link
Copy Markdown

This PR removes the TinyInteger type from the core and allows the user to register their own custom Doctrine DBAL types. No connection wil be established by only instantiating the builder class, only as soon as you call the registerCustomDoctrineType method. Therefore it won't cause issues like #28282 anymore.

@taylorotwell taylorotwell merged commit 841a280 into laravel:5.8 May 1, 2019
@kevindb
Copy link
Copy Markdown

kevindb commented Jun 6, 2019

If support for tinyint is being removed from core Laravel, does the documentation ned to be updated to remove references to tinyIncrements , tinyInteger, and unsignedTinyInteger?
https://laravel.com/docs/5.8/migrations#creating-columns

@driesvints
Copy link
Copy Markdown
Member

driesvints commented Jun 7, 2019

@kevindb tinyint support wasn't removed in general, just the MySQL override introduced by #28214 because of the bug from #28282.

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.

4 participants