mirror of https://github.com/ErsatzTV/ErsatzTV.git
26 changed files with 1581 additions and 35 deletions
@ -1,4 +1,4 @@ |
|||||||
namespace ErsatzTV.Application.Playouts |
namespace ErsatzTV.Application.Playouts |
||||||
{ |
{ |
||||||
public record PlayoutChannelViewModel(int Id, int Number, string Name); |
public record PlayoutChannelViewModel(int Id, string Number, string Name); |
||||||
} |
} |
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,27 @@ |
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||||
|
|
||||||
|
namespace ErsatzTV.Infrastructure.Migrations |
||||||
|
{ |
||||||
|
public partial class Update_ChannelNumberType : Migration |
||||||
|
{ |
||||||
|
protected override void Up(MigrationBuilder migrationBuilder) => |
||||||
|
migrationBuilder.AlterColumn<string>( |
||||||
|
"Number", |
||||||
|
"Channel", |
||||||
|
"TEXT", |
||||||
|
nullable: true, |
||||||
|
oldClrType: typeof(int), |
||||||
|
oldType: "INTEGER"); |
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder) => |
||||||
|
migrationBuilder.AlterColumn<int>( |
||||||
|
"Number", |
||||||
|
"Channel", |
||||||
|
"INTEGER", |
||||||
|
nullable: false, |
||||||
|
defaultValue: 0, |
||||||
|
oldClrType: typeof(string), |
||||||
|
oldType: "TEXT", |
||||||
|
oldNullable: true); |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue