//
using System;
using LANCommander.Server.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace LANCommander.Migrations
{
[DbContext(typeof(DatabaseContext))]
partial class DatabaseContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.10");
modelBuilder.Entity("CategoryGame", b =>
{
b.Property("CategoriesId")
.HasColumnType("TEXT");
b.Property("GamesId")
.HasColumnType("TEXT");
b.HasKey("CategoriesId", "GamesId");
b.HasIndex("GamesId");
b.ToTable("CategoryGame");
});
modelBuilder.Entity("CollectionGame", b =>
{
b.Property("CollectionId")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.HasKey("CollectionId", "GameId");
b.HasIndex("GameId");
b.ToTable("CollectionGame");
});
modelBuilder.Entity("GameDeveloper", b =>
{
b.Property("DeveloperId")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.HasKey("DeveloperId", "GameId");
b.HasIndex("GameId");
b.ToTable("GameDeveloper");
});
modelBuilder.Entity("GameGenre", b =>
{
b.Property("GamesId")
.HasColumnType("TEXT");
b.Property("GenresId")
.HasColumnType("TEXT");
b.HasKey("GamesId", "GenresId");
b.HasIndex("GenresId");
b.ToTable("GameGenre");
});
modelBuilder.Entity("GamePlatform", b =>
{
b.Property("GamesId")
.HasColumnType("TEXT");
b.Property("PlatformsId")
.HasColumnType("TEXT");
b.HasKey("GamesId", "PlatformsId");
b.HasIndex("PlatformsId");
b.ToTable("GamePlatform");
});
modelBuilder.Entity("GamePublisher", b =>
{
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("PublisherId")
.HasColumnType("TEXT");
b.HasKey("GameId", "PublisherId");
b.HasIndex("PublisherId");
b.ToTable("GamePublisher");
});
modelBuilder.Entity("GameRedistributable", b =>
{
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("RedistributableId")
.HasColumnType("TEXT");
b.HasKey("GameId", "RedistributableId");
b.HasIndex("RedistributableId");
b.ToTable("GameRedistributable");
});
modelBuilder.Entity("GameTag", b =>
{
b.Property("GamesId")
.HasColumnType("TEXT");
b.Property("TagsId")
.HasColumnType("TEXT");
b.HasKey("GamesId", "TagsId");
b.HasIndex("TagsId");
b.ToTable("GameTag");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Action", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Arguments")
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Path")
.HasColumnType("TEXT");
b.Property("PrimaryAction")
.HasColumnType("INTEGER");
b.Property("ServerId")
.HasColumnType("TEXT");
b.Property("SortOrder")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("WorkingDirectory")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("ServerId");
b.HasIndex("UpdatedById");
b.ToTable("Actions");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Archive", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Changelog")
.HasColumnType("TEXT");
b.Property("CompressedSize")
.HasColumnType("INTEGER");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("LastVersionId")
.HasColumnType("TEXT");
b.Property("ObjectKey")
.IsRequired()
.HasColumnType("TEXT");
b.Property("RedistributableId")
.HasColumnType("TEXT");
b.Property("StorageLocationId")
.HasColumnType("TEXT");
b.Property("UncompressedSize")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("Version")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("LastVersionId");
b.HasIndex("RedistributableId");
b.HasIndex("StorageLocationId");
b.HasIndex("UpdatedById");
b.ToTable("Archive");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Category", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("ParentId")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("ParentId");
b.HasIndex("UpdatedById");
b.ToTable("Categories");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Collection", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Collections");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Company", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Companies");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Engine", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Engines");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Game", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("BaseGameId")
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Description")
.HasColumnType("TEXT");
b.Property("DirectoryName")
.HasColumnType("TEXT");
b.Property("EngineId")
.HasColumnType("TEXT");
b.Property("IGDBId")
.HasColumnType("INTEGER");
b.Property("KeyAllocationMethod")
.HasColumnType("INTEGER");
b.Property("Notes")
.HasColumnType("TEXT");
b.Property("ReleasedOn")
.HasColumnType("TEXT");
b.Property("Singleplayer")
.HasColumnType("INTEGER");
b.Property("SortTitle")
.HasColumnType("TEXT");
b.Property("Title")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("ValidKeyRegex")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("BaseGameId");
b.HasIndex("CreatedById");
b.HasIndex("EngineId");
b.HasIndex("UpdatedById");
b.ToTable("Games");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.GameSave", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("Size")
.HasColumnType("INTEGER");
b.Property("StorageLocationId")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("StorageLocationId");
b.HasIndex("UpdatedById");
b.HasIndex("UserId");
b.ToTable("GameSaves");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Genre", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Genres");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Issue", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Description")
.IsRequired()
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("ResolvedById")
.HasColumnType("TEXT");
b.Property("ResolvedOn")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("ResolvedById");
b.HasIndex("UpdatedById");
b.ToTable("Issues");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Key", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("AllocationMethod")
.HasColumnType("INTEGER");
b.Property("ClaimedByComputerName")
.HasMaxLength(255)
.HasColumnType("TEXT");
b.Property("ClaimedByIpv4Address")
.HasMaxLength(15)
.HasColumnType("TEXT");
b.Property("ClaimedByMacAddress")
.HasMaxLength(17)
.HasColumnType("TEXT");
b.Property("ClaimedByUserId")
.HasColumnType("TEXT");
b.Property("ClaimedOn")
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("Value")
.IsRequired()
.HasMaxLength(255)
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("ClaimedByUserId");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("UpdatedById");
b.ToTable("Keys");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Library", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.HasIndex("UserId")
.IsUnique();
b.ToTable("Libraries");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Media", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Crc32")
.IsRequired()
.HasMaxLength(8)
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("FileId")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("MimeType")
.HasMaxLength(255)
.HasColumnType("TEXT");
b.Property("Name")
.HasMaxLength(64)
.HasColumnType("TEXT");
b.Property("SourceUrl")
.HasMaxLength(2048)
.HasColumnType("TEXT");
b.Property("StorageLocationId")
.HasColumnType("TEXT");
b.Property("ThumbnailId")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("StorageLocationId");
b.HasIndex("ThumbnailId")
.IsUnique();
b.HasIndex("UpdatedById");
b.HasIndex("UserId");
b.ToTable("Media");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.MultiplayerMode", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Description")
.HasColumnType("TEXT");
b.Property("GameId")
.IsRequired()
.HasColumnType("TEXT");
b.Property("MaxPlayers")
.HasColumnType("INTEGER");
b.Property("MinPlayers")
.HasColumnType("INTEGER");
b.Property("NetworkProtocol")
.HasColumnType("INTEGER");
b.Property("Spectators")
.HasColumnType("INTEGER");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("UpdatedById");
b.ToTable("MultiplayerModes");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Page", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Contents")
.IsRequired()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("ParentId")
.HasColumnType("TEXT");
b.Property("Route")
.IsRequired()
.HasMaxLength(2048)
.HasColumnType("TEXT");
b.Property("Slug")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("SortOrder")
.HasColumnType("INTEGER");
b.Property("Title")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("ParentId");
b.HasIndex("UpdatedById");
b.ToTable("Pages");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Platform", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Platforms");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.PlaySession", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("End")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("Start")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("UpdatedById");
b.HasIndex("UserId");
b.ToTable("PlaySessions");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Redistributable", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Description")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Notes")
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("UpdatedById");
b.ToTable("Redistributables");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Role", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Name")
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("NormalizedName")
.HasMaxLength(256)
.HasColumnType("TEXT");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("NormalizedName")
.IsUnique()
.HasDatabaseName("RoleNameIndex");
b.HasIndex("UpdatedById");
b.ToTable("Roles", (string)null);
});
modelBuilder.Entity("LANCommander.Server.Data.Models.SavePath", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("IsRegex")
.HasColumnType("INTEGER");
b.Property("Path")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("WorkingDirectory")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("UpdatedById");
b.ToTable("SavePaths");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Script", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Contents")
.IsRequired()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Description")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("RedistributableId")
.HasColumnType("TEXT");
b.Property("RequiresAdmin")
.HasColumnType("INTEGER");
b.Property("ServerId")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("RedistributableId");
b.HasIndex("ServerId");
b.HasIndex("UpdatedById");
b.ToTable("Scripts");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.Server", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("Arguments")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Autostart")
.HasColumnType("INTEGER");
b.Property("AutostartDelay")
.HasColumnType("INTEGER");
b.Property("AutostartMethod")
.HasColumnType("INTEGER");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("GameId")
.HasColumnType("TEXT");
b.Property("Host")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("OnStartScriptPath")
.IsRequired()
.HasColumnType("TEXT");
b.Property("OnStopScriptPath")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Path")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Port")
.HasColumnType("INTEGER");
b.Property("ProcessTerminationMethod")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.Property("UseShellExecute")
.HasColumnType("INTEGER");
b.Property("WorkingDirectory")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("GameId");
b.HasIndex("UpdatedById");
b.ToTable("Servers");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.ServerConsole", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property("CreatedById")
.HasColumnType("TEXT");
b.Property("CreatedOn")
.HasColumnType("TEXT");
b.Property("Host")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Name")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Password")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Path")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Port")
.HasColumnType("INTEGER");
b.Property("ServerId")
.IsRequired()
.HasColumnType("TEXT");
b.Property("ServerId1")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("UpdatedById")
.HasColumnType("TEXT");
b.Property("UpdatedOn")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("CreatedById");
b.HasIndex("ServerId");
b.HasIndex("ServerId1");
b.HasIndex("UpdatedById");
b.ToTable("ServerConsoles");
});
modelBuilder.Entity("LANCommander.Server.Data.Models.ServerHttpPath", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property