Lots and lots of cleanup!
This commit is contained in:
@ -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();
|
||||
|
@ -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 =>
|
@ -62,6 +62,9 @@ namespace YTManager.Migrations
|
||||
|
||||
b.Property<DateTime>("Uploaded");
|
||||
|
||||
b.Property<string>("YTChannelID")
|
||||
.IsRequired();
|
||||
|
||||
b.Property<string>("YTVideoID")
|
||||
.IsRequired();
|
||||
|
||||
|
Reference in New Issue
Block a user