Update src/NzbDrone.Core/Datastore/Migration/205_rename_season_pack_spec.cs

Co-authored-by: Bogdan <mynameisbogdan@users.noreply.github.com>
pull/6578/head
Mark McDowall 3 months ago committed by GitHub
parent 5ce30b7370
commit 3c9555ccd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Datastore.Migration
{
protected override void MainDbUpgrade()
{
Execute.Sql("UPDATE \"CustomFormats\" SET \"Specifications\" = Replace(\"Specifications\", 'SeasonPackSpecification', 'ReleaseTypeSpecification')");
Execute.Sql("UPDATE \"CustomFormats\" SET \"Specifications\" = REPLACE(\"Specifications\", 'SeasonPackSpecification', 'ReleaseTypeSpecification')");
}
}
}

Loading…
Cancel
Save