First running version with all fields, sync, m3u generation and without old controller
This commit is contained in:
56
Tv7Playlist.Data/Migrations/20190125212615_InitialCreate.Designer.cs
generated
Normal file
56
Tv7Playlist.Data/Migrations/20190125212615_InitialCreate.Designer.cs
generated
Normal file
@@ -0,0 +1,56 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Tv7Playlist.Data;
|
||||
|
||||
namespace Tv7Playlist.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlaylistContext))]
|
||||
[Migration("20190125212615_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "2.2.1-servicing-10028");
|
||||
|
||||
modelBuilder.Entity("Tv7Playlist.Data.PlaylistEntry", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<bool>("IsAvailable");
|
||||
|
||||
b.Property<bool>("IsEnabled");
|
||||
|
||||
b.Property<string>("Name");
|
||||
|
||||
b.Property<string>("NameOverride");
|
||||
|
||||
b.Property<int>("Position");
|
||||
|
||||
b.Property<int>("TrackNumber");
|
||||
|
||||
b.Property<int>("TrackNumberOverride");
|
||||
|
||||
b.Property<string>("Url");
|
||||
|
||||
b.Property<string>("UrlOriginal");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("Name");
|
||||
|
||||
b.HasIndex("TrackNumber")
|
||||
.IsUnique();
|
||||
|
||||
b.ToTable("PlaylistEntries");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user