Skip to content

Commit

Permalink
[Docs] Simplify instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored Aug 21, 2023
1 parent 8eb76af commit e915a89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/installation-laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit e915a89

Please sign in to comment.