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.
44 lines
1.2 KiB
44 lines
1.2 KiB
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"); |
|
} |
|
} |
|
}
|
|
|