Use async DB queries.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// <auto-generated />
|
||||
|
||||
using Content.Server.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
|
||||
namespace Content.Server.Database.Migrations.Postgres
|
||||
@@ -14,7 +15,7 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
|
||||
.HasAnnotation("ProductVersion", "3.1.0")
|
||||
.HasAnnotation("ProductVersion", "3.1.4")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
modelBuilder.Entity("Content.Server.Database.HumanoidProfile", b =>
|
||||
@@ -76,6 +77,9 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
|
||||
b.HasIndex("PrefsId");
|
||||
|
||||
b.HasIndex("Slot", "PrefsId")
|
||||
.IsUnique();
|
||||
|
||||
b.ToTable("HumanoidProfile");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user