30 lines
840 B
C#
30 lines
840 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class Add_FFmpegProfile_QsvPreferNativeDecoder : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "QsvPreferNativeDecoder",
|
|
table: "FFmpegProfile",
|
|
type: "INTEGER",
|
|
nullable: true,
|
|
defaultValue: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "QsvPreferNativeDecoder",
|
|
table: "FFmpegProfile");
|
|
}
|
|
}
|
|
}
|