1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 12:24:06 +00:00

Add SyncedResourceDeleted event and DeleteResourceMapping listener, move pivot record deletion to that listener, improve tests (WIP)

This commit is contained in:
lukinovec 2025-11-03 17:33:12 +01:00
parent 36153a949b
commit 12eb0ad0cc
10 changed files with 123 additions and 14 deletions

View file

@ -12,6 +12,7 @@ use Stancl\Tenancy\ResourceSyncing\SyncMaster;
class CentralUser extends Model implements SyncMaster
{
use ResourceSyncing, CentralConnection;
protected $guarded = [];
public $timestamps = false;