First running version with all fields, sync, m3u generation and without old controller
This commit is contained in:
@@ -9,14 +9,14 @@ using Tv7Playlist.Data;
|
||||
namespace Tv7Playlist.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlaylistContext))]
|
||||
[Migration("20190124231927_InitialCreate")]
|
||||
[Migration("20190125212615_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "2.2.0-rtm-35687");
|
||||
.HasAnnotation("ProductVersion", "2.2.1-servicing-10028");
|
||||
|
||||
modelBuilder.Entity("Tv7Playlist.Data.PlaylistEntry", b =>
|
||||
{
|
||||
@@ -35,8 +35,12 @@ namespace Tv7Playlist.Data.Migrations
|
||||
|
||||
b.Property<int>("TrackNumber");
|
||||
|
||||
b.Property<int>("TrackNumberOverride");
|
||||
|
||||
b.Property<string>("Url");
|
||||
|
||||
b.Property<string>("UrlOriginal");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("Name");
|
@@ -14,9 +14,11 @@ namespace Tv7Playlist.Data.Migrations
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
Position = table.Column<int>(nullable: false),
|
||||
TrackNumber = table.Column<int>(nullable: false),
|
||||
TrackNumberOverride = table.Column<int>(nullable: false),
|
||||
Name = table.Column<string>(nullable: true),
|
||||
NameOverride = table.Column<string>(nullable: true),
|
||||
Url = table.Column<string>(nullable: true),
|
||||
UrlOriginal = table.Column<string>(nullable: true),
|
||||
IsAvailable = table.Column<bool>(nullable: false),
|
||||
IsEnabled = table.Column<bool>(nullable: false)
|
||||
},
|
@@ -14,7 +14,7 @@ namespace Tv7Playlist.Data.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "2.2.0-rtm-35687");
|
||||
.HasAnnotation("ProductVersion", "2.2.1-servicing-10028");
|
||||
|
||||
modelBuilder.Entity("Tv7Playlist.Data.PlaylistEntry", b =>
|
||||
{
|
||||
@@ -33,8 +33,12 @@ namespace Tv7Playlist.Data.Migrations
|
||||
|
||||
b.Property<int>("TrackNumber");
|
||||
|
||||
b.Property<int>("TrackNumberOverride");
|
||||
|
||||
b.Property<string>("Url");
|
||||
|
||||
b.Property<string>("UrlOriginal");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("Name");
|
||||
|
@@ -7,13 +7,18 @@ namespace Tv7Playlist.Data
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public int Position { get; set; }
|
||||
|
||||
public int TrackNumber { get; set; }
|
||||
|
||||
public int TrackNumberOverride { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string NameOverride { get; set; }
|
||||
|
||||
|
||||
public string Url { get; set; }
|
||||
|
||||
public string UrlOriginal { get; set; }
|
||||
|
||||
public bool IsAvailable { get; set; }
|
||||
|
||||
|
@@ -6,9 +6,9 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
|
Reference in New Issue
Block a user