-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable deletion of dangling document_views
and related document_view_fields
from db
#491
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## development #491 +/- ##
===============================================
+ Coverage 88.60% 92.07% +3.47%
===============================================
Files 42 100 +58
Lines 2202 16022 +13820
===============================================
+ Hits 1951 14752 +12801
- Misses 251 1270 +1019
☔ View full report in Codecov by Sentry. |
document_views
rows and related document_view_fields
from db document_views
and related document_view_fields
from db
document_views
and related document_view_fields
from db document_views
and related document_view_fields
from db
document_views
and related document_view_fields
from db document_views
and related document_view_fields
from db
document_views
and related document_view_fields
from db document_views
and related document_view_fields
from db
Need to make it work with postgres... |
Maybe drop PostgreSQL Support? 🙈 |
…ew_fields` from db (#491) * Add fk to document_view_fields with cascading DELETE * Introduce `prune_document_views` method to `DocumentStore` * Test for pruning document views * Test that pinned views don't get deleted * Update CHANGELOG * Clippy * Remove fk constraint on `operation_id` in `document_view_fields` table * Change table creation order in documents migration * Use IS NULL in SQL conditional * Don't use alias in SQL query
* development: Make sure `/tmp` directory does not run out of scope before application ends (#557) Integrate `Bytes` value (#554) Stream blob data in chunks to files to not occupy too much memory (#551) Blobs directory configuration (#549) Use correct MAX_BLOB_PIECE_LENGTH from p2panda_rs Build a byte buffer over paginated pieces when assembling blobs (#547) HTTP routes to serve files with correct content type and etag headers (#544) Task for automatic garbage collection of unused documents and views (#500) Refactor tmp blob dir creation after rebase Fix after rebase "blob" materializer task (#493) Add static file server to `http` service (#483) Enable deletion of dangling `document_views` and related `document_view_fields` from db (#491) BlobStore for retrieving raw blob data from the db (#484)
document_view_fields
anddocument_views
DocumentStore
which takes aDocumentId
and deletes any unpinned+not current views📋 Checklist
CHANGELOG.md