1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:04:03 +00:00

Add test for creating RLS policies for tables

This commit is contained in:
lukinovec 2023-04-25 18:00:44 +02:00
parent 9f4079e774
commit 4ceb7c82e1
2 changed files with 17 additions and 2 deletions

View file

@ -2,7 +2,6 @@
declare(strict_types=1);
use Stancl\Tenancy\CacheManager;
use Stancl\Tenancy\Middleware;
use Stancl\Tenancy\Resolvers;
@ -11,6 +10,10 @@ return [
* Configuration for the models used by Tenancy.
*/
'models' => [
'rls' => [
// The tenants:create-rls-policies comand will create RLS policies
// For tables of the models specified here
],
'tenant' => Stancl\Tenancy\Database\Models\Tenant::class,
'domain' => Stancl\Tenancy\Database\Models\Domain::class,