Lots and lots of cleanup!

This commit is contained in:
2017-09-02 21:05:50 -04:00
parent 6f326320cc
commit caf2bde6c4
10 changed files with 145 additions and 142 deletions

View File

@ -11,7 +11,7 @@ using YTManager;
namespace YTManager.Migrations
{
[DbContext(typeof(MediaDB))]
[Migration("20170901083156_initial")]
[Migration("20170902220142_initial")]
partial class initial
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
@ -63,6 +63,9 @@ namespace YTManager.Migrations
b.Property<DateTime>("Uploaded");
b.Property<string>("YTChannelID")
.IsRequired();
b.Property<string>("YTVideoID")
.IsRequired();

View File

@ -37,6 +37,7 @@ namespace YTManager.Migrations
ThumbnailURL = table.Column<string>(type: "text", nullable: false),
Title = table.Column<string>(type: "text", nullable: false),
Uploaded = table.Column<DateTime>(type: "timestamp", nullable: false),
YTChannelID = table.Column<string>(type: "text", nullable: false),
YTVideoID = table.Column<string>(type: "text", nullable: false)
},
constraints: table =>

View File

@ -62,6 +62,9 @@ namespace YTManager.Migrations
b.Property<DateTime>("Uploaded");
b.Property<string>("YTChannelID")
.IsRequired();
b.Property<string>("YTVideoID")
.IsRequired();