add watermark opacity (#259)

This commit is contained in:
Jason Dove
2021-06-13 20:45:23 -05:00
committed by GitHub
parent 0fb5bfde58
commit 679feb6d21
15 changed files with 3027 additions and 13 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Add_ChannelWatermarkOpacity : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Opacity",
table: "ChannelWatermark",
type: "INTEGER",
nullable: false,
defaultValue: 100);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Opacity",
table: "ChannelWatermark");
}
}
}
@@ -240,6 +240,9 @@ namespace ErsatzTV.Infrastructure.Migrations
b.Property<int>("Mode")
.HasColumnType("INTEGER");
b.Property<int>("Opacity")
.HasColumnType("INTEGER");
b.Property<int>("Size")
.HasColumnType("INTEGER");