// using System; using Kehyeedra3; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Kehyeedra3.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20220219105127_GuildFeatures")] partial class GuildFeatures { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "3.1.11") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("Kehyeedra3.Services.Models.Farming", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("CropInventory") .HasColumnType("LONGTEXT"); b.Property("EmployeeCount") .HasColumnType("int"); b.Property("FXp") .HasColumnType("bigint unsigned"); b.Property("Lvl") .HasColumnType("bigint unsigned"); b.Property("PlotInventory") .HasColumnType("LONGTEXT"); b.Property("TXp") .HasColumnType("bigint unsigned"); b.Property("Tier") .HasColumnType("int"); b.Property("Xp") .HasColumnType("bigint unsigned"); b.HasKey("Id"); b.ToTable("Farming"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.Fishing", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("FXp") .HasColumnType("bigint unsigned"); b.Property("Inventory") .HasColumnType("LONGTEXT"); b.Property("LastFish") .HasColumnType("bigint unsigned"); b.Property("Lvl") .HasColumnType("bigint unsigned"); b.Property("Prestige") .HasColumnType("int"); b.Property("RodOwned") .HasColumnType("tinyint unsigned"); b.Property("RodUsed") .HasColumnType("tinyint unsigned"); b.Property("TXp") .HasColumnType("bigint unsigned"); b.Property("Xp") .HasColumnType("bigint unsigned"); b.HasKey("Id"); b.ToTable("Fishing"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.Guild", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("Changenick") .HasColumnType("tinyint(1)"); b.HasKey("Id"); b.ToTable("Guilds"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.ItemOffer", b => { b.Property("OfferId") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("Amount") .HasColumnType("int"); b.Property("BuyerId") .HasColumnType("bigint unsigned"); b.Property("IsPurchaseFromStore") .HasColumnType("tinyint(1)"); b.Property("IsSellOffer") .HasColumnType("tinyint(1)"); b.Property("ItemId") .HasColumnType("bigint unsigned"); b.Property("OfferAmount") .HasColumnType("int"); b.Property("StoreFrontId") .HasColumnType("bigint unsigned"); b.Property("StoreId") .HasColumnType("bigint unsigned"); b.HasKey("OfferId"); b.HasIndex("StoreFrontId"); b.ToTable("ItemOffer"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.Mining", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("LastMine") .HasColumnType("bigint unsigned"); b.Property("Lvl") .HasColumnType("bigint unsigned"); b.Property("TXp") .HasColumnType("bigint unsigned"); b.Property("Xp") .HasColumnType("bigint unsigned"); b.HasKey("Id"); b.ToTable("Mining"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.Reminder", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("Created") .HasColumnType("bigint unsigned"); b.Property("Message") .HasColumnType("longtext CHARACTER SET utf8mb4"); b.Property("Send") .HasColumnType("bigint unsigned"); b.Property("UserId") .HasColumnType("bigint unsigned"); b.HasKey("Id"); b.ToTable("Reminders"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.StoreFront", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("StoreItemType") .HasColumnType("int"); b.Property("UserId") .HasColumnType("bigint unsigned"); b.HasKey("Id"); b.ToTable("StoreFronts"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.StoreInventory", b => { b.Property("InvId") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("Amount") .HasColumnType("int"); b.Property("Item") .HasColumnType("longtext CHARACTER SET utf8mb4"); b.Property("Price") .HasColumnType("int"); b.Property("StoreFrontId") .HasColumnType("bigint unsigned"); b.HasKey("InvId"); b.HasIndex("StoreFrontId"); b.ToTable("StoreInventory"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.User", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("Avatar") .HasColumnType("longtext CHARACTER SET utf8mb4"); b.Property("CurrentBattlefish") .HasColumnType("TINYINT"); b.Property("GeneralInventory") .HasColumnType("LONGTEXT"); b.Property("Money") .HasColumnType("bigint"); b.Property("OwnerId") .HasColumnType("bigint unsigned"); b.Property("Username") .HasColumnType("longtext CHARACTER SET utf8mb4"); b.HasKey("Id"); b.ToTable("Users"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.User+BattleFishObject", b => { b.Property("FishId") .ValueGeneratedOnAdd() .HasColumnType("bigint unsigned"); b.Property("FishType") .HasColumnType("TINYINT"); b.Property("Lvl") .HasColumnType("int"); b.Property("Name") .HasColumnType("longtext CHARACTER SET utf8mb4"); b.Property("NextXp") .HasColumnType("bigint unsigned"); b.Property("UserId") .HasColumnType("bigint unsigned"); b.Property("Xp") .HasColumnType("bigint unsigned"); b.HasKey("FishId"); b.ToTable("Battlefish"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.ItemOffer", b => { b.HasOne("Kehyeedra3.Services.Models.StoreFront", null) .WithMany("Offers") .HasForeignKey("StoreFrontId"); }); modelBuilder.Entity("Kehyeedra3.Services.Models.StoreInventory", b => { b.HasOne("Kehyeedra3.Services.Models.StoreFront", null) .WithMany("Items") .HasForeignKey("StoreFrontId"); }); #pragma warning restore 612, 618 } } }