mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Refactors the add book slice and shared media contributor model across the stack
This commit is contained in:
1 parent
3a2c80b615
commit
9a71a6d32b
61 files changed
+5223
-1384
No files matched your search
@@ -227,7 +227,8 @@ public class BookConfiguration : IEntityTypeConfiguration<BookEntity>
|
||||
.HasDefaultValue(null)
|
||||
.HasColumnOrder(35);
|
||||
|
||||
builder.HasIndex(book => new { book.LibraryId, book.Path });
|
||||
builder.HasIndex(book => new { book.LibraryId, book.Path })
|
||||
.IsUnique(); // the same physical book on disk cannot appear twice in the same library
|
||||
builder.HasIndex(book => new { book.LibraryId, book.MetadataStatus });
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user