[
  {
    "id": "class:1jh8uof:fixknowledgeunitebookid",
    "kind": "class",
    "fileId": "file:1r47ykv:20260513183726-fixknowledgeunitebookid-cs",
    "path": "NexusReader.Data/Persistence/Migrations/20260513183726_FixKnowledgeUnitEbookId.cs",
    "canonicalName": "FixKnowledgeUnitEbookId",
    "shortLabel": "FixKnowledgeUnitEbookId",
    "longLabel": "FixKnowledgeUnitEbookId",
    "purpose": "EF Core migration that replaces KnowledgeUnits.SourceId (string) with KnowledgeUnits.EbookId (Guid), adds index and FK to Ebooks, and provides the reverse Down migration."
  },
  {
    "id": "method:cdxwj:up",
    "kind": "method",
    "fileId": "file:1r47ykv:20260513183726-fixknowledgeunitebookid-cs",
    "path": "NexusReader.Data/Persistence/Migrations/20260513183726_FixKnowledgeUnitEbookId.cs",
    "line": 12,
    "canonicalName": "Up",
    "shortLabel": "Up()",
    "longLabel": "Up(migrationBuilder: MigrationBuilder) -> void",
    "signature": "(migrationBuilder: MigrationBuilder) -> void",
    "purpose": "Apply schema changes: remove SourceId column and index from KnowledgeUnits, add non-nullable EbookId Guid column with default, create index on EbookId, and add FK to Ebooks with cascade delete."
  },
  {
    "id": "method:1ste7vn:down",
    "kind": "method",
    "fileId": "file:1r47ykv:20260513183726-fixknowledgeunitebookid-cs",
    "path": "NexusReader.Data/Persistence/Migrations/20260513183726_FixKnowledgeUnitEbookId.cs",
    "line": 44,
    "canonicalName": "Down",
    "shortLabel": "Down()",
    "longLabel": "Down(migrationBuilder: MigrationBuilder) -> void",
    "signature": "(migrationBuilder: MigrationBuilder) -> void",
    "purpose": "Revert schema changes applied in Up: remove FK and index on EbookId, drop EbookId column, re-add SourceId string column with constraints and recreate its index."
  },
  {
    "id": "type:1a7gg4i:fixknowledgeunitebookid",
    "kind": "type",
    "fileId": "file:1r47ykv:20260513183726-fixknowledgeunitebookid-cs",
    "path": "NexusReader.Data/Persistence/Migrations/20260513183726_FixKnowledgeUnitEbookId.cs",
    "line": 9,
    "canonicalName": "FixKnowledgeUnitEbookId",
    "shortLabel": "FixKnowledgeUnitEbookId",
    "longLabel": "FixKnowledgeUnitEbookId (model)",
    "purpose": "EF Core Migration class that applies and reverts schema changes to replace SourceId with EbookId on KnowledgeUnits."
  }
]