Added clubrename command

This commit is contained in:
Cata
2023-09-04 00:41:33 +00:00
committed by Kwoth
parent f4b9c1c0e6
commit e158ba5b35
17 changed files with 10611 additions and 18 deletions

View File

@@ -237,10 +237,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