mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-31 18:47:05 -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);
 | |
|         }
 | |
|     }
 | |
| }
 |