diff --git a/src/Commands/CreateRLSPoliciesForTenantTables.php b/src/Commands/CreateRLSPoliciesForTenantTables.php index 5aef1e58..c8caa20c 100644 --- a/src/Commands/CreateRLSPoliciesForTenantTables.php +++ b/src/Commands/CreateRLSPoliciesForTenantTables.php @@ -7,8 +7,6 @@ namespace Stancl\Tenancy\Commands; use Illuminate\Console\Command; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Schema; -use Stancl\Tenancy\Database\Concerns\BelongsToPrimaryModel; /** * Creates and uses RLS policies for tables related to a tenant directly, or through a parent primary model's table. diff --git a/src/Tenancy.php b/src/Tenancy.php index 9fabfc1c..db9e1e2b 100644 --- a/src/Tenancy.php +++ b/src/Tenancy.php @@ -5,12 +5,12 @@ declare(strict_types=1); namespace Stancl\Tenancy; use Closure; -use Stancl\Tenancy\Contracts\Tenant; -use Illuminate\Support\Facades\Schema; -use Illuminate\Database\Eloquent\Model; -use Illuminate\Support\Traits\Macroable; use Illuminate\Database\Eloquent\Builder; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Facades\Schema; +use Illuminate\Support\Traits\Macroable; use Stancl\Tenancy\Contracts\TenancyBootstrapper; +use Stancl\Tenancy\Contracts\Tenant; use Stancl\Tenancy\Database\Concerns\BelongsToPrimaryModel; use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedByIdException;