immich/mobile/lib/infrastructure/entities
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
..
asset_face.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
asset_face.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
device_asset.entity.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
device_asset.entity.g.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
exif.entity.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
exif.entity.drift.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
exif.entity.g.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
local_album.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
local_album.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
local_album_asset.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
local_album_asset.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
local_asset.entity.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
local_asset.entity.drift.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
log.entity.dart feat: use sqlite for logging (#20414) 2025-08-06 10:49:29 -05:00
log.entity.drift.dart feat: use sqlite for logging (#20414) 2025-08-06 10:49:29 -05:00
memory.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
memory.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
memory_asset.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
memory_asset.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
merged_asset.drift fix: exclude assets from excluded albumbs on main timeline (#20425) 2025-07-30 10:16:23 -05:00
merged_asset.drift.dart fix: exclude assets from excluded albumbs on main timeline (#20425) 2025-07-30 10:16:23 -05:00
partner.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
partner.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
person.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
person.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album_asset.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album_asset.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_album_user.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
remote_album_user.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
remote_asset.entity.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
remote_asset.entity.drift.dart fix: use create if not exists clause for indexes (#20728) 2025-08-06 16:57:33 -05:00
stack.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
stack.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
store.entity.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store.entity.drift.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store.entity.g.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
user.entity.dart fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00
user.entity.drift.dart fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00
user.entity.g.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
user_metadata.entity.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
user_metadata.entity.drift.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00