mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-30 18:22:29 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			840 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			840 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace API.Data.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class RemoveEpubPageCalc : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropColumn(
 | |
|                 name: "BookReaderEpubPageCalculationMethod",
 | |
|                 table: "AppUserReadingProfiles");
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AddColumn<int>(
 | |
|                 name: "BookReaderEpubPageCalculationMethod",
 | |
|                 table: "AppUserReadingProfiles",
 | |
|                 type: "INTEGER",
 | |
|                 nullable: false,
 | |
|                 defaultValue: 0);
 | |
|         }
 | |
|     }
 | |
| }
 |