mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Fix typo in comment and remove useless ones
This commit is contained in:
@@ -12,15 +12,11 @@ namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<DisplayPreferences> builder)
|
||||
{
|
||||
// Delete behaviour
|
||||
|
||||
builder
|
||||
.HasMany(d => d.HomeSections)
|
||||
.WithOne()
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
// Indexes
|
||||
|
||||
builder
|
||||
.HasIndex(entity => new { entity.UserId, entity.ItemId, entity.Client })
|
||||
.IsUnique();
|
||||
|
||||
Reference in New Issue
Block a user