mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-09 11:46:18 +00:00
Fix typo in comment and remove useless ones
This commit is contained in:
@@ -12,14 +12,10 @@ namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
/// <inheritdoc/>
|
||||
public void Configure(EntityTypeBuilder<User> builder)
|
||||
{
|
||||
// Collations
|
||||
|
||||
builder
|
||||
.Property(user => user.Username)
|
||||
.UseCollation("NOCASE");
|
||||
|
||||
// Delete behavior
|
||||
|
||||
builder
|
||||
.HasOne(u => u.ProfileImage)
|
||||
.WithOne()
|
||||
@@ -52,8 +48,6 @@ namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
.WithOne()
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
// Indexes
|
||||
|
||||
builder
|
||||
.HasIndex(entity => entity.Username)
|
||||
.IsUnique();
|
||||
|
||||
Reference in New Issue
Block a user