Files
ersatztv/ErsatzTV.Infrastructure/Migrations/20220513230433_Add_ProgramSchedule_RandomStartPoint.cs
T

27 lines
749 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Add_ProgramSchedule_RandomStartPoint : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "RandomStartPoint",
table: "ProgramSchedule",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RandomStartPoint",
table: "ProgramSchedule");
}
}
}