using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
{
///
public partial class Add_PlayoutHistory_Finish : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Finish",
table: "PlayoutHistory",
type: "TEXT",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn(
name: "NextInstructionIndex",
table: "PlayoutAnchor",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Finish",
table: "PlayoutHistory");
migrationBuilder.DropColumn(
name: "NextInstructionIndex",
table: "PlayoutAnchor");
}
}
}