vaultik/internal/database
sneak d3afa65420 Fix foreign key constraints and improve snapshot tracking
- Add unified compression/encryption package in internal/blobgen
- Update DATAMODEL.md to reflect current schema implementation
- Refactor snapshot cleanup into well-named methods for clarity
- Add snapshot_id to uploads table to track new blobs per snapshot
- Fix blob count reporting for incremental backups
- Add DeleteOrphaned method to BlobChunkRepository
- Fix cleanup order to respect foreign key constraints
- Update tests to reflect schema changes
2025-07-26 02:22:25 +02:00
..
schema Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
blob_chunks_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
blob_chunks.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
blobs_test.go Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
blobs.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
cascade_debug_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunk_files_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunk_files.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
chunks_ext.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunks_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunks.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
database_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
database.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
errors.go Implement local SQLite index database with repositories 2025-07-20 10:26:15 +02:00
file_chunks_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
file_chunks.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
files_test.go Implement SQLite index database layer 2025-07-20 10:56:30 +02:00
files.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
models.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
module.go Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
repositories_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
repositories.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
repository_comprehensive_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
repository_debug_test.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
repository_edge_cases_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
schema.sql Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
snapshots_test.go Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
snapshots.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
uploads.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00