immich/mobile/lib/infrastructure/entities
Luis Nachtigall f4e156494f
feat(mobile): add playbackStyle to local asset entity and related database schema (#26596)
* feat: add playbackStyle to local asset entity and related database schema

* implement conversion function for playbackStyle in local sync service

* implement conversion function for playbackStyle in local sync service

* refactor: remove deducedPlaybackStyle from TrashedLocalAssetEntityData

* add playbackStyle column to trashed local asset entity

* make playbackStyle non-nullable across the mobile codebase

* Streamline playbackStyle backfill:
- only backfill local assets playbackStyle in flutter/dart code
- only update trashed local assets in db migration

* bump target database version to 23 and update migration logic for playbackStyle

* set playback_style to 0 in merged_asset.drift as its a getter in base asset

* run make pigeon

* Populate playbackStyle for trashed assets during native migration
2026-03-01 14:50:21 -05:00
..
asset_face.entity.dart fix: missing deletedAt and isVisible columns on mobile (#26414) 2026-02-23 09:50:54 -05:00
asset_face.entity.drift.dart fix: missing deletedAt and isVisible columns on mobile (#26414) 2026-02-23 09:50:54 -05:00
auth_user.entity.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
auth_user.entity.drift.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -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: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
exif.entity.dart feat(mobile): star rating (#24457) 2026-01-23 21:17:46 +05:30
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: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
local_album.entity.dart fix: propagate iCloud Shared Album flag (#25060) 2026-01-06 19:46:25 -06:00
local_album.entity.drift.dart feat: album info sync (#21103) 2025-09-04 18:44:10 +00:00
local_album_asset.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
local_album_asset.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
local_asset.entity.dart feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -05:00
local_asset.entity.drift.dart feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -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 feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -05:00
merged_asset.drift.dart feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -05:00
partner.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
partner.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
person.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
person.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_album.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_album.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_album_asset.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_album_asset.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
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 chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_asset.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
remote_asset_cloud_id.entity.dart fix: slow hash reconcilation (#25503) 2026-01-26 09:12:00 -06:00
remote_asset_cloud_id.entity.drift.dart fix: slow hash reconcilation (#25503) 2026-01-26 09:12:00 -06:00
stack.entity.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
stack.entity.drift.dart chore: add indexes for foreign keys (#25925) 2026-02-12 19:58:31 +05:30
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: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
trashed_local_asset.entity.dart feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -05:00
trashed_local_asset.entity.drift.dart feat(mobile): add playbackStyle to local asset entity and related database schema (#26596) 2026-03-01 14:50:21 -05:00
user.entity.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
user.entity.drift.dart feat: sync AuthUserV1 (#21565) 2025-09-08 14:00:10 -05:00
user.entity.g.dart chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -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