1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-23 06:24:04 +00:00
tenancy/src/Database
Samuel Štancl c4960b76cb
[4.x] Laravel 13 support (#1443)
- Update ci.yml and composer.json
- Wrap single database tenancy trait scopes in whenBooted()
- Update SessionSeparationTest to use laravel-cache- prefix in L13
  and laravel_cache_ in <=L12. Our own prefix remains tenant_%tenant%_
  (as configured in tenancy.cache.prefix). We could update this to be
  tenant-%tenant%- from now on for consistency with Laravel's prefixes
  (changed in https://github.com/laravel/framework/pull/56172) but I'm
  not sure yet. _ seems to read a bit better but perhaps consistency
  is more important. We may change this later and it can be adjusted
  in userland easily (since it's just a config option).
2026-03-18 19:17:28 +01:00
..
Concerns [4.x] Laravel 13 support (#1443) 2026-03-18 19:17:28 +01:00
Contracts Tenant DB manager database() -> connection() 2024-09-12 18:34:45 +02:00
Exceptions Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
Models [4.x] Make the ImpersonationToken model configurable (#1335) 2025-03-18 18:42:08 +01:00
TenantDatabaseManagers Minor fixes 2025-10-22 12:58:45 +02:00
DatabaseConfig.php Refactor DatabaseConfig, minor DB manager improvements, resolve todos 2025-10-13 16:01:34 +02:00
DatabaseManager.php Supported named in-memory SQLite databases (#69) 2024-11-25 04:48:52 +01:00
ParentModelScope.php fix phpstan errors 2024-08-06 04:35:25 +02:00
TenantCollection.php fix phpstan errors 2024-08-06 04:35:25 +02:00
TenantScope.php fix phpstan errors 2024-08-06 04:35:25 +02:00