{"path":"NexusReader.Data/Persistence/Migrations/20260514184243_AddDescriptionToEbook.cs","purpose":"EF Core migration that adds a nullable text Description column to the Ebooks table and can remove it on rollback.","classification":{"role":"database-config","layer":"data","confidence":0.9,"evidence":["Class inherits Microsoft.EntityFrameworkCore.Migrations.Migration","Namespace NexusReader.Data.Persistence.Migrations and uses MigrationBuilder.AddColumn/DropColumn"]},"className":"AddDescriptionToEbook","methods":[{"name":"Up","line":11,"endLine":18,"signature":"(migrationBuilder: MigrationBuilder) -> void","purpose":"Apply schema change: add a nullable text 'Description' column to the 'Ebooks' table.","calls":[],"actions":[{"id":"persistence-write_13","kind":"mapping","label":"Add column 'Description' to 'Ebooks'","line":13,"detail":"migrationBuilder.AddColumn<string>(name: \"Description\", table: \"Ebooks\", type: \"text\", nullable: true)","visibility":"detail-only","confidence":0.7}]},{"name":"Down","line":21,"endLine":26,"signature":"(migrationBuilder: MigrationBuilder) -> void","purpose":"Revert schema change: remove the 'Description' column from the 'Ebooks' table.","calls":[],"actions":[{"id":"persistence-delete_23","kind":"mapping","label":"Drop column 'Description' from 'Ebooks'","line":23,"detail":"migrationBuilder.DropColumn(name: \"Description\", table: \"Ebooks\")","visibility":"detail-only","confidence":0.7}]}],"types":[{"name":"AddDescriptionToEbook","kind":"model","line":8,"purpose":"EF Core Migration class that encapsulates the schema change to add/remove the Description column on Ebooks.","fields":[{"name":"inherits","type":"Migration","required":true,"line":8,"description":"Extends Microsoft.EntityFrameworkCore.Migrations.Migration to provide Up/Down methods."}]}],"serviceRegistrations":[],"startupActions":[],"dependencies":[],"patterns":["Migration"],"domainConcepts":["Ebook"],"keyDetails":"Adds a nullable text column named 'Description' to the 'Ebooks' table in Up(); Down() drops that column.","orchestrationMethods":[],"typedContracts":[{"name":"AddDescriptionToEbook","kind":"model","line":8,"fieldCount":1,"evidencePaths":["NexusReader.Data/Persistence/Migrations/20260514184243_AddDescriptionToEbook.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"AddDescriptionToEbook","line":8,"summary":"model with 1 fields.","confidence":0.8,"evidencePaths":["NexusReader.Data/Persistence/Migrations/20260514184243_AddDescriptionToEbook.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"675677e1fadd7c40dfa74d84a22b9e3251044cb145c560c89e1e23c3a5e859c2","sourceByteSize":777,"analyzedAt":"2026-05-23T16:26:07.372Z","technology":"dotnet"}}