mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
Add the jobs to the TenancyServiceProvider stub
This commit is contained in:
parent
e6a0717c84
commit
b62d4f0c1d
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
// Jobs\SeedDatabase::class,
|
||||
|
||||
// Jobs\CreateStorageSymlinks::class,
|
||||
// Jobs\CreatePostgresRoleForTenant::class,
|
||||
|
||||
// Your own jobs to prepare the tenant.
|
||||
// Provision API keys, create S3 buckets, anything you want!
|
||||
|
|
@ -55,6 +56,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
Events\TenantDeleted::class => [
|
||||
JobPipeline::make([
|
||||
Jobs\DeleteDatabase::class,
|
||||
// Jobs\DeleteTenantsPostgresRole::class,
|
||||
// Jobs\RemoveStorageSymlinks::class,
|
||||
])->send(function (Events\TenantDeleted $event) {
|
||||
return $event->tenant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue