1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 17:54:03 +00:00

Remove redundant tenant-schema.dump unlinking

This commit is contained in:
lukinovec 2022-11-22 14:49:26 +01:00
parent 51c30ea3dd
commit 44c616e4db

View file

@ -29,10 +29,6 @@ beforeEach(function () {
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) {
return $event->tenant;
})->toListener());