sync adjustment timestamp and store in db

This commit is contained in:
shenlong-tanwen
2025-09-20 00:39:49 +05:30
parent d3646b2eab
commit d1a5ba7a66
11 changed files with 7769 additions and 7 deletions
@@ -16,6 +16,8 @@ class LocalAssetEntity extends Table with DriftDefaultsMixin, AssetEntityMixin {
IntColumn get orientation => integer().withDefault(const Constant(0))();
IntColumn get adjustmentTimestamp => integer().nullable()();
@override
Set<Column> get primaryKey => {id};
}
@@ -34,5 +36,6 @@ extension LocalAssetEntityDataDomainExtension on LocalAssetEntityData {
width: width,
remoteId: null,
orientation: orientation,
adjustmentTimestamp: adjustmentTimestamp,
);
}