# 20260510161155_AddEbookProgressAndChapter

- File ID: file:1orks5g:20260510161155-addebookprogressandchapter-cs
- Path: NexusReader.Data/Migrations/20260510161155_AddEbookProgressAndChapter.cs
- Role: database-config
- Layer: data

## Purpose

EF Core migration that adds two columns (LastChapter, Progress) to the Ebooks table and provides a Down method to remove them.

## Key Details

Adds a nullable string LastChapter (max 255) and a non-nullable double Progress with default 0.0 to the Ebooks table; Down removes both columns.

## Symbols

- AddEbookProgressAndChapter: EF Core migration that adds two columns (LastChapter, Progress) to the Ebooks table and provides a Down method to remove them.
- Up(): Applies schema changes: adds LastChapter (string) and Progress (double) columns to the Ebooks table.
- Down(): Reverts schema changes applied in Up by dropping LastChapter and Progress columns from the Ebooks table.

## Dependencies

- No resolved dependencies.

## Calls

- No resolved calls.

## Coverage

- Symbols: 3
- Executable symbols: 2
- Executable symbols with control flow: 2
- Grounded edges: 3
- Unresolved references: 0
- Control-flow fragments: 2
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 2
- Generated diagrams: 2

## Control Flow Fragments

- Up: 4 nodes, 3 edges, 0 jumps, 0 unsupported constructs
- Down: 4 nodes, 3 edges, 0 jumps, 0 unsupported constructs

## Diagrams

### 20260510161155_AddEbookProgressAndChapter Neighborhood

```mermaid
flowchart LR
    class_kshwxo_addebookprogressandchapter("AddEbookProgressAndChapter")
    file_1orks5g_20260510161155_addebookprogressandchapter_cs("20260510161155_AddEbookProgressAndChapter")
    method_1cxxeft_up[["Up()"]]
    method_xctw2t_down[["Down()"]]
```

### 20260510161155_AddEbookProgressAndChapter Execution Overview

```mermaid
flowchart TD
    class_kshwxo_addebookprogressandchapter("AddEbookProgressAndChapter")
    method_1cxxeft_up[["Up()"]]
    method_xctw2t_down[["Down()"]]
    class_kshwxo_addebookprogressandchapter -->|contains| method_1cxxeft_up
    class_kshwxo_addebookprogressandchapter -->|contains| method_xctw2t_down
```

## Diagram Validation

- Status: pass
