1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00
tenancy/tests/Etc/synced_resource_migrations
lukinovec ee0b45d800 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-21 02:03:36 +01:00
..
companies Use polymorphic table for mapping resources to tenants (#997) 2023-02-02 06:39:35 +01:00
users Refactor more old code and get tests to pass 2020-05-13 04:51:37 +02:00
users_extra Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
2020_05_11_000002_create_tenant_users_table.php Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-21 02:03:36 +01:00