mirror of
https://github.com/TbT480jcspy/Iris-Rec-2023-Server-Code.git
synced 2026-09-08 06:31:23 -07:00
162 lines
6.1 KiB
C#
162 lines
6.1 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using ir23.Data;
|
|
|
|
#nullable disable
|
|
|
|
namespace ir23.Migrations
|
|
{
|
|
[DbContext(typeof(AppDbContext))]
|
|
[Migration("20260326231457_AvatarDB")]
|
|
partial class AvatarDB
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "8.0.0")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
|
|
|
modelBuilder.Entity("ir23.Data.PlatformData", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint")
|
|
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
|
|
|
b.Property<long>("accountId")
|
|
.HasColumnType("bigint")
|
|
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
|
|
|
b.Property<DateTime>("lastLoginTime")
|
|
.HasColumnType("datetime(6)")
|
|
.HasAnnotation("Relational:JsonPropertyName", "lastLoginTime");
|
|
|
|
b.Property<int>("platform")
|
|
.HasColumnType("int")
|
|
.HasAnnotation("Relational:JsonPropertyName", "platform");
|
|
|
|
b.Property<string>("platformId")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "platformId");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("PlatformDatas");
|
|
});
|
|
|
|
modelBuilder.Entity("ir23.Data.account", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint")
|
|
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
|
|
|
b.Property<string>("bannerImage")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "bannerImage");
|
|
|
|
b.Property<DateTime>("createdAt")
|
|
.HasColumnType("datetime(6)")
|
|
.HasAnnotation("Relational:JsonPropertyName", "createdAt");
|
|
|
|
b.Property<bool>("developer")
|
|
.HasColumnType("tinyint(1)")
|
|
.HasAnnotation("Relational:JsonPropertyName", "developer");
|
|
|
|
b.Property<string>("displayName")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "displayName");
|
|
|
|
b.Property<bool>("isJunior")
|
|
.HasColumnType("tinyint(1)")
|
|
.HasAnnotation("Relational:JsonPropertyName", "isJunior");
|
|
|
|
b.Property<int>("platforms")
|
|
.HasColumnType("int")
|
|
.HasAnnotation("Relational:JsonPropertyName", "platforms");
|
|
|
|
b.Property<string>("profileImage")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "profileImage");
|
|
|
|
b.Property<string>("username")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "username");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Accounts");
|
|
});
|
|
|
|
modelBuilder.Entity("ir23.Data.avatar", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint")
|
|
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
|
|
|
b.Property<string>("FaceFeatures")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "FaceFeatures");
|
|
|
|
b.Property<string>("HairColor")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "HairColor");
|
|
|
|
b.Property<string>("OutfitSelections")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "OutfitSelections");
|
|
|
|
b.Property<string>("SkinColour")
|
|
.IsRequired()
|
|
.HasColumnType("longtext")
|
|
.HasAnnotation("Relational:JsonPropertyName", "SkinColor");
|
|
|
|
b.Property<long>("accountId")
|
|
.HasColumnType("bigint")
|
|
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Avatars");
|
|
});
|
|
|
|
modelBuilder.Entity("ir23.Data.refreshtable", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("ExpiryTime")
|
|
.HasColumnType("datetime(6)");
|
|
|
|
b.Property<string>("RefreshToken")
|
|
.IsRequired()
|
|
.HasColumnType("longtext");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("refreshtables");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|