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.
34 lines
972 B
34 lines
972 B
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
namespace ErsatzTV.Infrastructure.Migrations |
|
{ |
|
public partial class Add_FFmpegProfile_NormalizeLoudness : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
"AudioVolume", |
|
"FFmpegProfile"); |
|
|
|
migrationBuilder.AddColumn<bool>( |
|
"NormalizeLoudness", |
|
"FFmpegProfile", |
|
"INTEGER", |
|
nullable: false, |
|
defaultValue: true); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
"NormalizeLoudness", |
|
"FFmpegProfile"); |
|
|
|
migrationBuilder.AddColumn<int>( |
|
"AudioVolume", |
|
"FFmpegProfile", |
|
"INTEGER", |
|
nullable: false); |
|
} |
|
} |
|
}
|
|
|