Skip to content

v1.5.1

Choose a tag to compare

@LucaGiardi20 LucaGiardi20 released this 22 Nov 13:44
· 41 commits to main since this release
383fdbe

Upgrade notes

  • Run php artisan externa:upgrade (or php artisan migrate) so api_keys.role_id switches from cascadeOnDelete to restrictOnDelete. No row data changes. Rolling back the older owner_id migration is refused: restore a pre-upgrade backup instead.

Fixed

  • Deleting a role no longer cascades away every API key that still holds it: the admin (and AI) delete paths refuse while any key — active or revoked — references the role, with a translated count; bulk delete skips those roles and reports how many; an additive migration switches api_keys.role_id to restrictOnDelete (#833).