fix: asset update race condition

This commit is contained in:
Daniel Dietzler
2025-03-16 13:17:55 +01:00
parent 9a4495eb5b
commit 75d1d21cc6
13 changed files with 172 additions and 114 deletions
+3
View File
@@ -125,6 +125,9 @@ export class AssetEntity {
@Column({ type: 'boolean', default: false })
isOffline!: boolean;
@Column({ type: 'boolean', default: false })
isDirty!: boolean;
@Column({ type: 'bytea' })
@Index()
checksum!: Buffer; // sha1 checksum