mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 00:04:03 +00:00
Use HasTenantOptions instead of the old trait name in Up/Down commands
This commit is contained in:
parent
0d1a85005d
commit
0005f0eaa7
2 changed files with 4 additions and 4 deletions
|
|
@ -5,11 +5,11 @@ declare(strict_types=1);
|
||||||
namespace Stancl\Tenancy\Commands;
|
namespace Stancl\Tenancy\Commands;
|
||||||
|
|
||||||
use Illuminate\Foundation\Console\DownCommand;
|
use Illuminate\Foundation\Console\DownCommand;
|
||||||
use Stancl\Tenancy\Concerns\HasATenantsOption;
|
use Stancl\Tenancy\Concerns\HasTenantOptions;
|
||||||
|
|
||||||
class Down extends DownCommand
|
class Down extends DownCommand
|
||||||
{
|
{
|
||||||
use HasATenantsOption;
|
use HasTenantOptions;
|
||||||
|
|
||||||
protected $signature = 'tenants:down
|
protected $signature = 'tenants:down
|
||||||
{--redirect= : The path that users should be redirected to}
|
{--redirect= : The path that users should be redirected to}
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ declare(strict_types=1);
|
||||||
namespace Stancl\Tenancy\Commands;
|
namespace Stancl\Tenancy\Commands;
|
||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Stancl\Tenancy\Concerns\HasATenantsOption;
|
use Stancl\Tenancy\Concerns\HasTenantOptions;
|
||||||
|
|
||||||
class Up extends Command
|
class Up extends Command
|
||||||
{
|
{
|
||||||
use HasATenantsOption;
|
use HasTenantOptions;
|
||||||
|
|
||||||
protected $signature = 'tenants:up';
|
protected $signature = 'tenants:up';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue