Drop lastViewedAt from uploads because inactivity cleanup is out of scope.

Add a migration and remove the column from the Upload entity.
This commit is contained in:
2026-10-27 14:55:27 +01:00
parent eda4b8af6e
commit cb8a6a800d
2 changed files with 13 additions and 3 deletions
@@ -32,9 +32,6 @@ export class Upload {
@OneToOne(() => UploadHotlink, hotlink => hotlink.upload, { cascade: true })
hotlink: UploadHotlink | null;
@Column({ type: 'timestamptz', nullable: true })
lastViewedAt: Date | null;
@Column({ type: 'timestamptz', nullable: true })
expiresAt: Date | null;