mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 15:43:58 -05:00
- Added a new `file_count` column to the `content_kinds` table to track the number of content identities for each kind, improving statistics calculation efficiency. - Implemented a migration script to add the `file_count` column and ensure backward compatibility. - Updated the `Library` struct to include a method for updating content kind counts based on existing content identities. - Introduced a new query for retrieving content kind statistics, including file counts, to facilitate better data analysis and reporting. - Refactored related components to support the new statistics functionality, enhancing overall data integrity and performance.
1001 KiB
Executable File
1001 KiB
Executable File