* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
public partial class Disable_FrameRateNormalization_ByDefault : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<bool>(
|
|
name: "NormalizeFramerate",
|
|
table: "FFmpegProfile",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: false,
|
|
oldClrType: typeof(bool),
|
|
oldType: "INTEGER");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<bool>(
|
|
name: "NormalizeFramerate",
|
|
table: "FFmpegProfile",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
oldClrType: typeof(bool),
|
|
oldType: "INTEGER",
|
|
oldDefaultValue: false);
|
|
}
|
|
}
|
|
}
|