Fixed: Updated Base Url for Redacted (#5250)
parent
2b1684a793
commit
beabad5e3a
@ -0,0 +1,14 @@
|
|||||||
|
using FluentMigrator;
|
||||||
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Datastore.Migration
|
||||||
|
{
|
||||||
|
[Migration(080)]
|
||||||
|
public class update_redacted_baseurl : NzbDroneMigrationBase
|
||||||
|
{
|
||||||
|
protected override void MainDbUpgrade()
|
||||||
|
{
|
||||||
|
Execute.Sql("UPDATE \"Indexers\" SET \"Settings\" = Replace(\"Settings\", '//redacted.ch', '//redacted.sh') WHERE \"Implementation\" = 'Redacted'");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue