mirror of https://github.com/lidarr/Lidarr
15 lines
360 B
C#
15 lines
360 B
C#
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(24)]
|
|
public class NewMediaInfoFormat : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Update.Table("TrackFiles").Set(new { MediaInfo = "" }).AllRows();
|
|
}
|
|
}
|
|
}
|