feat: add soft deletes to WorkspaceInvitation model #68

Open
Charon wants to merge 2 commits from feat/invitation-soft-deletes into dev

2 commits

Author SHA1 Message Date
Claude
a2e2b04e2a
feat: add SoftDeletes trait to WorkspaceInvitation model
Add the SoftDeletes import and trait usage so delete() calls perform
soft deletes, preserving cancelled invitations for audit trail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:37:14 +00:00
Claude
940d59770d
feat: add soft deletes to WorkspaceInvitation model
Invitations were hard-deleted when cancelled, removing the audit trail.
Add SoftDeletes trait and migration for deleted_at column so cancelled
invitations are retained for auditing purposes.

Fixes #22

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:36:46 +00:00