Fix migration selection for downgrades below v6.7.0

This commit is contained in:
Jordan Dominion
2024-11-03 11:09:12 -05:00
parent e81f6d2c54
commit a7ce0f5588
@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
@@ -485,7 +485,7 @@ namespace Tgstation.Server.Host.Database
if (targetVersion < new Version(6, 7, 0))
targetMigration = currentDatabaseType switch
{
DatabaseType.MySql => nameof(MSAddCronAutoUpdates),
DatabaseType.MySql => nameof(MYAddCronAutoUpdates),
DatabaseType.PostgresSql => nameof(PGAddCronAutoUpdates),
DatabaseType.SqlServer => nameof(MSAddCronAutoUpdates),
DatabaseType.Sqlite => nameof(SLAddCronAutoUpdates),