unique index auf user.name

This commit is contained in:
hydrant
2021-04-06 19:47:25 +02:00
parent bb1ae4bdc1
commit a09690b58c
4 changed files with 1922 additions and 3 deletions

View File

@@ -1463,6 +1463,9 @@ namespace ReallifeGamemode.Database.Migrations
b.HasIndex("HouseId");
b.HasIndex("Name")
.IsUnique();
b.ToTable("Users");
});