diff --git a/src/NzbDrone.Core/Datastore/Migration/196_legacy_mediainfo_hdr.cs b/src/NzbDrone.Core/Datastore/Migration/196_legacy_mediainfo_hdr.cs new file mode 100644 index 000000000..0d3a7fd45 --- /dev/null +++ b/src/NzbDrone.Core/Datastore/Migration/196_legacy_mediainfo_hdr.cs @@ -0,0 +1,14 @@ +using FluentMigrator; +using NzbDrone.Core.Datastore.Migration.Framework; + +namespace NzbDrone.Core.Datastore.Migration +{ + [Migration(196)] + public class legacy_mediainfo_hdr : NzbDroneMigrationBase + { + protected override void MainDbUpgrade() + { + Execute.Sql("UPDATE NamingConfig SET StandardMovieFormat = Replace(StandardMovieFormat, '{MediaInfo HDR}', '{MediaInfo VideoDynamicRange}');"); + } + } +}