mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
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); |
|
} |
|
} |
|
}
|
|
|