You can read about it in the official docs here. Personally I have never had any issues with this
https://laravel.com/docs/8.x/migrations#index-lengths-mysql-mariadb
Hi!
I am working on an e-commerce app and is looking at Spatie's package Laravel-permission.
In the prerequisite there is a section for "Schema Limitation in MySQL", where I have to set defaultStringLength to 125 because of the index. Will doing so cause any issues further down the line when restricting the max length for strings in the database? Is there a reason we have to do it like this, instead of doing it on the columns it affects in the migrations from the package?
I am also wondering if I can use this package for both backend users and customers? What I mean by that is using the same package for handling permission for backend staff, and also frontend customers?
Link to prerequisites: https://spatie.be/index.php/docs/laravel-permission/v5/prerequisites
Please or to participate in this conversation.