add playlists (#1690)
* update dependencies * add playlists * add playlist support to schedules * playout builder (flood) supports playlists * update changelog
This commit is contained in:
+40
@@ -0,0 +1,40 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Add_MorePlaylistProperties : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IncludeInProgramGuide",
|
||||
table: "PlaylistItem",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PlaybackOrder",
|
||||
table: "PlaylistItem",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IncludeInProgramGuide",
|
||||
table: "PlaylistItem");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PlaybackOrder",
|
||||
table: "PlaylistItem");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user