Skip to content

Commit

Permalink
Merge pull request #2213 from erikn69/patch-7
Browse files Browse the repository at this point in the history
Add ULIDs reference
  • Loading branch information
drbyte committed Oct 18, 2022
2 parents a746ebf + 309ec2d commit 91f8bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/prerequisites.md
Expand Up @@ -47,7 +47,7 @@ MySQL 8.0 limits index keys to 1000 characters. This package publishes a migrati

Thus in your AppServiceProvider you will need to set `Schema::defaultStringLength(125)`. [See the Laravel Docs for instructions](https://laravel.com/docs/migrations#index-lengths-mysql-mariadb).

## Note for apps using UUIDs/GUIDs
## Note for apps using UUIDs/ULIDs/GUIDs

This package expects the primary key of your `User` model to be an auto-incrementing `int`. If it is not, you may need to modify the `create_permission_tables` migration and/or modify the default configuration. See [https://spatie.be/docs/laravel-permission/v5/advanced-usage/uuid](https://spatie.be/docs/laravel-permission/v5/advanced-usage/uuid) for more information.

0 comments on commit 91f8bea

Please sign in to comment.