mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24: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();
|
parent::setUp();
|
||||||
|
|
||||||
$this->call('migrate', [
|
$this->call('migrate');
|
||||||
'--path' => database_path('migrations'),
|
|
||||||
'--database' => 'sqlite',
|
|
||||||
]);
|
|
||||||
|
|
||||||
tenancy()->create('test.localhost');
|
tenancy()->create('test.localhost');
|
||||||
tenancy()->init('test.localhost');
|
tenancy()->init('test.localhost');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue