// 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("20260327000558_ProgressionTable")] partial class ProgressionTable { /// 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("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "Id"); b.Property("accountId") .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "accountId"); b.Property("lastLoginTime") .HasColumnType("datetime(6)") .HasAnnotation("Relational:JsonPropertyName", "lastLoginTime"); b.Property("platform") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "platform"); b.Property("platformId") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "platformId"); b.HasKey("Id"); b.ToTable("PlatformDatas"); }); modelBuilder.Entity("ir23.Data.account", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "accountId"); b.Property("bannerImage") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "bannerImage"); b.Property("createdAt") .HasColumnType("datetime(6)") .HasAnnotation("Relational:JsonPropertyName", "createdAt"); b.Property("developer") .HasColumnType("tinyint(1)") .HasAnnotation("Relational:JsonPropertyName", "developer"); b.Property("displayName") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "displayName"); b.Property("isJunior") .HasColumnType("tinyint(1)") .HasAnnotation("Relational:JsonPropertyName", "isJunior"); b.Property("platforms") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "platforms"); b.Property("profileImage") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "profileImage"); b.Property("username") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "username"); b.HasKey("Id"); b.ToTable("Accounts"); }); modelBuilder.Entity("ir23.Data.avatar", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "Id"); b.Property("FaceFeatures") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "FaceFeatures"); b.Property("HairColor") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "HairColor"); b.Property("OutfitSelections") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "OutfitSelections"); b.Property("SkinColour") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "SkinColor"); b.Property("accountId") .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "accountId"); b.HasKey("Id"); b.ToTable("Avatars"); }); modelBuilder.Entity("ir23.Data.playersetting", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "Id"); b.Property("Key") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "Key"); b.Property("Value") .IsRequired() .HasColumnType("longtext") .HasAnnotation("Relational:JsonPropertyName", "Value"); b.Property("accountId") .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "accountId"); b.HasKey("Id"); b.ToTable("PlayerSettings"); }); modelBuilder.Entity("ir23.Data.progression", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "Id"); b.Property("Level") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "Level"); b.Property("PlayerId") .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "PlayerId"); b.Property("XP") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "XP"); b.HasKey("Id"); b.ToTable("Progressions"); }); modelBuilder.Entity("ir23.Data.refreshtable", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); b.Property("AccountId") .HasColumnType("bigint"); b.Property("ExpiryTime") .HasColumnType("datetime(6)"); b.Property("RefreshToken") .IsRequired() .HasColumnType("longtext"); b.HasKey("Id"); b.ToTable("refreshtables"); }); modelBuilder.Entity("ir23.Data.reputation", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "Id"); b.Property("CheerCreative") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerCreative"); b.Property("CheerCredit") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerCredit"); b.Property("CheerGeneral") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerGeneral"); b.Property("CheerGreatHost") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerGreatHost"); b.Property("CheerHelpful") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerHelpful"); b.Property("CheerSportsman") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "CheerSportsman"); b.Property("IsCheerful") .HasColumnType("tinyint(1)") .HasAnnotation("Relational:JsonPropertyName", "IsCheerful"); b.Property("Noteriety") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "Noteriety"); b.Property("SelectedCheer") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "SelectedCheer"); b.Property("SubscribedCount") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "SubscribedCount"); b.Property("SubscriberCount") .HasColumnType("int") .HasAnnotation("Relational:JsonPropertyName", "SubscriberCount"); b.Property("accountId") .HasColumnType("bigint") .HasAnnotation("Relational:JsonPropertyName", "accountId"); b.HasKey("Id"); b.ToTable("Reputations"); }); #pragma warning restore 612, 618 } } }