diff --git a/LANCommander.Server.Data.PostgreSQL/Migrations/20250217231022_InitialMigration.Designer.cs b/LANCommander.Server.Data.PostgreSQL/Migrations/20250217231022_InitialMigration.Designer.cs
deleted file mode 100644
index 34183525..00000000
--- a/LANCommander.Server.Data.PostgreSQL/Migrations/20250217231022_InitialMigration.Designer.cs
+++ /dev/null
@@ -1,2788 +0,0 @@
-//
-using System;
-using LANCommander.Server.Data;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
-
-#nullable disable
-
-namespace LANCommander.Server.Data.PostgreSQL.Migrations
-{
- [DbContext(typeof(DatabaseContext))]
- [Migration("20250217231022_InitialMigration")]
- partial class InitialMigration
- {
- ///
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "9.0.2")
- .HasAnnotation("Relational:MaxIdentifierLength", 63);
-
- NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
-
- modelBuilder.Entity("CategoryGame", b =>
- {
- b.Property("CategoriesId")
- .HasColumnType("uuid");
-
- b.Property("GamesId")
- .HasColumnType("uuid");
-
- b.HasKey("CategoriesId", "GamesId");
-
- b.HasIndex("GamesId");
-
- b.ToTable("CategoryGame");
- });
-
- modelBuilder.Entity("CollectionGame", b =>
- {
- b.Property("CollectionId")
- .HasColumnType("uuid");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.HasKey("CollectionId", "GameId");
-
- b.HasIndex("GameId");
-
- b.ToTable("CollectionGame");
- });
-
- modelBuilder.Entity("GameDeveloper", b =>
- {
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("DeveloperId")
- .HasColumnType("uuid");
-
- b.HasKey("GameId", "DeveloperId");
-
- b.HasIndex("DeveloperId");
-
- b.ToTable("GameDeveloper");
- });
-
- modelBuilder.Entity("GameGenre", b =>
- {
- b.Property("GamesId")
- .HasColumnType("uuid");
-
- b.Property("GenresId")
- .HasColumnType("uuid");
-
- b.HasKey("GamesId", "GenresId");
-
- b.HasIndex("GenresId");
-
- b.ToTable("GameGenre");
- });
-
- modelBuilder.Entity("GamePlatform", b =>
- {
- b.Property("GamesId")
- .HasColumnType("uuid");
-
- b.Property("PlatformsId")
- .HasColumnType("uuid");
-
- b.HasKey("GamesId", "PlatformsId");
-
- b.HasIndex("PlatformsId");
-
- b.ToTable("GamePlatform");
- });
-
- modelBuilder.Entity("GamePublisher", b =>
- {
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("PublisherId")
- .HasColumnType("uuid");
-
- b.HasKey("GameId", "PublisherId");
-
- b.HasIndex("PublisherId");
-
- b.ToTable("GamePublisher");
- });
-
- modelBuilder.Entity("GameRedistributable", b =>
- {
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("RedistributableId")
- .HasColumnType("uuid");
-
- b.HasKey("GameId", "RedistributableId");
-
- b.HasIndex("RedistributableId");
-
- b.ToTable("GameRedistributable");
- });
-
- modelBuilder.Entity("GameTag", b =>
- {
- b.Property("GamesId")
- .HasColumnType("uuid");
-
- b.Property("TagsId")
- .HasColumnType("uuid");
-
- b.HasKey("GamesId", "TagsId");
-
- b.HasIndex("TagsId");
-
- b.ToTable("GameTag");
- });
-
- modelBuilder.Entity("LANCommander.Server.Data.Models.Action", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid");
-
- b.Property("Arguments")
- .HasColumnType("text");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("Path")
- .HasColumnType("text");
-
- b.Property("PrimaryAction")
- .HasColumnType("boolean");
-
- b.Property("ServerId")
- .HasColumnType("uuid");
-
- b.Property("SortOrder")
- .HasColumnType("integer");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("Changelog")
- .HasColumnType("text");
-
- b.Property("CompressedSize")
- .HasColumnType("bigint");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("LastVersionId")
- .HasColumnType("uuid");
-
- b.Property("ObjectKey")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("RedistributableId")
- .HasColumnType("uuid");
-
- b.Property("StorageLocationId")
- .HasColumnType("uuid");
-
- b.Property("UncompressedSize")
- .HasColumnType("bigint");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("ParentId")
- .HasColumnType("uuid");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("BaseGameId")
- .HasColumnType("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Description")
- .HasColumnType("text");
-
- b.Property("DirectoryName")
- .HasColumnType("text");
-
- b.Property("EngineId")
- .HasColumnType("uuid");
-
- b.Property("IGDBId")
- .HasColumnType("bigint");
-
- b.Property("KeyAllocationMethod")
- .HasColumnType("integer");
-
- b.Property("Notes")
- .HasColumnType("text");
-
- b.Property("ReleasedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Singleplayer")
- .HasColumnType("boolean");
-
- b.Property("SortTitle")
- .HasColumnType("text");
-
- b.Property("Title")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("Type")
- .HasColumnType("integer");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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.GameCustomField", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("character varying(64)");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(1024)
- .HasColumnType("character varying(1024)");
-
- b.HasKey("Id");
-
- b.HasIndex("CreatedById");
-
- b.HasIndex("GameId");
-
- b.HasIndex("UpdatedById");
-
- b.ToTable("GameCustomField");
- });
-
- modelBuilder.Entity("LANCommander.Server.Data.Models.GameSave", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("Size")
- .HasColumnType("bigint");
-
- b.Property("StorageLocationId")
- .HasColumnType("uuid");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UserId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Description")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("ResolvedById")
- .HasColumnType("uuid");
-
- b.Property("ResolvedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("AllocationMethod")
- .HasColumnType("integer");
-
- b.Property("ClaimedByComputerName")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)");
-
- b.Property("ClaimedByIpv4Address")
- .HasMaxLength(15)
- .HasColumnType("character varying(15)");
-
- b.Property("ClaimedByMacAddress")
- .HasMaxLength(17)
- .HasColumnType("character varying(17)");
-
- b.Property("ClaimedByUserId")
- .HasColumnType("uuid");
-
- b.Property("ClaimedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UserId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("Crc32")
- .IsRequired()
- .HasMaxLength(8)
- .HasColumnType("character varying(8)");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("FileId")
- .HasColumnType("uuid");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("MimeType")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)");
-
- b.Property("Name")
- .HasMaxLength(64)
- .HasColumnType("character varying(64)");
-
- b.Property("SourceUrl")
- .HasMaxLength(2048)
- .HasColumnType("character varying(2048)");
-
- b.Property("StorageLocationId")
- .HasColumnType("uuid");
-
- b.Property("ThumbnailId")
- .HasColumnType("uuid");
-
- b.Property("Type")
- .HasColumnType("integer");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UserId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Description")
- .HasColumnType("text");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("Contents")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("ParentId")
- .HasColumnType("uuid");
-
- b.Property("Route")
- .IsRequired()
- .HasMaxLength(2048)
- .HasColumnType("character varying(2048)");
-
- b.Property("Slug")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property("SortOrder")
- .HasColumnType("integer");
-
- b.Property("Title")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("End")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("Start")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UserId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Description")
- .HasColumnType("text");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("Notes")
- .HasColumnType("text");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnType("text");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Name")
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property("NormalizedName")
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("IsRegex")
- .HasColumnType("boolean");
-
- b.Property("Path")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("Type")
- .HasColumnType("integer");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("Contents")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Description")
- .HasColumnType("text");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("RedistributableId")
- .HasColumnType("uuid");
-
- b.Property("RequiresAdmin")
- .HasColumnType("boolean");
-
- b.Property("ServerId")
- .HasColumnType("uuid");
-
- b.Property("Type")
- .HasColumnType("integer");
-
- b.Property("UpdatedById")
- .HasColumnType("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- 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("uuid");
-
- b.Property("Arguments")
- .IsRequired()
- .HasColumnType("text");
-
- b.Property("Autostart")
- .HasColumnType("boolean");
-
- b.Property("AutostartDelay")
- .HasColumnType("integer");
-
- b.Property("AutostartMethod")
- .HasColumnType("integer");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("GameId")
- .HasColumnType("uuid");
-
- 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("uuid");
-
- b.Property("UpdatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("UseShellExecute")
- .HasColumnType("boolean");
-
- 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("uuid");
-
- b.Property("CreatedById")
- .HasColumnType("uuid");
-
- b.Property("CreatedOn")
- .HasColumnType("timestamp with time zone");
-
- b.Property("Host")
- .IsRequired()
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(64)
- .HasColumnType("character varying(64)");
-
- b.Property("Password")
- .IsRequired()
- .HasMaxLength(128)
- .HasColumnType("character varying(128)");
-
- b.Property