Kavita/API/Data/Migrations/20210330134414_IsSpecialOnChapters.cs
Joseph Milazzo 237542b493
Special Grouping (#134)
* More cases for parsing regex

* Implemented a change to fix old special grouping. Added some TODOs as well for a future enhancement
2021-03-31 12:10:26 -05:00

25 lines
668 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace API.Data.Migrations
{
public partial class IsSpecialOnChapters : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsSpecial",
table: "Chapter",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsSpecial",
table: "Chapter");
}
}
}