mercredi 27 mai 2020

Laravel Spatie Roles & Permissions: How to change default tables?

I am using Laravel Spatie Roles & Permissions and wish to change the default roles and permissions tables which power it.

I am changing the table_names values in: <laravel_project>\vendor\spatie\laravel-permission\config\permission.php

The new tables have identical columns and datatypes to the existing columns.

I then run php artisan permission:cache-reset and try to make a change to an existing role or permission but the old table is still being updated and not the new ones as specified in this config file.

What am I doing wrong?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire