Skip to content

Commit 2edfdfc

Browse files
authored
Merge pull request #321 from kde99/patch-1
Update README so Spatie Permission will publish migrations
2 parents e092031 + e4c3a2a commit 2edfdfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ composer require backpack/permissionmanager
3535

3636
2) Finish all installation steps for [spatie/laravel-permission](https://github.com/spatie/laravel-permission#installation), which as been pulled as a dependency. Run its migrations. Publish its config files. Most likely it's:
3737
```shell
38-
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="migrations"
38+
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="permission-migrations"
3939
php artisan migrate
40-
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="config"
40+
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="permission-config"
4141
// then, add the Spatie\Permission\Traits\HasRoles trait to your User model(s)
4242
```
4343

0 commit comments

Comments
 (0)