From 40745e5bef5fbcc29cdf8c8202a22dbb65b58099 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 15 Mar 2025 12:11:49 -0400 Subject: [PATCH] Remove rogue code --- src/Tgstation.Server.Host/Database/DatabaseContext.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Tgstation.Server.Host/Database/DatabaseContext.cs b/src/Tgstation.Server.Host/Database/DatabaseContext.cs index d23a020fb0..6b8013f8c6 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseContext.cs @@ -482,9 +482,6 @@ namespace Tgstation.Server.Host.Database string BadDatabaseType() => throw new ArgumentException($"Invalid DatabaseType: {currentDatabaseType}", nameof(currentDatabaseType)); // !!! DON'T FORGET TO UPDATE THE SWARM PROTOCOL MAJOR VERSION !!! - if (targetVersion < new Version(6, 13, 0) && currentDatabaseType == DatabaseType.Sqlite) - targetMigration = nameof(SLAddAutoStartAndStop); - if (targetVersion < new Version(6, 12, 0)) targetMigration = currentDatabaseType switch {