mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 05:54:15 -04:00
* Made the unread badges slightly smaller and rounded on top right. * A bit more tweaks on the not read badges. Looking really nice now. * In order to start the work on managing collections from ScanLoop, I needed to refactor collection apis into the service layer and add unit tests. Removed ToUpper Normalization for new tags. * Hooked up ability to auto generate collections from SeriesGroup metadata tag.
37 lines
995 B
C#
37 lines
995 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace API.Data.Migrations
|
|
{
|
|
public partial class AutoCollections : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "ManageCollections",
|
|
table: "Library",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "SeriesGroup",
|
|
table: "Chapter",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ManageCollections",
|
|
table: "Library");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "SeriesGroup",
|
|
table: "Chapter");
|
|
}
|
|
}
|
|
}
|