1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:54:05 +00:00
tenancy/src
lukinovec 4474671255 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-25 04:15:24 +01:00
..
Actions Cloning: improve type annotations, add cloneRoutes() for convenience 2025-11-10 02:16:57 +01:00
Bootstrappers globalUrl: useAssetOrigin() instead of setAssetRoot() 2025-11-14 10:59:31 +01:00
Commands [4.x] Clean up expired impersonation tokens instead of just aborting, add command for cleaning up expired tokens (#1387) 2025-10-28 14:14:52 +01:00
Concerns [4.x] Fix dropRLSPolicies() (#1413) 2025-11-08 00:52:08 +01:00
Contracts Features refactor 2025-08-31 23:18:44 +02:00
Controllers [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Database pending tenants: minor cleanup 2025-10-29 22:54:53 +01:00
Enums Make RouteMode enum backed (#1362) 2025-06-02 20:34:49 +02:00
Events Pending tenants refactor (BC break) 2025-08-25 00:01:02 +02:00
Exceptions remove ignition dependencies 2025-06-18 23:29:24 +02:00
Facades [4.x] Support database cache store tenancy (#1290) (resolve #852) 2025-08-08 00:54:01 +02:00
Features [4.x] Clean up expired impersonation tokens instead of just aborting, add command for cleaning up expired tokens (#1387) 2025-10-28 14:14:52 +01:00
Jobs Fix assert: run createDatabase() outside assert() 2025-10-16 01:10:07 +02:00
Listeners Create tenant storage directories in FilesystemTenancyBootstrapper (#1410) 2025-11-04 21:16:39 +01:00
Middleware Merge dev branch (minor breaking changes) 2025-10-14 17:32:44 +02:00
Overrides phpstan: Remove ignore that is no longer necessary 2025-10-13 16:12:01 +02:00
Resolvers [4.x] Support database cache store tenancy (#1290) (resolve #852) 2025-08-08 00:54:01 +02:00
ResourceSyncing Syncing: SyncedResourceDeleted event and DeleteResourceMapping listener 2025-11-25 04:15:24 +01:00
RLS [4.x] TableRLSManager refactor, comment constraints (#1354) 2025-07-03 21:12:04 +02:00
UniqueIdentifierGenerators Add UUIDv7Generator 2025-11-04 15:45:48 +01:00
helpers.php resolve minor todos 2025-08-18 15:05:17 +02:00
Tenancy.php Resolve misc todos, fix phpstan error 2025-10-20 01:57:02 +02:00
TenancyServiceProvider.php globalUrl: useAssetOrigin() instead of setAssetRoot() 2025-11-14 10:59:31 +01:00