mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 22:24:03 +00:00
Remove redundant tenant-schema.dump unlinking
This commit is contained in:
parent
51c30ea3dd
commit
44c616e4db
1 changed files with 0 additions and 4 deletions
|
|
@ -29,10 +29,6 @@ beforeEach(function () {
|
||||||
unlink($schemaPath);
|
unlink($schemaPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists($schemaPath = database_path('tenant-schema.dump'))) {
|
|
||||||
unlink($schemaPath);
|
|
||||||
}
|
|
||||||
|
|
||||||
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {
|
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {
|
||||||
return $event->tenant;
|
return $event->tenant;
|
||||||
})->toListener());
|
})->toListener());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue