add guide mode to schedule items (#430)

This commit is contained in:
Jason Dove
2021-10-14 13:24:54 -05:00
committed by GitHub
parent 0daeb844b9
commit 3ecdd741a5
22 changed files with 3601 additions and 24 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_ProgramScheduleItem_GuideMode : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "GuideMode",
table: "ProgramScheduleItem",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "GuideMode",
table: "ProgramScheduleItem");
}
}
}
@@ -1312,6 +1312,9 @@ namespace ErsatzTV.Infrastructure.Migrations
b.Property<string>("CustomTitle")
.HasColumnType("TEXT");
b.Property<int>("GuideMode")
.HasColumnType("INTEGER");
b.Property<int>("Index")
.HasColumnType("INTEGER");