mirror of
https://github.com/TbT480jcspy/Deluxe-2023-Server-Code.git
synced 2026-09-08 22:51:28 -07:00
Movement
This commit is contained in:
+269
@@ -0,0 +1,269 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using DeluxeNET.Data;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DeluxeNET.Migrations
|
||||
{
|
||||
[DbContext(typeof(AppDbContext))]
|
||||
[Migration("20260420075517_repAdd")]
|
||||
partial class repAdd
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "9.0.11")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("DeluxeNET.Data.CachedLogin", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("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.Property<bool>("requirePassword")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "requirePassword");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("CachedLogins");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DeluxeNET.Data.account", b =>
|
||||
{
|
||||
b.Property<long>("accountId")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("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<string>("displayName")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "displayName");
|
||||
|
||||
b.Property<int>("identityFlags")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "identityFlags");
|
||||
|
||||
b.Property<bool>("isJunior")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "isJunior");
|
||||
|
||||
b.Property<bool>("isMetaPlatformBlocked")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "isMetaPlatformBlocked");
|
||||
|
||||
b.Property<int>("personalPronouns")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "personalPronouns");
|
||||
|
||||
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("accountId");
|
||||
|
||||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DeluxeNET.Data.avatar", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("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>("SkinColor")
|
||||
.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("DeluxeNET.Data.progression", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<int>("Level")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Level");
|
||||
|
||||
b.Property<long>("PlayerId")
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "PlayerId");
|
||||
|
||||
b.Property<int>("XP")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "XP");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Progressions");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DeluxeNET.Data.reputation", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<int>("CheerCreative")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerCreative");
|
||||
|
||||
b.Property<int>("CheerCredit")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerCredit");
|
||||
|
||||
b.Property<int>("CheerGeneral")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerGeneral");
|
||||
|
||||
b.Property<int>("CheerGreatHost")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerGreatHost");
|
||||
|
||||
b.Property<int>("CheerHelpful")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerHelpful");
|
||||
|
||||
b.Property<int>("CheerSportsman")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "CheerSportsman");
|
||||
|
||||
b.Property<bool>("IsCheerful")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "IsCheerful");
|
||||
|
||||
b.Property<float>("Noteriety")
|
||||
.HasColumnType("float")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Noteriety");
|
||||
|
||||
b.Property<int>("SelectedCheer")
|
||||
.HasColumnType("int")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "SelectedCheer");
|
||||
|
||||
b.Property<long>("accountId")
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Reputations");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DeluxeNET.Data.setting", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Id");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("Key")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Key");
|
||||
|
||||
b.Property<string>("Value")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "Value");
|
||||
|
||||
b.Property<long>("accountId")
|
||||
.HasColumnType("bigint")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "accountId");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Settings");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user