mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 06:54:04 +00:00
try specifying the signature in __construct
This commit is contained in:
parent
4f19609797
commit
137688af25
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue