channel logo and watermark fixes (#2100)
* channel logo and watermark fixes * update changelog
This commit is contained in:
Generated
+5908
File diff suppressed because it is too large
Load Diff
+29
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ErsatzTV.Infrastructure.MySql.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Add_ArtworkOriginalContentType : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OriginalContentType",
|
||||
table: "Artwork",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OriginalContentType",
|
||||
table: "Artwork");
|
||||
}
|
||||
}
|
||||
}
|
||||
+5911
File diff suppressed because it is too large
Load Diff
+29
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ErsatzTV.Infrastructure.MySql.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Add_ChannelWatermarkOriginalContentType : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OriginalContentType",
|
||||
table: "ChannelWatermark",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OriginalContentType",
|
||||
table: "ChannelWatermark");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -190,6 +190,9 @@ namespace ErsatzTV.Infrastructure.MySql.Migrations
|
||||
b.Property<int?>("MusicVideoMetadataId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("OriginalContentType")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<int?>("OtherVideoMetadataId")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -353,6 +356,9 @@ namespace ErsatzTV.Infrastructure.MySql.Migrations
|
||||
b.Property<int>("Opacity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("OriginalContentType")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<bool>("PlaceWithinSourceContent")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user