Switch to migration 198 and rebase

This commit is contained in:
Jendrik Weise 2023-10-14 00:13:43 +02:00
parent 6dbdcf5157
commit 578d6e8408
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ namespace NzbDrone.Core.Test.Datastore.Migration
}); });
}); });
var files = db.Query<SubtitleFile197>("SELECT * FROM \"SubtitleFiles\"").ToList(); var files = db.Query<SubtitleFile198>("SELECT * FROM \"SubtitleFiles\"").ToList();
files.Should().HaveCount(1); files.Should().HaveCount(1);
@ -78,7 +78,7 @@ namespace NzbDrone.Core.Test.Datastore.Migration
} }
} }
public class SubtitleFile197 public class SubtitleFile198
{ {
public int Id { get; set; } public int Id { get; set; }
public int SeriesId { get; set; } public int SeriesId { get; set; }

View File

@ -9,7 +9,7 @@ using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Datastore.Migration namespace NzbDrone.Core.Datastore.Migration
{ {
[Migration(197)] [Migration(198)]
public class parse_title_from_existing_subtitle_files : NzbDroneMigrationBase public class parse_title_from_existing_subtitle_files : NzbDroneMigrationBase
{ {
protected override void MainDbUpgrade() protected override void MainDbUpgrade()