mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
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:
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)
|
||||
|
||||
Reference in new issue
Block a user