Skip to content

Feature/soft delete streams#69

Merged
greatest0fallt1me merged 2 commits intoStreampay-Org:mainfrom
eischideraa-unn:feature/soft-delete-streams
Apr 1, 2026
Merged

Feature/soft delete streams#69
greatest0fallt1me merged 2 commits intoStreampay-Org:mainfrom
eischideraa-unn:feature/soft-delete-streams

Conversation

@eischideraa-unn
Copy link
Copy Markdown
Contributor

@eischideraa-unn eischideraa-unn commented Mar 30, 2026

Closes #40


Implemented soft delete functionality for stream records to support safer data handling and retention policies. Introduced a deleted_at field via migration and updated repository queries to exclude soft-deleted records by default, ensuring they remain hidden from standard operations while still preserved in the database.

Enhanced the DELETE endpoint to follow soft delete semantics, with clear documentation distinguishing soft deletion from potential future hard deletion (purge). Added support for admin-level access to view deleted records when needed.

Comprehensive test coverage ensures deleted records are excluded from default queries and validates edge cases around visibility and access. All checks pass successfully (npm test and npm run lint), and documentation includes GDPR and retention considerations, with a purge job noted as a future extension.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@eischideraa-unn Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me greatest0fallt1me merged commit f1f2b23 into Streampay-Org:main Apr 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Soft delete and retention for stream records

2 participants