add scheduled playout rebuild (#376)

* configure scheduled playout rebuild

* implement scheduled playout rebuild

* remove variable
This commit is contained in:
Jason Dove
2021-09-18 11:23:58 -05:00
committed by GitHub
parent f7de9ac5ea
commit 944f1e4307
15 changed files with 3432 additions and 13 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Add_PlayoutDailyRebuildTime : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<TimeSpan>(
name: "DailyRebuildTime",
table: "Playout",
type: "TEXT",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DailyRebuildTime",
table: "Playout");
}
}
}
@@ -14,7 +14,7 @@ namespace ErsatzTV.Infrastructure.Migrations
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "5.0.9");
.HasAnnotation("ProductVersion", "5.0.10");
modelBuilder.Entity("ErsatzTV.Core.Domain.Actor", b =>
{
@@ -1055,6 +1055,9 @@ namespace ErsatzTV.Infrastructure.Migrations
b.Property<int>("ChannelId")
.HasColumnType("INTEGER");
b.Property<TimeSpan?>("DailyRebuildTime")
.HasColumnType("TEXT");
b.Property<int>("ProgramScheduleId")
.HasColumnType("INTEGER");