1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-22 09:24:04 +00:00

Laravel 13 support

- 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).
This commit is contained in:
Samuel Stancl 2026-03-18 17:57:12 +01:00
parent 8f3ea6297f
commit fd2696b405
No known key found for this signature in database
GPG key ID: BA146259A1E16C57
5 changed files with 52 additions and 18 deletions

View file

@ -17,6 +17,7 @@ jobs:
matrix:
include:
- laravel: "^12.0"
- laravel: "^13.0"
steps:
- name: Checkout