mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
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:
parent
2ac113624b
commit
91592aa48e
5 changed files with 1 additions and 1 deletions
BIN
mobile/drift_schemas/main/drift_schema_v16.json
generated
BIN
mobile/drift_schemas/main/drift_schema_v16.json
generated
Binary file not shown.
|
|
@ -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.
Binary file not shown.
BIN
mobile/test/drift/main/generated/schema_v16.dart
generated
BIN
mobile/test/drift/main/generated/schema_v16.dart
generated
Binary file not shown.
Loading…
Reference in a new issue