fix(mobile): drop unique constraint on cloud_id (#25291)

fix: drop unique constraint on cloud_id

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2026-01-16 04:36:29 +05:30 committed by GitHub
parent 2ac113624b
commit 91592aa48e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -5,7 +5,7 @@ import 'package:immich_mobile/infrastructure/utils/drift_default.mixin.dart';
class RemoteAssetCloudIdEntity extends Table with DriftDefaultsMixin {
TextColumn get assetId => text().references(RemoteAssetEntity, #id, onDelete: KeyAction.cascade)();
TextColumn get cloudId => text().unique().nullable()();
TextColumn get cloudId => text().nullable()();
DateTimeColumn get createdAt => dateTime().nullable()();

Binary file not shown.