mirror of https://github.com/ErsatzTV/ErsatzTV.git
22 changed files with 3601 additions and 24 deletions
@ -0,0 +1,8 @@ |
|||||||
|
namespace ErsatzTV.Core.Domain |
||||||
|
{ |
||||||
|
public enum GuideMode |
||||||
|
{ |
||||||
|
Normal = 0, |
||||||
|
Filler = 1 |
||||||
|
} |
||||||
|
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@ |
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||||
|
|
||||||
|
namespace ErsatzTV.Infrastructure.Migrations |
||||||
|
{ |
||||||
|
public partial class Add_ProgramScheduleItem_GuideMode : Migration |
||||||
|
{ |
||||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.AddColumn<int>( |
||||||
|
name: "GuideMode", |
||||||
|
table: "ProgramScheduleItem", |
||||||
|
type: "INTEGER", |
||||||
|
nullable: false, |
||||||
|
defaultValue: 0); |
||||||
|
} |
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.DropColumn( |
||||||
|
name: "GuideMode", |
||||||
|
table: "ProgramScheduleItem"); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue