mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
simplify migration command
This commit is contained in:
parent
04f027fd28
commit
58056c0d6c
1 changed files with 1 additions and 4 deletions
|
|
@ -25,10 +25,7 @@ protected function setUp(): void
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->call('migrate', [
|
||||
'--path' => database_path('migrations'),
|
||||
'--database' => 'sqlite',
|
||||
]);
|
||||
$this->call('migrate');
|
||||
|
||||
tenancy()->create('test.localhost');
|
||||
tenancy()->init('test.localhost');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue