mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
This commit refactors the database structure by moving the `history` table from the main `AppDatabase` into a new, separate `HistoryDatabase`. Key changes: - Create a new `HistoryDatabase` and `HistoryDao` to manage all event history records. - Remove the `history` table and related DAO methods from `AppDatabase` and `ApplicationDao`. - Add a migration (`MIGRATION_15_16`) to drop the old `history` table from `AppDatabase`. - Update all call sites throughout the application to use the new `HistoryDatabase` for storing and retrieving history events. - The `Amber` class now manages instances of `HistoryDatabase` for each account.