add custom title option to schedule items (#116)
This commit is contained in:
Generated
+1829
File diff suppressed because it is too large
Load Diff
+44
@@ -0,0 +1,44 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ErsatzTV.Infrastructure.Migrations
|
||||
{
|
||||
public partial class Add_ProgramScheduleItem_CustomTitle : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
"CustomTitle",
|
||||
"ProgramScheduleItem",
|
||||
"TEXT",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
"CustomGroup",
|
||||
"PlayoutItem",
|
||||
"INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
"CustomTitle",
|
||||
"PlayoutItem",
|
||||
"TEXT",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
"CustomTitle",
|
||||
"ProgramScheduleItem");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
"CustomGroup",
|
||||
"PlayoutItem");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
"CustomTitle",
|
||||
"PlayoutItem");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -611,6 +611,12 @@ namespace ErsatzTV.Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("CustomGroup")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("CustomTitle")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTime>("Finish")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
@@ -752,6 +758,9 @@ namespace ErsatzTV.Infrastructure.Migrations
|
||||
b.Property<int>("CollectionType")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("CustomTitle")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Index")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user