vaultik/internal/database
sneak bb2292de7f Fix file content change handling and improve log messages
- Delete old file_chunks and chunk_files when file content changes
- Add DeleteByFileID method to ChunkFileRepository
- Add tests to verify old chunks are properly disassociated
- Make log messages more precise throughout scanner and snapshot
- Support metadata-only snapshots when no files have changed
- Add periodic status output during scan and snapshot operations
- Improve scan summary output with clearer information
2025-07-26 02:38:50 +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 Fix file content change handling and improve log messages 2025-07-26 02:38:50 +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