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.
33 lines
999 B
33 lines
999 B
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations |
|
{ |
|
public partial class Add_PlayoutItemGuideGroup : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.RenameColumn( |
|
name: "CustomGroup", |
|
table: "PlayoutItem", |
|
newName: "GuideGroup"); |
|
|
|
migrationBuilder.AddColumn<int>( |
|
name: "Anchor_NextGuideGroup", |
|
table: "Playout", |
|
type: "INTEGER", |
|
nullable: true); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
name: "Anchor_NextGuideGroup", |
|
table: "Playout"); |
|
|
|
migrationBuilder.RenameColumn( |
|
name: "GuideGroup", |
|
table: "PlayoutItem", |
|
newName: "CustomGroup"); |
|
} |
|
} |
|
}
|
|
|