1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:34:05 +00:00
This commit is contained in:
lukinovec 2023-04-26 13:58:52 +02:00
parent add92b99cc
commit e15eb01c7f

View file

@ -58,7 +58,7 @@ test('correct rls policies get created using the command', function() {
WHERE schemaname = ? AND tablename = ?
) AS table_exists;', ['pg_catalog', 'pg_policies'])->table_exists;
dd($tableExists);
dump($tableExists);
$getRlsPolicies = fn () => DB::select('select * from pg_policies');
$getModelTables = fn () => collect(config('tenancy.models.rls'))->map(fn (string $model) => (new $model)->getTable());