1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 18:44:04 +00:00
tenancy/src/ResourceSyncing/Events
lukinovec 44e8ec8abf 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 DeleteResourceMapping listener that's enabled by default.
2025-11-26 05:52:48 +01:00
..
CentralResourceAttachedToTenant.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
CentralResourceDetachedFromTenant.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
SyncedResourceDeleted.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-26 05:52:48 +01:00
SyncedResourceSaved.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
SyncedResourceSavedInForeignDatabase.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
SyncMasterDeleted.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
SyncMasterRestored.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00