From e915a89b25bdbf99d8bbad656e975486e177a843 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 21 Aug 2023 11:24:52 -0400 Subject: [PATCH] [Docs] Simplify instructions --- docs/installation-laravel.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/installation-laravel.md b/docs/installation-laravel.md index 54894042..8ace927b 100644 --- a/docs/installation-laravel.md +++ b/docs/installation-laravel.md @@ -47,7 +47,9 @@ Package Version | Laravel Version - **If you are using UUIDs**, see the Advanced section of the docs on UUID steps, before you continue. It explains some changes you may want to make to the migrations and config file before continuing. It also mentions important considerations after extending this package's models for UUID capability. - - **If you are going to use the TEAMS features**, you must update your [`config/permission.php` config file](https://github.com/spatie/laravel-permission/blob/main/config/permission.php) and set `'teams' => true,`; and in your database if you want to use a custom foreign key for teams you must change `team_foreign_key`. + - **If you are going to use the TEAMS features** you must update your [`config/permission.php` config file](https://github.com/spatie/laravel-permission/blob/main/config/permission.php): + - must set `'teams' => true,` + - and (optional) you may set `team_foreign_key` name in the config file if you want to use a custom foreign key in your database for teams - **If you are using MySQL 8**, look at the migration files for notes about MySQL 8 to set/limit the index key length, and edit accordingly.