mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-30 18:22:29 -04:00 
			
		
		
		
	* Implemented a Want To Read list of series for all users, as a way to keep track of what you want to read. When canceling a bulk action, like Add to Reading list, the selected cards wont de-select. * Hooked up Remove from Want to Read * When making bulk selection, allow the user to click on anywhere on the card * Added no series messaging * Code cleanup
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace API.Data.Migrations
 | |
| {
 | |
|     public partial class WantToReadList : Migration
 | |
|     {
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AddColumn<int>(
 | |
|                 name: "AppUserId",
 | |
|                 table: "Series",
 | |
|                 type: "INTEGER",
 | |
|                 nullable: true);
 | |
| 
 | |
|             migrationBuilder.CreateIndex(
 | |
|                 name: "IX_Series_AppUserId",
 | |
|                 table: "Series",
 | |
|                 column: "AppUserId");
 | |
| 
 | |
|             migrationBuilder.AddForeignKey(
 | |
|                 name: "FK_Series_AspNetUsers_AppUserId",
 | |
|                 table: "Series",
 | |
|                 column: "AppUserId",
 | |
|                 principalTable: "AspNetUsers",
 | |
|                 principalColumn: "Id");
 | |
|         }
 | |
| 
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropForeignKey(
 | |
|                 name: "FK_Series_AspNetUsers_AppUserId",
 | |
|                 table: "Series");
 | |
| 
 | |
|             migrationBuilder.DropIndex(
 | |
|                 name: "IX_Series_AppUserId",
 | |
|                 table: "Series");
 | |
| 
 | |
|             migrationBuilder.DropColumn(
 | |
|                 name: "AppUserId",
 | |
|                 table: "Series");
 | |
|         }
 | |
|     }
 | |
| }
 |