store cloudId in sqlite

This commit is contained in:
shenlong-tanwen
2025-07-30 02:54:53 +05:30
parent ecbaca3cee
commit 61e079a63e
5 changed files with 36 additions and 1 deletions
@@ -16,6 +16,8 @@ class LocalAssetEntity extends Table with DriftDefaultsMixin, AssetEntityMixin {
IntColumn get orientation => integer().withDefault(const Constant(0))();
TextColumn get cloudId => text().nullable()();
@override
Set<Column> get primaryKey => {id};
}