From 137688af258104fa1c1ffb1826f362447db3b5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 30 Mar 2022 15:14:05 +0200 Subject: [PATCH] try specifying the signature in __construct --- src/Commands/Migrate.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Commands/Migrate.php b/src/Commands/Migrate.php index bf92dfcd..10d44ea9 100644 --- a/src/Commands/Migrate.php +++ b/src/Commands/Migrate.php @@ -31,9 +31,11 @@ class Migrate extends MigrateCommand */ public function __construct(Migrator $migrator, Dispatcher $dispatcher) { + // Turn 'migrate {-- ...}' into 'tenants:migrate {-- ...}' + $this->signature = 'tenants:' . $this->signature; + parent::__construct($migrator, $dispatcher); - $this->setName('tenants:migrate'); $this->specifyParameters(); }