Go to file
Fabian @ Blax Software 5f25ad2bb0 fix: cast pivot member_id to string (avoid MySQL DOUBLE coercion)
RoleMember/PermissionMember.member_id is a polymorphic varchar(36) holding either a UUID (HasUuids host models) or a stringified bigint (auto-increment host models). Without a string cast, a bigint member key binds as an INTEGER and MySQL coerces the whole varchar column to DOUBLE to compare, throwing 'Truncated incorrect DOUBLE value: <uuid>' (1292) the moment a UUID-keyed member shares the same role/permission. Casting member_id to string binds it as a string in every attach/detach/where. Package suite 162 green.
2026-06-10 11:27:33 +02:00
.vscode A traits, I fields 2025-06-16 09:49:36 +02:00
config feat: add HasRequiredAccess trait for OR-combined entity dependencies 2026-04-27 12:35:09 +02:00
database/migrations fix(uuid-migration): non-destructive snapshot + verify, plus cleanup command 2026-04-29 13:49:52 +02:00
src fix: cast pivot member_id to string (avoid MySQL DOUBLE coercion) 2026-06-10 11:27:33 +02:00
tests/Unit fix: align schema with HasUuids design + add reusable MorphAliasRegistry 2026-04-29 11:48:51 +02:00
.dockerignore I has permissions trait 2025-07-10 10:29:53 +02:00
.gitattributes A traits, I fields 2025-06-16 09:49:36 +02:00
.gitignore I context logic & tests 2026-03-31 18:56:47 +02:00
README.md A README with Blax Software OSS banner 2026-05-06 12:09:15 +02:00
composer.json feat: add Laravel 13 support 2026-04-16 07:49:51 +02:00
phpunit.xml A ccess 2026-02-24 12:07:32 +01:00
pint.json A more files & structure 2025-06-15 11:56:28 +02:00

README.md

Blax Software OSS

Laravel Roles

Laravel roles and permission system.