From 816fb1746a547231c47c30075fc4c1bcdc2f4c9e Mon Sep 17 00:00:00 2001 From: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Thu, 31 Jul 2025 01:17:39 +0530 Subject: [PATCH] rebase on server changes --- mobile/lib/infrastructure/repositories/db.repository.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/lib/infrastructure/repositories/db.repository.dart b/mobile/lib/infrastructure/repositories/db.repository.dart index a6d80032e7..61440f9594 100644 --- a/mobile/lib/infrastructure/repositories/db.repository.dart +++ b/mobile/lib/infrastructure/repositories/db.repository.dart @@ -97,8 +97,6 @@ class Drift extends $Drift implements IDatabaseRepository { await m.create(v4.assetFaceEntity); }, from4To5: (m, v5) async { - // Add cloudId column to local_asset_entity - await m.addColumn(v5.localAssetEntity, v5.localAssetEntity.cloudId); await m.alterTable( TableMigration( v5.userEntity, @@ -124,6 +122,8 @@ class Drift extends $Drift implements IDatabaseRepository { }, from7To8: (m, v8) async { await m.create(v8.storeEntity); + // Add cloudId column to local_asset_entity + await m.addColumn(v6.localAssetEntity, v6.localAssetEntity.cloudId); }, from8To9: (m, v9) async { await m.addColumn(v9.localAlbumEntity, v9.localAlbumEntity.linkedRemoteAlbumId);