rename channel progress mode to playout mode (#2254)

This commit is contained in:
Jason Dove
2025-08-04 19:27:22 +00:00
committed by GitHub
parent a728c5e31e
commit b52159e8db
28 changed files with 12262 additions and 39 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,28 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.MySql.Migrations
{
/// <inheritdoc />
public partial class Rename_ChannelProgressMode : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "ProgressMode",
table: "Channel",
newName: "PlayoutMode");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "PlayoutMode",
table: "Channel",
newName: "ProgressMode");
}
}
}
@@ -284,6 +284,9 @@ namespace ErsatzTV.Infrastructure.MySql.Migrations
b.Property<string>("Number")
.HasColumnType("varchar(255)");
b.Property<int>("PlayoutMode")
.HasColumnType("int");
b.Property<string>("PreferredAudioLanguageCode")
.HasColumnType("longtext");
@@ -293,9 +296,6 @@ namespace ErsatzTV.Infrastructure.MySql.Migrations
b.Property<string>("PreferredSubtitleLanguageCode")
.HasColumnType("longtext");
b.Property<int>("ProgressMode")
.HasColumnType("int");
b.Property<int>("SongVideoMode")
.HasColumnType("int");