Stream custom live channels using your own media
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.
 
 
 

26 lines
946 B

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ErsatzTV.Infrastructure.MySql.Migrations
{
/// <inheritdoc />
public partial class Fix_DowngradeWarning : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
// this migration was removed because it failed to apply successfully on MySql
// nonetheless, it succeeded on MariaDB so some users still have this history record
// which causes an erroneous "downgrade" warning (db has migration that app doesn't know about)
// so it needs to be cleaned up
migrationBuilder.Sql(
"DELETE FROM `__EFMigrationsHistory` WHERE `MigrationId` = '20250723030616_Update_MediaFilePath'");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}