add option to stop scheduling before or after block duration end (#1563)

This commit is contained in:
Jason Dove
2024-01-16 12:53:56 -06:00
committed by GitHub
parent 4805d0d40f
commit 88fac0de04
16 changed files with 9931 additions and 7 deletions
@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.MySql.Migrations
{
/// <inheritdoc />
public partial class Add_BlockStopScheduling : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "StopScheduling",
table: "Block",
type: "int",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "StopScheduling",
table: "Block");
}
}
}