* add setting to keep multi-part episodes together * keep multi-part episodes together when shuffling
21 lines
703 B
C#
21 lines
703 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Migrations
|
|
{
|
|
public partial class Add_ProgramSchedule_KeepMultiPartEpisodesTogether : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AddColumn<bool>(
|
|
"KeepMultiPartEpisodesTogether",
|
|
"ProgramSchedule",
|
|
"INTEGER",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.DropColumn(
|
|
"KeepMultiPartEpisodesTogether",
|
|
"ProgramSchedule");
|
|
}
|
|
}
|