1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:34:04 +00:00

Fix merge errors

This commit is contained in:
lukinovec 2023-02-23 15:18:12 +01:00
parent b0560331ed
commit 8cbc855b0a
2 changed files with 9 additions and 5 deletions

View file

@ -18,6 +18,8 @@ function filesAndFoldersExcluding(array $exclude = []): array
$dirs = scandir(__DIR__);
return array_filter($dirs, fn($dir) => ! in_array($dir, array_merge(['.', '..'], $exclude) , true));
}
function withTenantDatabases()
{
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {