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

@@ -135,7 +135,6 @@ namespace NadekoBot.Db.Migrations.Mysql
.HasColumnName("imageurl");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar(20)")
.HasColumnName("name")
@@ -152,8 +151,9 @@ namespace NadekoBot.Db.Migrations.Mysql
b.HasKey("Id")
.HasName("pk_clubs");
b.HasAlternateKey("Name")
.HasName("ak_clubs_name");
b.HasIndex("Name")
.IsUnique()
.HasDatabaseName("ix_clubs_name");
b.HasIndex("OwnerId")
.IsUnique()