mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 15:04:37 +01:00
player dbs...
This commit is contained in:
43
BLHX.Server.Common/Migrations/20240220103725_Init_AccountContext.Designer.cs
generated
Normal file
43
BLHX.Server.Common/Migrations/20240220103725_Init_AccountContext.Designer.cs
generated
Normal file
@@ -0,0 +1,43 @@
|
||||
// <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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user