vlados / laravel-unique-urls

A package for using and generating unique urls for each Eloquent model in Laravel
MIT License
0 stars 0 forks source link

Slug is limited to 255 chars #13

Open vlados opened 2 years ago

vlados commented 2 years ago

Currently in the migration the slug is using string() function which is setting the column to varchar(255) Needs to be changed to text() which not have limit

vlados commented 1 year ago

The official documentation specifies a maximum length of 2048 characters for the element, which is used to submit URLs: URL of the page. This URL must begin with the protocol (e.g. “http”) and end with a trailing slash if required by the web server. This value must not exceed 2,048 characters.

… but this include the domain which is not part of the ‘slug’