using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using RadicadeServer.DB; #nullable disable namespace RadicadeServer.Migrations { [DbContext(typeof(RecDBContext))] [Migration("20260521164245_RoomSorting1")] partial class RoomSorting1 { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "9.0.11") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("RadicadeServer.Custom.CustomAddition", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Description") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Files") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("CustomContent"); }); modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Currency", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("Gold") .HasColumnType("bigint"); b.Property("LaserTagTickets") .HasColumnType("bigint"); b.Property("RecTokens") .HasColumnType("bigint"); b.HasKey("AccountId"); b.ToTable("Currency"); }); modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Local.PlayerAvatar", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("Avatar") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Outfits") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("AccountId"); b.ToTable("Avatars"); }); modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Local.PlayerSettings", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("Settings") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("AccountId"); b.ToTable("PlayerSettings"); }); modelBuilder.Entity("RadicadeServer.RecNet.Accounts.PlayerUnlocks", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("AvatarItems") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Consumables") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Equipment") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Inventions") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomKeys") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("AccountId"); b.ToTable("Unlocks"); }); modelBuilder.Entity("RadicadeServer.RecNet.Accounts.RealPresence", b => { b.Property("playerId") .HasColumnType("bigint"); b.Property("LoginLock") .HasColumnType("nvarchar(max)"); b.Property("deviceClass") .HasColumnType("int"); b.Property("errorCode") .HasColumnType("int"); b.Property("isOnline") .HasColumnType("bit"); b.Property("roomInstance") .HasColumnType("bigint"); b.Property("statusVisibility") .HasColumnType("int"); b.Property("vRMovementMode") .HasColumnType("int"); b.HasKey("playerId"); b.ToTable("Presences"); }); modelBuilder.Entity("RadicadeServer.RecNet.Auth.Cached.CachedLogin", b => { b.Property("loginId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("loginId")); b.Property("accountId") .HasColumnType("bigint"); b.Property("lastLoginTime") .HasColumnType("datetime2"); b.Property("platform") .HasColumnType("int"); b.Property("platformId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("requirePassword") .HasColumnType("bit"); b.HasKey("loginId"); b.ToTable("CachedLogins"); }); modelBuilder.Entity("RadicadeServer.RecNet.Auth.PlayerData", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("AppVersion") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Birthday") .HasColumnType("datetime2"); b.Property("Developer") .HasColumnType("bit"); b.Property("DeviceClass") .HasColumnType("int"); b.Property("DeviceId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Email") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Hashword") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("JuniorState") .HasColumnType("int"); b.Property("NameChanges") .HasColumnType("int"); b.Property("Parent") .HasColumnType("bigint"); b.Property("Phone") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Visibility") .HasColumnType("int"); b.HasKey("AccountId"); b.ToTable("Players"); }); modelBuilder.Entity("RadicadeServer.RecNet.Auth.Profile", b => { b.Property("accountId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("accountId")); b.Property("bio") .HasColumnType("nvarchar(max)"); b.Property("createdAt") .HasColumnType("datetime2"); b.Property("developer") .HasColumnType("bit"); b.Property("displayName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("isJunior") .HasColumnType("bit"); b.Property("moderator") .HasColumnType("bit"); b.Property("platforms") .HasColumnType("int"); b.Property("profileImage") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("screenshare") .HasColumnType("bit"); b.Property("username") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("accountId"); b.ToTable("Profiles"); }); modelBuilder.Entity("RadicadeServer.RecNet.Avatar.Gift", b => { b.Property("GiftDropId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("GiftDropId")); b.Property("Accessibility") .HasColumnType("int"); b.Property("AvatarItemDesc") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("AvatarItemType") .HasColumnType("int"); b.Property("ConsumableItemDesc") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Context") .HasColumnType("int"); b.Property("Currency") .HasColumnType("int"); b.Property("CurrencyType") .HasColumnType("int"); b.Property("EquipmentModificationGuid") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("EquipmentPrefabName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("FriendlyName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("IsFeatured") .HasColumnType("bit"); b.Property("IsQuery") .HasColumnType("bit"); b.Property("ItemSetFriendlyName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ItemSetId") .HasColumnType("bigint"); b.Property("Rarity") .HasColumnType("int"); b.Property("SubscribersOnly") .HasColumnType("bit"); b.Property("Tooltip") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Unique") .HasColumnType("bit"); b.HasKey("GiftDropId"); b.ToTable("GiftItems"); }); modelBuilder.Entity("RadicadeServer.RecNet.CDN.ImageDB", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Accessibility") .HasColumnType("int"); b.Property("CreatedAt") .HasColumnType("datetime2"); b.Property("EventId") .HasColumnType("bigint"); b.Property("ImageType") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OwnerId") .HasColumnType("bigint"); b.Property("RoomId") .HasColumnType("bigint"); b.HasKey("Id"); b.ToTable("Images"); }); modelBuilder.Entity("RadicadeServer.RecNet.Config.ConfigVal", b => { b.Property("Key") .HasColumnType("nvarchar(450)"); b.Property("Value") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Key"); b.ToTable("GameConfig"); }); modelBuilder.Entity("RadicadeServer.RecNet.Config.MainConfig", b => { b.Property("FUCKYOUMICROSOFT") .HasColumnType("nvarchar(450)"); b.Property("AutoMicMutingConfig") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CdnBaseUri") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DailyObjectives") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("GiftDropStoreItems") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("LevelProgressionMaps") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomCurrencyConfig") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomKeyConfig") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ServerMaintenance") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ShareBaseUrl") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StorefrontConfig") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("FUCKYOUMICROSOFT"); b.ToTable("Config"); }); modelBuilder.Entity("RadicadeServer.RecNet.Config.ServerConfigVal", b => { b.Property("Key") .HasColumnType("nvarchar(450)"); b.Property("Value") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Key"); b.ToTable("ServerConfig"); }); modelBuilder.Entity("RadicadeServer.RecNet.DB.PlaylistDB", b => { b.Property("PlaylistId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("PlaylistId")); b.Property("Keywords") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("PlaylistId"); b.ToTable("Playlists"); }); modelBuilder.Entity("RadicadeServer.RecNet.GenericData", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("Data") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("AccountId"); b.ToTable("Gifts"); }); modelBuilder.Entity("RadicadeServer.RecNet.Images.CheeredImage", b => { b.Property("InteractionId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("InteractionId")); b.Property("IsCheered") .HasColumnType("bit"); b.Property("PlayerId") .HasColumnType("bigint"); b.Property("SavedImageId") .HasColumnType("bigint"); b.HasKey("InteractionId"); b.ToTable("ImageInteractions"); }); modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionDB", b => { b.Property("InventionId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("InventionId")); b.Property("AICost") .HasColumnType("int"); b.Property("AllowTrial") .HasColumnType("bit"); b.Property("BlobName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CheerCount") .HasColumnType("int"); b.Property("ChipsCost") .HasColumnType("int"); b.Property("CloudVariablesCost") .HasColumnType("int"); b.Property("CreatedAt") .HasColumnType("datetime2"); b.Property("CreatorPermission") .HasColumnType("int"); b.Property("CreatorPlayerId") .HasColumnType("bigint"); b.Property("CurrentVersionNumber") .HasColumnType("int"); b.Property("Description") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("GeneralPermission") .HasColumnType("int"); b.Property("HideFromPlayer") .HasColumnType("bit"); b.Property("ImageName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("InstantiationCost") .HasColumnType("int"); b.Property("IsAGInvention") .HasColumnType("bit"); b.Property("IsCertifiedInvention") .HasColumnType("bit"); b.Property("IsPublished") .HasColumnType("bit"); b.Property("LightsCost") .HasColumnType("int"); b.Property("ModifiedAt") .HasColumnType("datetime2"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("NumDownloads") .HasColumnType("int"); b.Property("NumPlayersHaveUsedInRoom") .HasColumnType("int"); b.Property("Price") .HasColumnType("int"); b.Property("ReplicationId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomOrigin") .HasColumnType("bigint"); b.Property("Tags") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("InventionId"); b.ToTable("Inventions"); }); modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionPersonalDetails", b => { b.Property("DetailId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("DetailId")); b.Property("InventionId") .HasColumnType("bigint"); b.Property("IsCheering") .HasColumnType("bit"); b.Property("PlayerId") .HasColumnType("bigint"); b.HasKey("DetailId"); b.ToTable("InventionPersonalDetails"); }); modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionVersion", b => { b.Property("VersionId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("VersionId")); b.Property("BlobName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ChipsCost") .HasColumnType("int"); b.Property("CloudVariablesCost") .HasColumnType("int"); b.Property("InstantiationCost") .HasColumnType("int"); b.Property("InventionId") .HasColumnType("bigint"); b.Property("LightsCost") .HasColumnType("int"); b.Property("ReplicationId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("VersionNumber") .HasColumnType("int"); b.HasKey("VersionId"); b.ToTable("InventionVersions"); }); modelBuilder.Entity("RadicadeServer.RecNet.Messages.ChatThread", b => { b.Property("chatThreadId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("chatThreadId")); b.Property("chatThreadName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("lastReadMessageId") .HasColumnType("bigint"); b.Property("messages") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("playerIds") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("chatThreadId"); b.ToTable("Chats"); }); modelBuilder.Entity("RadicadeServer.RecNet.Messages.Message", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Data") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Details") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("FromPlayerId") .HasColumnType("bigint"); b.Property("PlayerEventId") .HasColumnType("bigint"); b.Property("RoomId") .HasColumnType("bigint"); b.Property("SentTime") .HasColumnType("datetime2"); b.Property("ToPlayerId") .HasColumnType("bigint"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Messages"); }); modelBuilder.Entity("RadicadeServer.RecNet.Moderation.ModerationDB", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Category") .HasColumnType("int"); b.Property("ExpireDuration") .HasColumnType("datetime2"); b.Property("IsBan") .HasColumnType("bit"); b.Property("Message") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlayerId") .HasColumnType("bigint"); b.HasKey("Id"); b.ToTable("Moderation"); }); modelBuilder.Entity("RadicadeServer.RecNet.Moderation.Reputation", b => { b.Property("AccountId") .HasColumnType("bigint"); b.Property("CheerCreative") .HasColumnType("int"); b.Property("CheerCredit") .HasColumnType("int"); b.Property("CheerGeneral") .HasColumnType("int"); b.Property("CheerGreatHost") .HasColumnType("int"); b.Property("CheerHelpful") .HasColumnType("int"); b.Property("CheerSportsman") .HasColumnType("int"); b.Property("IsCheerful") .HasColumnType("bit"); b.Property("Noteriety") .HasColumnType("float"); b.Property("SelectedCheer") .HasColumnType("int"); b.HasKey("AccountId"); b.ToTable("Reputations"); }); modelBuilder.Entity("RadicadeServer.RecNet.Progression.ProgressionData", b => { b.Property("PlayerId") .HasColumnType("bigint"); b.Property("Level") .HasColumnType("int"); b.Property("Progress") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("XP") .HasColumnType("int"); b.HasKey("PlayerId"); b.ToTable("Progression"); }); modelBuilder.Entity("RadicadeServer.RecNet.Relationships.RealRelationship", b => { b.Property("RelationshipId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("RelationshipId")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("Favorited") .HasColumnType("int"); b.Property("Ignored") .HasColumnType("int"); b.Property("Muted") .HasColumnType("int"); b.Property("PlayerId") .HasColumnType("bigint"); b.Property("RelationshipType") .HasColumnType("int"); b.HasKey("RelationshipId"); b.ToTable("Relationships"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.PlayerInteractionDB", b => { b.Property("InteractionId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("InteractionId")); b.Property("Cheered") .HasColumnType("bit"); b.Property("CheeredAt") .HasColumnType("datetime2"); b.Property("Favorited") .HasColumnType("bit"); b.Property("FavoritedAt") .HasColumnType("datetime2"); b.Property("LastVisted") .HasColumnType("datetime2"); b.Property("PlayerId") .HasColumnType("bigint"); b.Property("RoomId") .HasColumnType("bigint"); b.Property("VisitCount") .HasColumnType("int"); b.Property("Visited") .HasColumnType("bit"); b.HasKey("InteractionId"); b.ToTable("RoomInteractions"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RestorableSubRoom", b => { b.Property("HistoryId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("HistoryId")); b.Property("CreatedAt") .HasColumnType("datetime2"); b.Property("DataBlob") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomId") .HasColumnType("bigint"); b.Property("SavedByAccountId") .HasColumnType("bigint"); b.Property("SubRoomId") .HasColumnType("bigint"); b.HasKey("HistoryId"); b.ToTable("SubRoomHistory"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomData", b => { b.Property("RoomId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("RoomId")); b.Property("Accessibility") .HasColumnType("int"); b.Property("CloningAllowed") .HasColumnType("bit"); b.Property("CreatedAt") .HasColumnType("datetime2"); b.Property("CreatorAccountId") .HasColumnType("bigint"); b.Property("CustomWarning") .HasColumnType("nvarchar(max)"); b.Property("Description") .HasColumnType("nvarchar(max)"); b.Property("DisableMicAutoMute") .HasColumnType("bit"); b.Property("DisableRoomComments") .HasColumnType("bit"); b.Property("EncryptVoiceChat") .HasColumnType("bit"); b.Property("ImageName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("IsDorm") .HasColumnType("bit"); b.Property("IsRRO") .HasColumnType("bit"); b.Property("MaxPlayerCalculationMode") .HasColumnType("int"); b.Property("MaxPlayers") .HasColumnType("int"); b.Property("MinLevel") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PublishedAt") .HasColumnType("datetime2"); b.Property("State") .HasColumnType("int"); b.Property("SupportsJuniors") .HasColumnType("bit"); b.Property("SupportsLevelVoting") .HasColumnType("bit"); b.Property("SupportsMobile") .HasColumnType("bit"); b.Property("SupportsQuest2") .HasColumnType("bit"); b.Property("SupportsScreens") .HasColumnType("bit"); b.Property("SupportsTeleportVR") .HasColumnType("bit"); b.Property("SupportsVRLow") .HasColumnType("bit"); b.Property("SupportsWalkVR") .HasColumnType("bit"); b.Property("Tags") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Version") .HasColumnType("int"); b.Property("WarningMask") .HasColumnType("int"); b.Property("loadScreen") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("RoomId"); b.ToTable("Rooms"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomInstance", b => { b.Property("roomInstanceId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("roomInstanceId")); b.Property("EncryptVoiceChat") .HasColumnType("bit"); b.Property("clubId") .HasColumnType("bigint"); b.Property("dataBlob") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("eventId") .HasColumnType("bigint"); b.Property("isFull") .HasColumnType("bit"); b.Property("isInProgress") .HasColumnType("bit"); b.Property("isPrivate") .HasColumnType("bit"); b.Property("location") .HasColumnType("nvarchar(max)"); b.Property("maxCapacity") .HasColumnType("int"); b.Property("name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("photonRegionId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("photonRoomId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("roomCode") .HasColumnType("nvarchar(max)"); b.Property("roomId") .HasColumnType("bigint"); b.Property("roomInstanceType") .HasColumnType("int"); b.Property("subRoomId") .HasColumnType("bigint"); b.HasKey("roomInstanceId"); b.ToTable("RoomInstances"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomKey", b => { b.Property("RoomKeyId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("RoomKeyId")); b.Property("Description") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Price") .HasColumnType("int"); b.Property("ReplicationId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomId") .HasColumnType("bigint"); b.HasKey("RoomKeyId"); b.ToTable("RoomKeys"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomRole", b => { b.Property("RoleId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("RoleId")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("InvitedRole") .HasColumnType("int"); b.Property("Role") .HasColumnType("int"); b.Property("RoomId") .HasColumnType("bigint"); b.HasKey("RoleId"); b.ToTable("RoomRoles"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomStats", b => { b.Property("RoomId") .HasColumnType("bigint"); b.Property("CheerCount") .HasColumnType("int"); b.Property("FavoriteCount") .HasColumnType("int"); b.Property("VisitCount") .HasColumnType("int"); b.Property("VisitorCount") .HasColumnType("int"); b.HasKey("RoomId"); b.ToTable("RoomStats"); }); modelBuilder.Entity("RadicadeServer.RecNet.Rooms.SubRoom", b => { b.Property("SubRoomId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("SubRoomId")); b.Property("Accessibility") .HasColumnType("int"); b.Property("CreatedAt") .HasColumnType("datetime2"); b.Property("DataBlob") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("IsSandbox") .HasColumnType("bit"); b.Property("MaxPlayers") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoomId") .HasColumnType("bigint"); b.Property("SavedByAccountId") .HasColumnType("bigint"); b.Property("UnitySceneId") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("SubRoomId"); b.ToTable("SubRooms"); }); #pragma warning restore 612, 618 } } }