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.
16 lines
541 B
16 lines
541 B
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations |
|
{ |
|
public partial class Update_JellyfinArtworkPath : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) => |
|
migrationBuilder.Sql( |
|
@"UPDATE Artwork SET Path = REPLACE(Path, 'jellyfin:///Items', 'jellyfin://Items') |
|
WHERE Path LIKE 'jellyfin:///Items%'"); |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
} |
|
} |
|
}
|
|
|