mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: failing test
This commit is contained in:
@@ -187,7 +187,7 @@ class DriftLocalAssetRepository extends DriftDatabaseRepository {
|
|||||||
}) async {
|
}) async {
|
||||||
final hasEdits = _db.assetEditEntity.id.isNotNull();
|
final hasEdits = _db.assetEditEntity.id.isNotNull();
|
||||||
final iosSharedAlbumAssets = _db.localAlbumAssetEntity.selectOnly()
|
final iosSharedAlbumAssets = _db.localAlbumAssetEntity.selectOnly()
|
||||||
..addColumns([_db.localAlbumAssetEntity.assetId, hasEdits])
|
..addColumns([_db.localAlbumAssetEntity.assetId])
|
||||||
..join([
|
..join([
|
||||||
innerJoin(
|
innerJoin(
|
||||||
_db.localAlbumEntity,
|
_db.localAlbumEntity,
|
||||||
@@ -204,7 +204,7 @@ class DriftLocalAssetRepository extends DriftDatabaseRepository {
|
|||||||
_db.assetEditEntity.assetId.equalsExp(_db.remoteAssetEntity.id),
|
_db.assetEditEntity.assetId.equalsExp(_db.remoteAssetEntity.id),
|
||||||
useColumns: false,
|
useColumns: false,
|
||||||
),
|
),
|
||||||
]);
|
])..addColumns([hasEdits]);
|
||||||
|
|
||||||
Expression<bool> whereClause =
|
Expression<bool> whereClause =
|
||||||
_db.localAssetEntity.createdAt.isSmallerOrEqualValue(cutoffDate) &
|
_db.localAssetEntity.createdAt.isSmallerOrEqualValue(cutoffDate) &
|
||||||
|
|||||||
Reference in New Issue
Block a user