* clean up genre, tag, studio orphans * enforce foreign keys at connection level * wip * fix fragment scroll offset * fix see all link for music videos * add fake artist metadata * not null artist id * add artist scanning * remove improperly named music videos * code cleanup * add artists to search results and collections * clean up music video metadata / artist * add artist view * show music videos on artist page * add music video artwork placeholder
20 lines
607 B
C#
20 lines
607 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Migrations
|
|
{
|
|
public partial class Delete_MusicVideoMetadata_Artist : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.DropColumn(
|
|
"Artist",
|
|
"MusicVideoMetadata");
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AddColumn<string>(
|
|
"Artist",
|
|
"MusicVideoMetadata",
|
|
"TEXT",
|
|
nullable: true);
|
|
}
|
|
}
|