Made first schema work, made first sync work and display from db
This commit is contained in:
@@ -9,7 +9,7 @@ using Tv7Playlist.Data;
|
||||
namespace Tv7Playlist.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlaylistContext))]
|
||||
[Migration("20190124230424_InitialCreate")]
|
||||
[Migration("20190124231927_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@@ -31,6 +31,8 @@ namespace Tv7Playlist.Data.Migrations
|
||||
|
||||
b.Property<string>("NameOverride");
|
||||
|
||||
b.Property<int>("Position");
|
||||
|
||||
b.Property<int>("TrackNumber");
|
||||
|
||||
b.Property<string>("Url");
|
@@ -12,6 +12,7 @@ namespace Tv7Playlist.Data.Migrations
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
Position = table.Column<int>(nullable: false),
|
||||
TrackNumber = table.Column<int>(nullable: false),
|
||||
Name = table.Column<string>(nullable: true),
|
||||
NameOverride = table.Column<string>(nullable: true),
|
@@ -29,6 +29,8 @@ namespace Tv7Playlist.Data.Migrations
|
||||
|
||||
b.Property<string>("NameOverride");
|
||||
|
||||
b.Property<int>("Position");
|
||||
|
||||
b.Property<int>("TrackNumber");
|
||||
|
||||
b.Property<string>("Url");
|
||||
|
Reference in New Issue
Block a user