* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
25 lines
770 B
C#
25 lines
770 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
public partial class Remove_ProgramScheduleMediaCollectionPlaybackOrder : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "MediaCollectionPlaybackOrder",
|
|
table: "ProgramSchedule");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "MediaCollectionPlaybackOrder",
|
|
table: "ProgramSchedule",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
}
|
|
}
|