mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:54:02 +00:00
Add support for soft delete events
This commit is contained in:
parent
54a33f93a8
commit
d71fec7d27
5 changed files with 33 additions and 0 deletions
|
|
@ -48,6 +48,9 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
return $event->tenant;
|
||||
})->shouldBeQueued(false), // `false` by default, but you probably want to make this `true` for production.
|
||||
],
|
||||
Events\TenantRestoring::class => [],
|
||||
Events\TenantRestored::class => [],
|
||||
Events\TenantForceDeleted::class => [],
|
||||
|
||||
// Domain events
|
||||
Events\CreatingDomain::class => [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue