1
0
Fork 0
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:
lukinovec 2022-09-29 10:10:09 +02:00 committed by GitHub
commit a70b143859
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 167 additions and 217 deletions

View file

@ -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')];
}
}