mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 12:14:44 -04:00
33 lines
937 B
C#
33 lines
937 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace API.Data.Migrations
|
|
{
|
|
public partial class SeriesCoverImage : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<byte[]>(
|
|
name: "CoverImage",
|
|
table: "Series",
|
|
type: "BLOB",
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "TEXT",
|
|
oldNullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CoverImage",
|
|
table: "Series",
|
|
type: "TEXT",
|
|
nullable: true,
|
|
oldClrType: typeof(byte[]),
|
|
oldType: "BLOB",
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
}
|