# 20260428184727_InitialPostgres.Designer

- File ID: file:yngxn0:20260428184727-initialpostgres-designer-cs
- Path: NexusReader.Data/Migrations/20260428184727_InitialPostgres.Designer.cs
- Role: database-config
- Layer: data

## Purpose

EF Core auto-generated migration designer for the InitialPostgres migration; describes the target model (tables, columns, keys, indexes, relationships, and provider annotations) for applying the schema to a Postgres database.

## Key Details

Auto-generated EF Core designer file for an initial Postgres migration; defines schema shape (tables, columns, indexes, PKs, FKs, cascade deletes) and uses Npgsql provider identity extensions. Not an application runtime entrypoint; used by EF migrations to create/update database schema.

## Symbols

- InitialPostgres: EF Core auto-generated migration designer for the InitialPostgres migration; describes the target model (tables, columns, keys, indexes, relationships, and provider annotations) for applying the schema to a Postgres database.
- BuildTargetModel(): Constructs the EF Core model for the InitialPostgres migration (annotations, entities, properties, keys, indexes, relationships, and navigations).
- InitialPostgres: Partial EF Core Migration class representing the InitialPostgres migration; contains BuildTargetModel to describe the schema.

## Dependencies

- imports NexusReader.Data/Persistence/AppDbContext.cs
- imports NexusReader.Domain/Entities/Ebook.cs
- imports NexusReader.Domain/Entities/NexusUser.cs
- imports NexusReader.Domain/Entities/SemanticKnowledgeCache.cs

## Calls

- No resolved calls.

## Coverage

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

## Control Flow Fragments

- BuildTargetModel: 17 nodes, 16 edges, 0 jumps, 0 unsupported constructs

## Diagrams

### 20260428184727_InitialPostgres.Designer Neighborhood

```mermaid
flowchart LR
    class_1a6v1w9_initialpostgres("InitialPostgres")
    file_yngxn0_20260428184727_initialpostgres_designer_cs("20260428184727_InitialPostgres.Designer")
    method_4nawp0_buildtargetmodel[["BuildTargetModel()"]]
    file_1d4ycw2_semanticknowledgecache_cs[/"SemanticKnowledgeCache"/]
    file_1pacvtg_appdbcontext_cs[/"AppDbContext"/]
    file_lcvwj6_ebook_cs[/"Ebook"/]
    file_xcxh5w_nexususer_cs[/"NexusUser"/]
    type_1wumbre_initialpostgres[/"InitialPostgres"/]
    file_yngxn0_20260428184727_initialpostgres_designer_cs -->|SemanticKnowledgeCache| file_1d4ycw2_semanticknowledgecache_cs
    file_yngxn0_20260428184727_initialpostgres_designer_cs -->|AppDbContext| file_1pacvtg_appdbcontext_cs
    file_yngxn0_20260428184727_initialpostgres_designer_cs -->|Ebook| file_lcvwj6_ebook_cs
    file_yngxn0_20260428184727_initialpostgres_designer_cs -->|NexusUser| file_xcxh5w_nexususer_cs
```

### 20260428184727_InitialPostgres.Designer Execution Overview

```mermaid
flowchart TD
    class_1a6v1w9_initialpostgres("InitialPostgres")
    method_4nawp0_buildtargetmodel[["BuildTargetModel()"]]
    class_1a6v1w9_initialpostgres -->|contains| method_4nawp0_buildtargetmodel
```

## Diagram Validation

- Status: pass
