* add custom index to collection items * add custom collection order to ui * cleanup
20 lines
607 B
C#
20 lines
607 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Migrations
|
|
{
|
|
public partial class Add_CollectionItem_CustomIndex : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AddColumn<int>(
|
|
"CustomIndex",
|
|
"CollectionItem",
|
|
"INTEGER",
|
|
nullable: true);
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.DropColumn(
|
|
"CustomIndex",
|
|
"CollectionItem");
|
|
}
|
|
}
|