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

Use "Postgres user" instead of "Postgres role"

This commit is contained in:
lukinovec 2023-02-15 11:02:53 +01:00
parent 26eafd30ba
commit e000386d1f
3 changed files with 9 additions and 9 deletions

View file

@ -30,7 +30,7 @@ class TenancyServiceProvider extends ServiceProvider
// Jobs\SeedDatabase::class,
// Jobs\CreateStorageSymlinks::class,
// Jobs\CreatePostgresRoleForTenant::class,
// Jobs\CreatePostgresUserForTenant::class,
// Your own jobs to prepare the tenant.
// Provision API keys, create S3 buckets, anything you want!
@ -56,7 +56,7 @@ class TenancyServiceProvider extends ServiceProvider
Events\TenantDeleted::class => [
JobPipeline::make([
Jobs\DeleteDatabase::class,
// Jobs\DeleteTenantsPostgresRole::class,
// Jobs\DeleteTenantsPostgresUser::class,
// Jobs\RemoveStorageSymlinks::class,
])->send(function (Events\TenantDeleted $event) {
return $event->tenant;