mirror of https://github.com/ErsatzTV/ErsatzTV.git
28 changed files with 12262 additions and 39 deletions
@ -1,7 +1,7 @@ |
|||||||
namespace ErsatzTV.Core.Domain; |
namespace ErsatzTV.Core.Domain; |
||||||
|
|
||||||
public enum ChannelProgressMode |
public enum ChannelPlayoutMode |
||||||
{ |
{ |
||||||
Always = 0, |
Continuous = 0, |
||||||
OnDemand = 1 |
OnDemand = 1 |
||||||
} |
} |
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@ |
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||||
|
|
||||||
|
#nullable disable |
||||||
|
|
||||||
|
namespace ErsatzTV.Infrastructure.MySql.Migrations |
||||||
|
{ |
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class Rename_ChannelProgressMode : Migration |
||||||
|
{ |
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.RenameColumn( |
||||||
|
name: "ProgressMode", |
||||||
|
table: "Channel", |
||||||
|
newName: "PlayoutMode"); |
||||||
|
} |
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.RenameColumn( |
||||||
|
name: "PlayoutMode", |
||||||
|
table: "Channel", |
||||||
|
newName: "ProgressMode"); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@ |
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||||
|
|
||||||
|
#nullable disable |
||||||
|
|
||||||
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations |
||||||
|
{ |
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class Rename_ChannelProgressMode : Migration |
||||||
|
{ |
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.RenameColumn( |
||||||
|
name: "ProgressMode", |
||||||
|
table: "Channel", |
||||||
|
newName: "PlayoutMode"); |
||||||
|
} |
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||||
|
{ |
||||||
|
migrationBuilder.RenameColumn( |
||||||
|
name: "PlayoutMode", |
||||||
|
table: "Channel", |
||||||
|
newName: "ProgressMode"); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue