using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace ErsatzTV.Infrastructure.Sqlite.Migrations { /// public partial class Add_ScheduleItemMarathon : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MarathonBatchSize", table: "ProgramScheduleItem", type: "INTEGER", nullable: true); migrationBuilder.AddColumn( name: "MarathonGroupBy", table: "ProgramScheduleItem", type: "INTEGER", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "MarathonShuffleGroups", table: "ProgramScheduleItem", type: "INTEGER", nullable: false, defaultValue: false); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MarathonBatchSize", table: "ProgramScheduleItem"); migrationBuilder.DropColumn( name: "MarathonGroupBy", table: "ProgramScheduleItem"); migrationBuilder.DropColumn( name: "MarathonShuffleGroups", table: "ProgramScheduleItem"); } } }