Refactored volume to contain pages and removed /reader/info API endpoint.
This commit is contained in:
parent
c2b41b774a
commit
28ce2bbba1
9 changed files with 571 additions and 18 deletions
24
API/Data/Migrations/20210111231840_VolumePages.cs
Normal file
24
API/Data/Migrations/20210111231840_VolumePages.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace API.Data.Migrations
|
||||
{
|
||||
public partial class VolumePages : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Pages",
|
||||
table: "Volume",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Pages",
|
||||
table: "Volume");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue