* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
20 lines
614 B
C#
20 lines
614 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.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");
|
|
}
|
|
}
|