Files
ersatztv/ErsatzTV.Infrastructure.Sqlite/Migrations/20220209084802_Add_PlayoutProgramScheduleAnchor_AnchorDate.cs
T
Jason Dove a7661c8498 add mysql database provider (#1375)
* refactor sqlite into separate library

* support mysql

* fixes

* sql fixes

* cleanup

* update changelog
2023-08-12 21:44:14 -05:00

27 lines
754 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
{
public partial class Add_PlayoutProgramScheduleAnchor_AnchorDate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "AnchorDate",
table: "PlayoutProgramScheduleAnchor",
type: "TEXT",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AnchorDate",
table: "PlayoutProgramScheduleAnchor");
}
}
}