adding initial coverimage functionality
This commit is contained in:
parent
2806beaae9
commit
451d459473
12 changed files with 1173 additions and 54 deletions
24
API/Data/Migrations/20210104011624_VolumeCoverImage.cs
Normal file
24
API/Data/Migrations/20210104011624_VolumeCoverImage.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace API.Data.Migrations
|
||||
{
|
||||
public partial class VolumeCoverImage : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<byte[]>(
|
||||
name: "CoverImage",
|
||||
table: "Volume",
|
||||
type: "BLOB",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CoverImage",
|
||||
table: "Volume");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue