Skip to content

Conversation

@josenicomaia
Copy link
Member

Added length option to Table::binary. It defaults to 255 as Doctrine 2 points.

In order to be conformed with Laravel Migrations 5.1, and keep BC, this argument is optional.

References:
http://doctrine-orm.readthedocs.org/projects/doctrine-dbal/en/latest/reference/schema-representation.html#portable-options
https://laravel.com/docs/5.1/migrations
#18 Related Issue

patrickbrouwers added a commit that referenced this pull request Feb 12, 2016
Added length option to Table::binary. It defaults to 255
@patrickbrouwers patrickbrouwers merged commit 463b1e4 into laravel-doctrine:1.0 Feb 12, 2016
@ngrevet
Copy link

ngrevet commented Feb 17, 2016

Looks great, that's exactly what I did when I tried to implement it on my side.

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.

3 participants