mirror of https://github.com/lidarr/Lidarr
Remove "Is Single File Release" property from the track resource class and the database table.
(cherry picked from commit b18cd458e032184e23874d1d23e3e26b24040b11)
This commit is contained in:
parent
6140d5a3f4
commit
fec96dc3f0
|
@ -26,7 +26,6 @@ namespace Lidarr.Api.V1.Tracks
|
|||
|
||||
public ArtistResource Artist { get; set; }
|
||||
public Ratings Ratings { get; set; }
|
||||
public bool IsSingleFileRelease { get; set; }
|
||||
|
||||
// Hiding this so people don't think its usable (only used to set the initial state)
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
|
@ -59,7 +58,6 @@ namespace Lidarr.Api.V1.Tracks
|
|||
MediumNumber = model.MediumNumber,
|
||||
HasFile = model.HasFile,
|
||||
Ratings = model.Ratings,
|
||||
IsSingleFileRelease = model.IsSingleFileRelease
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ namespace NzbDrone.Core.Datastore.Migration
|
|||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Alter.Table("Tracks").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
|
||||
Alter.Table("TrackFiles").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue