// using System; using KfChatDotNetBot; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace KfChatDotNetBot.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240717110408_Howlgg")] partial class Howlgg { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "8.0.7"); modelBuilder.Entity("KfChatDotNetKickBot.Models.DbModels.HowlggBetsDbModel", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Bet") .HasColumnType("INTEGER"); b.Property("BetId") .HasColumnType("INTEGER"); b.Property("Date") .HasColumnType("TEXT"); b.Property("Game") .IsRequired() .HasColumnType("TEXT"); b.Property("GameId") .HasColumnType("INTEGER"); b.Property("Profit") .HasColumnType("INTEGER"); b.Property("UserId") .HasColumnType("INTEGER"); b.HasKey("Id"); b.ToTable("HowlggBets"); }); modelBuilder.Entity("KfChatDotNetKickBot.Models.DbModels.JuicerDbModel", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Amount") .HasColumnType("REAL"); b.Property("JuicedAt") .HasColumnType("TEXT"); b.Property("UserId") .HasColumnType("INTEGER"); b.HasKey("Id"); b.HasIndex("UserId"); b.ToTable("Juicers"); }); modelBuilder.Entity("KfChatDotNetKickBot.Models.DbModels.SettingDbModel", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Default") .HasColumnType("TEXT"); b.Property("Description") .IsRequired() .HasColumnType("TEXT"); b.Property("IsSecret") .HasColumnType("INTEGER"); b.Property("Key") .IsRequired() .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("Regex") .IsRequired() .HasColumnType("TEXT"); b.Property("Value") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Settings"); }); modelBuilder.Entity("KfChatDotNetKickBot.Models.DbModels.UserDbModel", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Ignored") .HasColumnType("INTEGER"); b.Property("KfId") .HasColumnType("INTEGER"); b.Property("KfUsername") .IsRequired() .HasColumnType("TEXT"); b.Property("UserRight") .HasColumnType("INTEGER"); b.HasKey("Id"); b.ToTable("Users"); }); modelBuilder.Entity("KfChatDotNetKickBot.Models.DbModels.JuicerDbModel", b => { b.HasOne("KfChatDotNetKickBot.Models.DbModels.UserDbModel", "User") .WithMany() .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("User"); }); #pragma warning restore 612, 618 } } }