mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 07:14:04 +00:00
Add command tests
This commit is contained in:
parent
33fcb8a936
commit
e1def355f9
13 changed files with 98 additions and 15 deletions
|
|
@ -7,7 +7,6 @@ use Stancl\Tenancy\DatabaseManager;
|
|||
use Illuminate\Database\Migrations\Migrator;
|
||||
use Stancl\Tenancy\Traits\HasATenantsOption;
|
||||
use Stancl\Tenancy\Traits\DealsWithMigrations;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Illuminate\Database\Console\Migrations\MigrateCommand;
|
||||
|
||||
class Migrate extends MigrateCommand
|
||||
|
|
@ -57,5 +56,7 @@ class Migrate extends MigrateCommand
|
|||
// Migrate
|
||||
parent::handle();
|
||||
});
|
||||
|
||||
$this->database->disconnect();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue