mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
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
2 changed files with 0 additions and 3 deletions
|
@ -26,7 +26,6 @@ namespace Lidarr.Api.V1.Tracks
|
||||||
|
|
||||||
public ArtistResource Artist { get; set; }
|
public ArtistResource Artist { get; set; }
|
||||||
public Ratings Ratings { 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)
|
// Hiding this so people don't think its usable (only used to set the initial state)
|
||||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||||
|
@ -59,7 +58,6 @@ namespace Lidarr.Api.V1.Tracks
|
||||||
MediumNumber = model.MediumNumber,
|
MediumNumber = model.MediumNumber,
|
||||||
HasFile = model.HasFile,
|
HasFile = model.HasFile,
|
||||||
Ratings = model.Ratings,
|
Ratings = model.Ratings,
|
||||||
IsSingleFileRelease = model.IsSingleFileRelease
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||||
{
|
{
|
||||||
protected override void MainDbUpgrade()
|
protected override void MainDbUpgrade()
|
||||||
{
|
{
|
||||||
Alter.Table("Tracks").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
|
|
||||||
Alter.Table("TrackFiles").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
|
Alter.Table("TrackFiles").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue