mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
1717 lines
58 KiB
C#
1717 lines
58 KiB
C#
|
|
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("20260811075337_AddPlayerReputationScore")]
|
|
partial class AddPlayerReputationScore
|
|
{
|
|
|
|
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<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<string>("Description")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Files")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("CustomContent");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Currency", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("DraculaSilver")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("Gold")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("LaserTagTickets")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("RecTokens")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Currency");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Local.PlayerAvatar", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Avatar")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Outfits")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Avatars");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Accounts.Local.PlayerSettings", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Settings")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("PlayerSettings");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Accounts.PlayerUnlocks", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("AvatarItems")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Consumables")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Equipment")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Inventions")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RoomKeys")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Unlocks");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Accounts.RealPresence", b =>
|
|
{
|
|
b.Property<long>("playerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("LoginLock")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("deviceClass")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("errorCode")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("isOnline")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<long?>("roomInstance")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("statusVisibility")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("vRMovementMode")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("playerId");
|
|
|
|
b.ToTable("Presences");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.AntiCheat.AntiCheatBan", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<DateTime>("BanExpirationUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("BanReason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("BanStartUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreatedAtUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long?>("DetectionId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("DurationMinutes")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long?>("ModerationId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("Origin")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("AntiCheatBans");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.AntiCheat.AntiCheatDetection", b =>
|
|
{
|
|
b.Property<long>("DetectionId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("DetectionId"));
|
|
|
|
b.Property<int>("Action")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long?>("BanId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<bool>("ConfirmedViolation")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("DetectionType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Evidence")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("IpAddress")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("ReviewNotes")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("ReviewedAtUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("ReviewedBy")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("RiskScore")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long?>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long?>("RoomInstanceId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("ServerId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SessionId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Severity")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Status")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("TimestampUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.HasKey("DetectionId");
|
|
|
|
b.ToTable("AntiCheatDetections");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.AntiCheat.DiscordQueueItem", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<int>("Attempts")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Channel")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreatedUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("LastError")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("NextAttemptUtc")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("PayloadJson")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Title")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("DiscordQueue");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Auth.Cached.CachedLogin", b =>
|
|
{
|
|
b.Property<long>("loginId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("loginId"));
|
|
|
|
b.Property<long>("accountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("lastLoginTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("platform")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("platformId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("requirePassword")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("loginId");
|
|
|
|
b.ToTable("CachedLogins");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Auth.PlayerData", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("AppVersion")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("Birthday")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("Developer")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("DeviceClass")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("DeviceId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Email")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Hashword")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsJunior")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("JuniorState")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("LastIpAddress")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("NameChanges")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long?>("Parent")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Phone")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("TokenVersion")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Visibility")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Players");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Auth.Profile", b =>
|
|
{
|
|
b.Property<long>("accountId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("accountId"));
|
|
|
|
b.Property<string>("bio")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("createdAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("displayName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("isJunior")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("platforms")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("profileImage")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("role")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("username")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("accountId");
|
|
|
|
b.ToTable("Profiles");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.CDN.ImageDB", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<int>("Accessibility")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long?>("EventId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("ImageType")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("OwnerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long?>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Images");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Config.ConfigVal", b =>
|
|
{
|
|
b.Property<string>("Key")
|
|
.HasColumnType("nvarchar(450)");
|
|
|
|
b.Property<string>("Value")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Key");
|
|
|
|
b.ToTable("GameConfig");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Config.MainConfig", b =>
|
|
{
|
|
b.Property<string>("FUCKYOUMICROSOFT")
|
|
.HasColumnType("nvarchar(450)");
|
|
|
|
b.Property<string>("AutoMicMutingConfig")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CdnBaseUri")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("DailyObjectives")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("ExpectingReload")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("GiftDropStoreItems")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("LastRefresh_DailyObjectives")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("LevelProgressionMaps")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RoomCurrencyConfig")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RoomKeyConfig")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ServerMaintenance")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ShareBaseUrl")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StorefrontConfig")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("FUCKYOUMICROSOFT");
|
|
|
|
b.ToTable("Config");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Config.ServerConfigVal", b =>
|
|
{
|
|
b.Property<string>("Key")
|
|
.HasColumnType("nvarchar(450)");
|
|
|
|
b.Property<string>("Value")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Key");
|
|
|
|
b.ToTable("ServerConfig");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.DB.PlaylistDB", b =>
|
|
{
|
|
b.Property<long>("PlaylistId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("PlaylistId"));
|
|
|
|
b.Property<string>("Keywords")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("PlaylistId");
|
|
|
|
b.ToTable("Playlists");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Events.PlayerEventDB", b =>
|
|
{
|
|
b.Property<long>("PlayerEventId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("PlayerEventId"));
|
|
|
|
b.Property<int>("Accessibility")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("AttendeeCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("CreatorPlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Description")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("EndTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("ImageName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("StartTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.HasKey("PlayerEventId");
|
|
|
|
b.ToTable("PlayerEvents");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Events.PlayerEventResponse", b =>
|
|
{
|
|
b.Property<long>("PlayerEventResponseId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("PlayerEventResponseId"));
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("PlayerEventId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("Type")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("PlayerEventResponseId");
|
|
|
|
b.ToTable("PlayerEventResponses");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.GenericData", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Data")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Gifts");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Images.CheeredImage", b =>
|
|
{
|
|
b.Property<long>("InteractionId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("InteractionId"));
|
|
|
|
b.Property<bool>("IsCheered")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("SavedImageId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("InteractionId");
|
|
|
|
b.ToTable("ImageInteractions");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionDB", b =>
|
|
{
|
|
b.Property<long>("InventionId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("InventionId"));
|
|
|
|
b.Property<int>("AICost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("AllowTrial")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("BlobName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("CheerCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("ChipsCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CloudVariablesCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("CreatorPermission")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("CreatorPlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("CurrentVersionNumber")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Description")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("GeneralPermission")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("HideFromPlayer")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ImageName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("InstantiationCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("IsAGInvention")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("IsCertifiedInvention")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("IsPublished")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("LightsCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("ModifiedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("NumDownloads")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("NumPlayersHaveUsedInRoom")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("Price")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("ReplicationId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("RoomOrigin")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Tags")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("InventionId");
|
|
|
|
b.ToTable("Inventions");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionPersonalDetails", b =>
|
|
{
|
|
b.Property<long>("DetailId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("DetailId"));
|
|
|
|
b.Property<long>("InventionId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<bool>("IsCheering")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("DetailId");
|
|
|
|
b.ToTable("InventionPersonalDetails");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Inventions.InventionVersion", b =>
|
|
{
|
|
b.Property<long>("VersionId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("VersionId"));
|
|
|
|
b.Property<string>("BlobName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("ChipsCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CloudVariablesCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("InstantiationCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("InventionId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("LightsCost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("ReplicationId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("VersionNumber")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("VersionId");
|
|
|
|
b.ToTable("InventionVersions");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Leaderboards.LeaderboardScore", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<double>("Score")
|
|
.HasColumnType("float");
|
|
|
|
b.Property<int>("StatChannel")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("SubRoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("SubmittedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("Time")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("RoomId", "StatChannel", "PlayerId");
|
|
|
|
b.ToTable("LeaderboardScores");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Messages.ChatThread", b =>
|
|
{
|
|
b.Property<long>("chatThreadId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("chatThreadId"));
|
|
|
|
b.Property<string>("chatThreadName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("lastReadMessageId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("messages")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("playerIds")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("chatThreadId");
|
|
|
|
b.ToTable("Chats");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Messages.Message", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<string>("Data")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Details")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("FromPlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long?>("PlayerEventId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long?>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("SentTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("ToPlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("Type")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Messages");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.AccountCreationBlock", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime?>("ExpiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("IpAddress")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("AccountCreationBlocks");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.GameBlock", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime?>("ExpiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("IpAddress")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("GameBlocks");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.HardwareBan", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<long?>("BannedAccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DeviceId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("ExpiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("HardwareBans");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.IpBan", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime?>("ExpiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("IpAddress")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("IpBans");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.ModerationDB", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<string>("BanMethod")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Category")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("ExpireDuration")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("IsBan")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Message")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Moderation");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.Reputation", b =>
|
|
{
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("CheerCreative")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CheerCredit")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CheerGeneral")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CheerGreatHost")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CheerHelpful")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CheerSportsman")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("IsCheerful")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<double>("Noteriety")
|
|
.HasColumnType("float");
|
|
|
|
b.Property<double>("ReputationScore")
|
|
.HasColumnType("float");
|
|
|
|
b.Property<int>("SelectedCheer")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("AccountId");
|
|
|
|
b.ToTable("Reputations");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Moderation.VoteKickLog", b =>
|
|
{
|
|
b.Property<long>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
b.Property<int>("Category")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("ExpiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("IsForce")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("VoteKicks");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Progression.ProgressionData", b =>
|
|
{
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("Level")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Progress")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("XP")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("PlayerId");
|
|
|
|
b.ToTable("Progression");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Relationships.RealRelationship", b =>
|
|
{
|
|
b.Property<long>("RelationshipId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("RelationshipId"));
|
|
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("Favorited")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Ignored")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Muted")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("RelationshipType")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("RelationshipId");
|
|
|
|
b.ToTable("Relationships");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.PlayerInteractionDB", b =>
|
|
{
|
|
b.Property<long>("InteractionId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("InteractionId"));
|
|
|
|
b.Property<bool>("Cheered")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<DateTime>("CheeredAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("Favorited")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<DateTime>("FavoritedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("LastVisted")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("PlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("VisitCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("Visited")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("InteractionId");
|
|
|
|
b.ToTable("RoomInteractions");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RestorableSubRoom", b =>
|
|
{
|
|
b.Property<long>("HistoryId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("HistoryId"));
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DataBlob")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("SavedByAccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("SubRoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("HistoryId");
|
|
|
|
b.ToTable("SubRoomHistory");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomBan", b =>
|
|
{
|
|
b.Property<long>("BanId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("BanId"));
|
|
|
|
b.Property<long>("actorId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime>("bannedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("bannedByName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("bannedPlayerId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<DateTime?>("expiresAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("reason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("roomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("BanId");
|
|
|
|
b.ToTable("RoomBans");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomData", b =>
|
|
{
|
|
b.Property<long>("RoomId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("RoomId"));
|
|
|
|
b.Property<int>("Accessibility")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("CloningAllowed")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("CreatorAccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("CustomWarning")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Description")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("DisableMicAutoMute")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("DisableRoomComments")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("EncryptVoiceChat")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ImageName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsDorm")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("IsRRO")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("MaxPlayerCalculationMode")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("MaxPlayers")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("MinLevel")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("PublishedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("State")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("SupportsJuniors")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsLevelVoting")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsMobile")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsQuest2")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsScreens")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsTeleportVR")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsVRLow")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("SupportsWalkVR")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Tags")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("WarningMask")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("loadScreen")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("RoomId");
|
|
|
|
b.ToTable("Rooms");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomInstance", b =>
|
|
{
|
|
b.Property<long>("roomInstanceId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("roomInstanceId"));
|
|
|
|
b.Property<bool>("EncryptVoiceChat")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<long?>("clubId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("dataBlob")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long?>("eventId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<bool>("isFull")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("isInProgress")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("isPrivate")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("location")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("maxCapacity")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("photonRegionId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("photonRoomId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("roomCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("roomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("roomInstanceType")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("subRoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("roomInstanceId");
|
|
|
|
b.ToTable("RoomInstances");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomKey", b =>
|
|
{
|
|
b.Property<long>("RoomKeyId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("RoomKeyId"));
|
|
|
|
b.Property<string>("Description")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Price")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("ReplicationId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("RoomKeyId");
|
|
|
|
b.ToTable("RoomKeys");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomRole", b =>
|
|
{
|
|
b.Property<long>("RoleId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("RoleId"));
|
|
|
|
b.Property<long>("AccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("InvitedRole")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Role")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.HasKey("RoleId");
|
|
|
|
b.ToTable("RoomRoles");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.RoomStats", b =>
|
|
{
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<int>("CheerCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("FavoriteCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("VisitCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("VisitorCount")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("RoomId");
|
|
|
|
b.ToTable("RoomStats");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Rooms.SubRoom", b =>
|
|
{
|
|
b.Property<long>("SubRoomId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("SubRoomId"));
|
|
|
|
b.Property<int>("Accessibility")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DataBlob")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsSandbox")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("MaxPlayers")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("RoomId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<long>("SavedByAccountId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("UnitySceneId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("SubRoomId");
|
|
|
|
b.ToTable("SubRooms");
|
|
});
|
|
|
|
modelBuilder.Entity("RadicadeServer.RecNet.Store.GiftDropDB", b =>
|
|
{
|
|
b.Property<long>("GiftDropId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("GiftDropId"));
|
|
|
|
b.Property<int>("AvatarItemType")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("AvatarItems")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ConsumableItems")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Context")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CurrencyAmount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("CurrencyType")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Description")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("EndTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("EquipmentItems")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("EquipmentModificationGuid")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsFeatured")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("IsQuery")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ItemSetFriendlyName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<long>("ItemSetId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Price")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("PurchasableItemId")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Rarity")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateTime>("StartTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<long>("StorefrontId")
|
|
.HasColumnType("bigint");
|
|
|
|
b.Property<bool>("SubscribersOnly")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Tooltip")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("Unique")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("XPAmount")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("GiftDropId");
|
|
|
|
b.ToTable("GiftItems");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|