mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 11:07:06 -05:00 
			
		
		
		
	* Added book reader reading direction preference * Adds a new marker to the AppUserProgress to capture nearest anchor for resuming scroll point when reading books. Refactored bookmark api to return a BookmarkDto which includes this new data.
		
			
				
	
	
		
			24 lines
		
	
	
		
			656 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			656 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
 | 
						|
namespace API.Data.Migrations
 | 
						|
{
 | 
						|
    public partial class BookScrollIdProgress : Migration
 | 
						|
    {
 | 
						|
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.AddColumn<string>(
 | 
						|
                name: "BookScrollId",
 | 
						|
                table: "AppUserProgresses",
 | 
						|
                type: "TEXT",
 | 
						|
                nullable: true);
 | 
						|
        }
 | 
						|
 | 
						|
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "BookScrollId",
 | 
						|
                table: "AppUserProgresses");
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |