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

Move RLSCommentConstraintException to src/RLS/Exceptions

This commit is contained in:
lukinovec 2025-06-27 11:54:13 +02:00
parent d62ad4a53a
commit 8934114f92
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions; namespace Stancl\Tenancy\RLS\Exceptions;
use Exception; use Exception;

View file

@ -7,7 +7,7 @@ namespace Stancl\Tenancy\RLS\PolicyManagers;
use Illuminate\Database\DatabaseManager; use Illuminate\Database\DatabaseManager;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Stancl\Tenancy\Database\Exceptions\RecursiveRelationshipException; use Stancl\Tenancy\Database\Exceptions\RecursiveRelationshipException;
use Stancl\Tenancy\Exceptions\RLSCommentConstraintException; use Stancl\Tenancy\RLS\Exceptions\RLSCommentConstraintException;
/** /**
* Generates queries for creating RLS policies * Generates queries for creating RLS policies

View file

@ -20,7 +20,7 @@ use Stancl\Tenancy\RLS\PolicyManagers\TableRLSManager;
use Stancl\Tenancy\Bootstrappers\PostgresRLSBootstrapper; use Stancl\Tenancy\Bootstrappers\PostgresRLSBootstrapper;
use Stancl\Tenancy\Database\Exceptions\RecursiveRelationshipException; use Stancl\Tenancy\Database\Exceptions\RecursiveRelationshipException;
use function Stancl\Tenancy\Tests\pest; use function Stancl\Tenancy\Tests\pest;
use Stancl\Tenancy\Exceptions\RLSCommentConstraintException; use Stancl\Tenancy\RLS\Exceptions\RLSCommentConstraintException;
beforeEach(function () { beforeEach(function () {
CreateUserWithRLSPolicies::$forceRls = true; CreateUserWithRLSPolicies::$forceRls = true;