migrations !wip

pull/2473/head
TidusJar 6 years ago
parent 82c353a727
commit 21cb5820dd

File diff suppressed because it is too large Load Diff

@ -0,0 +1,33 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Ombi.Store.Migrations
{
public partial class MusicIssues : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AlbumId",
table: "RecentlyAddedLog",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "AddedAt",
table: "LidarrAlbumCache",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AlbumId",
table: "RecentlyAddedLog");
migrationBuilder.DropColumn(
name: "AddedAt",
table: "LidarrAlbumCache");
}
}
}

@ -249,6 +249,8 @@ namespace Ombi.Store.Migrations
b.Property<int>("Id")
.ValueGeneratedOnAdd();
b.Property<DateTime>("AddedAt");
b.Property<int>("ArtistId");
b.Property<string>("ForeignAlbumId");
@ -489,6 +491,8 @@ namespace Ombi.Store.Migrations
b.Property<DateTime>("AddedAt");
b.Property<string>("AlbumId");
b.Property<int>("ContentId");
b.Property<int>("ContentType");

Loading…
Cancel
Save