Implement auth snapshot and restore for database resets (#1295)

Commit: 3e8772f6b9d72e861ae33624e6dca9c0d574b086
Date: 2026-05-13 16:34:12 +0000
Author: PascalHavelange

Commit Message

Implement auth snapshot and restore for database resets (#1295)

* feat(auth): implement auth snapshot and restore commands to preserve user data during database resets

* fix: clear Spatie permission cache in AuthSnapshotCommandTest setUp

* fix: use firstOrCreate for permission/role in AuthSnapshotCommandTest to handle ensurePermissionsExist pre-seeding

---------

Co-authored-by: Pascal HAVELANGE <havelangep@hotmail.com>

Files Changed


This documentation was automatically generated from Git commit data.