//
using System;
using DorkNet.Server.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace DorkNet.Server.Migrations
{
[DbContext(typeof(DorkNetDbContext))]
[Migration("20261025134141_ExternalSignIn")]
partial class ExternalSignIn
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "10.0.13");
modelBuilder.Entity("DorkNet.Server.Data.Entities.AdminActionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Action")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("AdminPlayerId")
.HasColumnType("INTEGER");
b.Property("Reason")
.IsRequired()
.HasMaxLength(512)
.HasColumnType("TEXT");
b.Property("TargetId")
.HasColumnType("INTEGER");
b.Property("TargetType")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("TEXT");
b.Property("Timestamp")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("AdminPlayerId");
b.HasIndex("Timestamp");
b.HasIndex("TargetType", "TargetId");
b.ToTable("AdminActions");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.AvatarEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CustomAvatarItemsJson")
.IsRequired()
.HasColumnType("TEXT");
b.Property("EquippedItemsJson")
.IsRequired()
.HasColumnType("TEXT");
b.Property("FaceFeatures")
.IsRequired()
.HasMaxLength(8192)
.HasColumnType("TEXT");
b.Property("HairColor")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("InventoryJson")
.IsRequired()
.HasColumnType("TEXT");
b.Property("OutfitSelections")
.IsRequired()
.HasMaxLength(2048)
.HasColumnType("TEXT");
b.Property("OutfitSelectionsV2")
.IsRequired()
.HasMaxLength(8192)
.HasColumnType("TEXT");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("SavedOutfitsJson")
.IsRequired()
.HasColumnType("TEXT");
b.Property("SkinColor")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId")
.IsUnique();
b.ToTable("Avatars");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.BugReportEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Body")
.IsRequired()
.HasMaxLength(4000)
.HasColumnType("TEXT");
b.Property("Category")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("TEXT");
b.Property("ClientVersion")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("GameSessionId")
.HasColumnType("INTEGER");
b.Property("Platform")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("TEXT");
b.Property("ReadAt")
.HasColumnType("TEXT");
b.Property("ReporterPlayerId")
.HasColumnType("INTEGER");
b.Property("Title")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ReadAt");
b.HasIndex("ReporterPlayerId");
b.ToTable("BugReports");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CardEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ActionUrl")
.IsRequired()
.HasMaxLength(512)
.HasColumnType("TEXT");
b.Property("Body")
.IsRequired()
.HasMaxLength(2000)
.HasColumnType("TEXT");
b.Property("Category")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("ExpiresAt")
.HasColumnType("TEXT");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("Priority")
.HasColumnType("INTEGER");
b.Property("Title")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ExpiresAt");
b.HasIndex("PlayerId");
b.ToTable("Cards");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CharadesWordListEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("IsBuiltIn")
.HasColumnType("INTEGER");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.Property("WordsJson")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("CharadesWordLists");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ChatMessageEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Body")
.IsRequired()
.HasMaxLength(2000)
.HasColumnType("TEXT");
b.Property("ModerationState")
.HasColumnType("INTEGER");
b.Property("SenderPlayerId")
.HasColumnType("INTEGER");
b.Property("SentAt")
.HasColumnType("TEXT");
b.Property("ThreadKey")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ThreadKey", "SentAt");
b.ToTable("ChatMessages");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ChatThreadEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("CreatorPlayerId")
.HasColumnType("INTEGER");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("ThreadKey")
.IsRequired()
.HasMaxLength(96)
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ThreadKey")
.IsUnique();
b.ToTable("ChatThreads");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ChatThreadMemberEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("JoinedAt")
.HasColumnType("TEXT");
b.Property("LastReadMessageId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("SnoozeUntil")
.HasColumnType("TEXT");
b.Property("ThreadKey")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId");
b.HasIndex("ThreadKey", "PlayerId")
.IsUnique();
b.ToTable("ChatThreadMembers");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CheerEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CheeredAt")
.HasColumnType("TEXT");
b.Property("FromPlayerId")
.HasColumnType("INTEGER");
b.Property("TargetInventionId")
.HasColumnType("INTEGER");
b.Property("TargetPhotoId")
.HasColumnType("INTEGER");
b.Property("TargetPlayerId")
.HasColumnType("INTEGER");
b.Property("TargetRoomId")
.HasColumnType("INTEGER");
b.Property("Type")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("TargetPhotoId");
b.HasIndex("TargetPlayerId");
b.HasIndex("TargetRoomId");
b.HasIndex("FromPlayerId", "TargetPlayerId", "TargetRoomId", "TargetPhotoId", "Type")
.IsUnique();
b.ToTable("Cheers");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubAdditionalImageEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("Slot")
.HasColumnType("INTEGER");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ClubId", "Slot")
.IsUnique();
b.ToTable("ClubAdditionalImages");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubAnnouncementEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AuthorPlayerId")
.HasColumnType("INTEGER");
b.Property("Body")
.IsRequired()
.HasMaxLength(4000)
.HasColumnType("TEXT");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("Title")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ClubId", "CreatedAt");
b.ToTable("ClubAnnouncements");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubAnnouncementReadEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AnnouncementId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("ReadAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId");
b.HasIndex("AnnouncementId", "PlayerId")
.IsUnique();
b.ToTable("ClubAnnouncementReads");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubCategoryAssignmentEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CategoryTagId")
.HasColumnType("INTEGER");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("CategoryTagId");
b.HasIndex("ClubId", "CategoryTagId")
.IsUnique();
b.ToTable("ClubCategoryAssignments");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubCategoryTagEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Active")
.HasColumnType("INTEGER");
b.Property("Name")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("OrderIndex")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("Name");
b.ToTable("ClubCategoryTags");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AllowJuniors")
.HasColumnType("INTEGER");
b.Property("BanStatus")
.HasColumnType("INTEGER");
b.Property("Category")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("ClubChatEnabled")
.HasColumnType("INTEGER");
b.Property("ClubType")
.HasColumnType("INTEGER");
b.Property("ClubhouseRoomId")
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("CreatorPlayerId")
.HasColumnType("INTEGER");
b.Property("Description")
.IsRequired()
.HasMaxLength(2000)
.HasColumnType("TEXT");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("IsRRO")
.HasColumnType("INTEGER");
b.Property("Joinability")
.HasColumnType("INTEGER");
b.Property("MinLevel")
.HasColumnType("INTEGER");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT")
.UseCollation("NOCASE");
b.Property("State")
.HasColumnType("INTEGER");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.Property("Visibility")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("CreatorPlayerId");
b.HasIndex("Name")
.IsUnique();
b.ToTable("Clubs");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubMembershipEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("JoinedAt")
.HasColumnType("TEXT");
b.Property("Permissions")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("PlayerId");
b.HasIndex("ClubId", "PlayerId")
.IsUnique();
b.ToTable("ClubMemberships");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubRolePermissionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ApproveMember")
.HasColumnType("INTEGER");
b.Property("BanUnban")
.HasColumnType("INTEGER");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("CreateEvent")
.HasColumnType("INTEGER");
b.Property("EditDetails")
.HasColumnType("INTEGER");
b.Property("EditPermissionSettings")
.HasColumnType("INTEGER");
b.Property("MembershipType")
.HasColumnType("INTEGER");
b.Property("PostAnnouncement")
.HasColumnType("INTEGER");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ClubId", "MembershipType")
.IsUnique();
b.ToTable("ClubRolePermissions");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ClubSubscriptionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("SubscribedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ClubId");
b.HasIndex("PlayerId", "ClubId")
.IsUnique();
b.ToTable("ClubSubscriptions");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CohortAssignmentEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AssignedAt")
.HasColumnType("TEXT");
b.Property("CohortKey")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("Variant")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId", "CohortKey")
.IsUnique();
b.ToTable("CohortAssignments");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CommunityBoardEntity", b =>
{
b.Property("Id")
.HasColumnType("INTEGER");
b.Property("Json")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("CommunityBoardRows");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CouponEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Code")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("Description")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("ExpiresAt")
.HasColumnType("TEXT");
b.Property("IsActive")
.HasColumnType("INTEGER");
b.Property("MaxRedemptions")
.HasColumnType("INTEGER");
b.Property("RedemptionCount")
.HasColumnType("INTEGER");
b.Property("RewardAmount")
.HasColumnType("INTEGER");
b.Property("RewardCurrencyType")
.HasColumnType("INTEGER");
b.Property("RewardItemSlug")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("RewardType")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("Code")
.IsUnique();
b.ToTable("Coupons");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CouponRedemptionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CouponId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("RedeemedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CouponId", "PlayerId")
.IsUnique();
b.ToTable("CouponRedemptions");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CurrencyBalanceEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Balance")
.HasColumnType("INTEGER");
b.Property("CurrencyType")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId", "CurrencyType")
.IsUnique();
b.ToTable("CurrencyBalances");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CustomAvatarItemEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AssetName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("BaseAvatarItemId")
.HasColumnType("INTEGER");
b.Property("CheerCount")
.HasColumnType("INTEGER");
b.Property("Color")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("CreatorPlayerId")
.HasColumnType("INTEGER");
b.Property("Description")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("TEXT");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("IsFeatured")
.HasColumnType("INTEGER");
b.Property("IsPublic")
.HasColumnType("INTEGER");
b.Property("ItemType")
.HasColumnType("INTEGER");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("Price")
.HasColumnType("INTEGER");
b.Property("PublicId")
.HasColumnType("TEXT");
b.Property("PurchaseCount")
.HasColumnType("INTEGER");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatorPlayerId");
b.HasIndex("IsFeatured");
b.HasIndex("IsPublic");
b.HasIndex("PublicId")
.IsUnique();
b.ToTable("CustomAvatarItems");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.CustomAvatarItemOwnershipEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AcquiredAt")
.HasColumnType("TEXT");
b.Property("CustomAvatarItemId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("CustomAvatarItemId");
b.HasIndex("PlayerId", "CustomAvatarItemId")
.IsUnique();
b.ToTable("CustomAvatarItemOwnership");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.DormStateEntity", b =>
{
b.Property("PlayerId")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("CurrentDataBlobName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("UpdatedAt")
.HasColumnType("TEXT");
b.HasKey("PlayerId");
b.ToTable("DormStates");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.ExternalLoginEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("Email")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Issuer")
.IsRequired()
.HasColumnType("TEXT");
b.Property("LastUsedAt")
.HasColumnType("TEXT");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("Subject")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("PlayerId");
b.HasIndex("Issuer", "Subject")
.IsUnique();
b.ToTable("ExternalLogins");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.GameRewardSelectionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("GiftContext")
.HasColumnType("INTEGER");
b.Property("GrantedItemId")
.HasColumnType("INTEGER");
b.Property("Message")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("Offer1ItemId")
.HasColumnType("INTEGER");
b.Property("Offer2ItemId")
.HasColumnType("INTEGER");
b.Property("Offer3ItemId")
.HasColumnType("INTEGER");
b.Property("PlayerId")
.HasColumnType("INTEGER");
b.Property("RewardType")
.HasColumnType("INTEGER");
b.Property("SelectedAt")
.HasColumnType("TEXT");
b.Property("SelectedGiftDropId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("PlayerId", "SelectedAt");
b.ToTable("GameRewardSelections");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.GameSessionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ActivityLevelId")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("MaxCapacity")
.HasColumnType("INTEGER");
b.Property("PhotonRoomName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("PlayerCount")
.HasColumnType("INTEGER");
b.Property("Region")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("TEXT");
b.Property("RoomId")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("RoomId", "Region");
b.ToTable("GameSessions");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.GiftPackageEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AvatarItemDescOrHairDyeDesc")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("AvatarItemType")
.HasColumnType("INTEGER");
b.Property("ConsumableItemDesc")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("Consumed")
.HasColumnType("INTEGER");
b.Property("ConsumedAt")
.HasColumnType("TEXT");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("Currency")
.HasColumnType("INTEGER");
b.Property("CurrencyType")
.HasColumnType("INTEGER");
b.Property("EquipmentModificationGuid")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("EquipmentPrefabName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("ErrorMessage")
.IsRequired()
.HasMaxLength(512)
.HasColumnType("TEXT");
b.Property("FromPlayerId")
.HasColumnType("INTEGER");
b.Property("GiftContext")
.HasColumnType("INTEGER");
b.Property("GiftRarity")
.HasColumnType("INTEGER");
b.Property("IsGifted")
.HasColumnType("INTEGER");
b.Property("IsValid")
.HasColumnType("INTEGER");
b.Property("Level")
.HasColumnType("INTEGER");
b.Property("Message")
.IsRequired()
.HasMaxLength(512)
.HasColumnType("TEXT");
b.Property("PackageMaterial")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("PackageVariant")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("Platform")
.HasColumnType("INTEGER");
b.Property("RecipientPlayerId")
.HasColumnType("INTEGER");
b.Property("SourceStoreItemId")
.HasColumnType("INTEGER");
b.Property("SupportsCurrentPlatform")
.HasColumnType("INTEGER");
b.Property("Xp")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("RecipientPlayerId", "Consumed");
b.ToTable("GiftPackages");
});
modelBuilder.Entity("DorkNet.Server.Data.Entities.InventionEntity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CheerCount")
.HasColumnType("INTEGER");
b.Property("CreatedAt")
.HasColumnType("TEXT");
b.Property("CreationRoomId")
.HasColumnType("INTEGER");
b.Property("CreatorPermission")
.HasColumnType("INTEGER");
b.Property("CreatorPlayerId")
.HasColumnType("INTEGER");
b.Property("CurrentBlobName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("TEXT");
b.Property("CurrentVersionNumber")
.HasColumnType("INTEGER");
b.Property("Description")
.IsRequired()
.HasMaxLength(2000)
.HasColumnType("TEXT");
b.Property("FirstPublishedAt")
.HasColumnType("TEXT");
b.Property("GeneralPermission")
.HasColumnType("INTEGER");
b.Property("ImageName")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("IsAgInvention")
.HasColumnType("INTEGER");
b.Property("IsDeleted")
.HasColumnType("INTEGER");
b.Property("IsPublished")
.HasColumnType("INTEGER");
b.Property