mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 19:33:01 +00:00
This commit introduces a `lastUsed` timestamp to the `ApplicationEntity`. This new field tracks the last time an application was used and is updated every time a new history event is recorded. The changes include: * Updating the Room database schema to version 14. * Adding a database migration to include the new `lastUsed` column. * Populating the `lastUsed` field on application creation and when adding history. * Refactoring the application list query to sort by `lastUsed` directly, removing the need for a join with the history table.