* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
20 lines
618 B
C#
20 lines
618 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
public partial class Add_MediaVersionVideoScanKind : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.RenameColumn(
|
|
"IsInterlaced",
|
|
"MediaVersion",
|
|
"VideoScanKind");
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.RenameColumn(
|
|
"VideoScanKind",
|
|
"MediaVersion",
|
|
"IsInterlaced");
|
|
}
|
|
}
|