1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:14:04 +00:00
tenancy/src/ResourceSyncing
lukinovec 5b15c67d9e Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener
Also move pivot record deletion to that listener and improve tests

The 'tenant pivot records are deleted along with the tenants to which
they belong to' test is failing in this commit -- the listener
for deleting mappings when a *tenant* is deleted is only implemented
in the next commit. The only change done here is to re-add FKs
(necessary for passing *in this commit* in that specific dataset
variant) that were removed from the default test migration as we now
have the the DeleteResourceMapping listener that's enabled by default.
2025-11-22 03:30:30 +01:00
..
Events Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-22 03:30:30 +01:00
Listeners Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-22 03:30:30 +01:00
CentralResourceNotAvailableInPivotException.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
ModelNotSyncMasterException.php reimplement broadcasting channel helpers to support model binding 2024-10-03 21:12:09 +02:00
ParsesCreationAttributes.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
PivotWithRelation.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
ResourceSyncing.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-22 03:30:30 +01:00
Syncable.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-22 03:30:30 +01:00
SyncMaster.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-22 03:30:30 +01:00
TenantMorphPivot.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
TenantPivot.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
TriggerSyncingEvents.php phpstan fixes 2025-01-05 15:50:30 +01:00