Files
BLHX.Server/BLHX.Server.Common/Migrations/AccountContextModelSnapshot.cs
2024-02-20 18:35:48 +07:00

41 lines
1.2 KiB
C#

// <auto-generated />
using BLHX.Server.Common.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace BLHX.Server.Common.Migrations
{
[DbContext(typeof(AccountContext))]
partial class AccountContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.2");
modelBuilder.Entity("BLHX.Server.Common.Database.Account", b =>
{
b.Property<uint>("Uid")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("DeviceId")
.IsRequired()
.HasColumnType("TEXT");
b.Property<string>("Token")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Uid");
b.ToTable("Accounts");
});
#pragma warning restore 612, 618
}
}
}