diff --git a/Shoko.Server/Databases/MySQL.cs b/Shoko.Server/Databases/MySQL.cs index f28f960e1..568247823 100644 --- a/Shoko.Server/Databases/MySQL.cs +++ b/Shoko.Server/Databases/MySQL.cs @@ -745,6 +745,7 @@ public class MySQL : BaseDatabase new DatabaseCommand(119, 3, "DELETE FROM GroupFilter WHERE FilterType = 2; DELETE FROM GroupFilter WHERE FilterType = 16;"), new DatabaseCommand(119, 4, DatabaseFixes.MigrateGroupFilterToFilterPreset), new DatabaseCommand(119, 5, DatabaseFixes.DropGroupFilter), + new DatabaseCommand(120, 1, "ALTER TABLE AnimeGroup DROP COLUMN SortName;"), }; private DatabaseCommand linuxTableVersionsFix = new("RENAME TABLE versions TO Versions;"); diff --git a/Shoko.Server/Databases/SQLServer.cs b/Shoko.Server/Databases/SQLServer.cs index 56b7670f4..b3704dc5b 100644 --- a/Shoko.Server/Databases/SQLServer.cs +++ b/Shoko.Server/Databases/SQLServer.cs @@ -688,6 +688,7 @@ public override bool HasVersionsTable() new DatabaseCommand(112, 3, "DELETE FROM GroupFilter WHERE FilterType = 2; DELETE FROM GroupFilter WHERE FilterType = 16;"), new DatabaseCommand(112, 4, DatabaseFixes.MigrateGroupFilterToFilterPreset), new DatabaseCommand(112, 5, DatabaseFixes.DropGroupFilter), + new DatabaseCommand(113, 1, "ALTER TABLE AnimeGroup DROP COLUMN SortName;"), }; private static Tuple DropDefaultsOnAnimeEpisode_User(object connection) diff --git a/Shoko.Server/Databases/SQLite.cs b/Shoko.Server/Databases/SQLite.cs index 5154b90b2..f009574c3 100644 --- a/Shoko.Server/Databases/SQLite.cs +++ b/Shoko.Server/Databases/SQLite.cs @@ -679,6 +679,7 @@ public override void CreateDatabase() new DatabaseCommand(105, 3, "DELETE FROM GroupFilter WHERE FilterType = 2; DELETE FROM GroupFilter WHERE FilterType = 16;"), new DatabaseCommand(105, 4, DatabaseFixes.MigrateGroupFilterToFilterPreset), new DatabaseCommand(105, 5, DatabaseFixes.DropGroupFilter), + new DatabaseCommand(106, 1, "ALTER TABLE AnimeGroup DROP COLUMN SortName;"), }; private static Tuple DropLanguage(object connection)