mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
Move RLSCommentConstraintException to src/RLS/Exceptions
This commit is contained in:
parent
d62ad4a53a
commit
8934114f92
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue