Adds the SSD content setting to the library model and persistence

Stores whether the content of a library is on a solid state drive, off by default, so scans can choose between parallel and sequential reads.
This commit is contained in:
BinaryAlley committed 2026-10-30 22:39:19 +02:00
1 parent 6e77cf3302
commit 6eac3d578e
6 files changed
+3962

No files matched your search

@@ -79,6 +79,10 @@ public class LibraryConfiguration : IEntityTypeConfiguration<LibraryEntity>
.HasDefaultValue(null)
.HasColumnOrder(17);
builder.Property(library => library.IsContentOnSsd)
.HasDefaultValue(false)
.HasColumnOrder(18);
// one user with many libraries
builder.HasOne(library => library.User)
.WithMany(user => user.Libraries)