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

try specifying the signature in __construct

This commit is contained in:
Samuel Štancl 2022-03-30 15:14:05 +02:00
parent 4f19609797
commit 137688af25

View file

@ -31,9 +31,11 @@ class Migrate extends MigrateCommand
*/ */
public function __construct(Migrator $migrator, Dispatcher $dispatcher) public function __construct(Migrator $migrator, Dispatcher $dispatcher)
{ {
// Turn 'migrate {-- ...}' into 'tenants:migrate {-- ...}'
$this->signature = 'tenants:' . $this->signature;
parent::__construct($migrator, $dispatcher); parent::__construct($migrator, $dispatcher);
$this->setName('tenants:migrate');
$this->specifyParameters(); $this->specifyParameters();
} }