mirror-immich/mobile/test/domain/services
shenlong 6f4f79d8cc
feat: migrate store to sqlite (#21078)
* add store entity and migration

* make store service take both isar and drift repos

* migrate and switch store on beta timeline state change

* chore: make drift variables final

* dispose old store before switching repos

* use store to update values for beta timeline

* change log service to use the proper store

* migrate store when beta already enabled

* use isar repository to check beta timeline in store service

* remove unused update method from store repo

* dispose after create

* change watchAll signature in store repo

* fix test

* rename init isar to initDB

* request user to close and reopen on beta migration

* fix tests

* handle empty version in migration

* wait for cache to be populated after migration

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-08-21 14:58:50 -05:00
..
album.service_test.dart feat(mobile): shared album activities (#20714) 2025-08-14 22:50:56 +00:00
hash_service_test.dart fix: clear local file cache before upload (#20448) 2025-07-30 14:32:38 -05:00
log_service_test.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store_service_test.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
sync_stream_service_test.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
user_service_test.dart fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00