[dirac] soft-delete-entities#60
Draft
pike00 wants to merge 7 commits into
Draft
Conversation
…, Note
- Add deleted_at field to model classes with index
- Add deleted_at to Public response classes
- Update API endpoints to use soft delete instead of hard delete
- Add restore endpoints (POST /{entity}/{id}/restore)
- Create Alembic migration f6a7b8c9d0e1
- Update deps.py to use filtered session with soft-delete criteria
- Added deleted_at field to Interaction, Reminder, Gift, Debt, LifeEvent, Note models
- Added restore endpoints for all entities (POST /{entity}/{id}/restore)
- Changed delete endpoints to soft delete (set deleted_at) instead of hard delete
- Added SessionLocal and configure_session to db.py
- Fixed current_user parameter issues in route files
- All ruff checks pass
# Conflicts: # backend/app/api/routes/contacts.py # frontend/src/client/sdk.gen.ts # frontend/src/client/types.gen.ts
…ities # Conflicts: # frontend/src/client/schemas.gen.ts # frontend/src/client/sdk.gen.ts # frontend/src/client/types.gen.ts
93f3ff3 to
9d80e7e
Compare
Owner
Author
|
🤖 pr-sweep-runner skipped this PR — could not bring it green. Reason: could not merge origin/main (unresolvable conflicts) Audit trail: |
1 similar comment
Owner
Author
|
🤖 pr-sweep-runner skipped this PR — could not bring it green. Reason: could not merge origin/main (unresolvable conflicts) Audit trail: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated by the Dirac runner on 2026-05-03T11:26:11Z.
Project:
soft-delete-entitiesStatus before run: active
Outcome: timeout
Commits: 2
Spec: docs/projects/soft-delete-entities/README.md
Log:
.dirac-runner/logs/soft-delete-entities.log