mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 14:34:39 +01:00
44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
// <auto-generated />
|
|
using BLHX.Server.Common.Database;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace BLHX.Server.Common.Migrations
|
|
{
|
|
[DbContext(typeof(AccountContext))]
|
|
[Migration("20240220103725_Init_AccountContext")]
|
|
partial class Init_AccountContext
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(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
|
|
}
|
|
}
|
|
}
|