mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 08:04:03 +00:00
Merge branch 'master' into stein-j-readied-tenant
This commit is contained in:
commit
a70b143859
36 changed files with 167 additions and 217 deletions
|
|
@ -6,12 +6,12 @@ namespace Stancl\Tenancy\Concerns;
|
|||
|
||||
trait DealsWithMigrations
|
||||
{
|
||||
protected function getMigrationPaths()
|
||||
protected function getMigrationPaths(): array
|
||||
{
|
||||
if ($this->input->hasOption('path') && $this->input->getOption('path')) {
|
||||
return parent::getMigrationPaths();
|
||||
}
|
||||
|
||||
return database_path('migrations/tenant');
|
||||
return [database_path('migrations/tenant')];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue