This commit is contained in:
Kwoth
2023-09-05 23:22:31 +00:00
30 changed files with 21096 additions and 41 deletions

View File

@@ -238,10 +238,11 @@ public abstract class NadekoContext : DbContext
.HasForeignKey<ClubInfo>(x => x.OwnerId)
.OnDelete(DeleteBehavior.SetNull);
ci.HasAlternateKey(x => new
{
x.Name
});
ci.HasIndex(x => new
{
x.Name
})
.IsUnique();
#endregion