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.
48 lines
1.4 KiB
48 lines
1.4 KiB
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
#nullable disable |
|
|
|
namespace ErsatzTV.Infrastructure.Migrations |
|
{ |
|
public partial class Remove_FFmpegProfileTranscodeNormalizeVideoNormalizeAudio : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
name: "NormalizeAudio", |
|
table: "FFmpegProfile"); |
|
|
|
migrationBuilder.DropColumn( |
|
name: "NormalizeVideo", |
|
table: "FFmpegProfile"); |
|
|
|
migrationBuilder.DropColumn( |
|
name: "Transcode", |
|
table: "FFmpegProfile"); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.AddColumn<bool>( |
|
name: "NormalizeAudio", |
|
table: "FFmpegProfile", |
|
type: "INTEGER", |
|
nullable: false, |
|
defaultValue: false); |
|
|
|
migrationBuilder.AddColumn<bool>( |
|
name: "NormalizeVideo", |
|
table: "FFmpegProfile", |
|
type: "INTEGER", |
|
nullable: false, |
|
defaultValue: false); |
|
|
|
migrationBuilder.AddColumn<bool>( |
|
name: "Transcode", |
|
table: "FFmpegProfile", |
|
type: "INTEGER", |
|
nullable: false, |
|
defaultValue: false); |
|
} |
|
} |
|
}
|
|
|