Skip to content

Conversation

@abenerd
Copy link
Contributor

@abenerd abenerd commented Apr 2, 2022

Postgres allows and even encourages users to not use length limited varchar and char types, this PR allows a user to set the Builder::$defaultStringLength to null which tells the postgres grammar to generate string and char types without a length specified.

https://wiki.postgresql.org/wiki/Don%27t_Do_This#Text_storage

@taylorotwell taylorotwell merged commit 7c9430a into laravel:9.x Apr 3, 2022
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.

2 participants