You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/src/NzbDrone.Core/Datastore/Migration/073_clear_ratings.cs

21 lines
507 B

using FluentMigrator;
using NzbDrone.Core.Datastore.Migration.Framework;
namespace NzbDrone.Core.Datastore.Migration
{
[Migration(73)]
public class clear_ratings : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Update.Table("Series")
.Set(new { Ratings = "{}" })
.AllRows();
Update.Table("Episodes")
.Set(new { Ratings = "{}" })
.AllRows();
}
}
}