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

Add RLSModel

This commit is contained in:
lukinovec 2023-08-07 10:54:23 +02:00
parent b04b063fe6
commit 90dc8d50be

View file

@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Database\Concerns;
/**
* Interface indicating that the queries of the model it's used on
* get scoped using RLS instead of the global TenantScope.
*
* Used with Postgres RLS (single-database tenancy).
*
* @see \Stancl\Tenancy\Database\Concerns\BelongsToTenant
*/
interface RLSModel
{
}