refactor(db): migrate career profile aggregate
Transfer the canonical career profile, revision history, and six relational child collections to provider-aware migration ownership. Preserve legacy JSON, ordered child data, indexes, and cascade semantics.
This commit is contained in:
@@ -12,8 +12,8 @@ namespace JobTrackerApi.Models;
|
||||
// - ItemKey carries the stable item id from the StructuredCvProfile blob, so a row keeps its
|
||||
// identity across imports/edits and future CV variants can reference "this experience".
|
||||
// - SortOrder makes ordering explicit (the blob relied on array position).
|
||||
// - List fields persist as JSON string columns (plain TEXT — reconciler-friendly on both SQLite
|
||||
// and MySQL) exposed via [NotMapped] accessors. Children are replaced wholesale on save, so
|
||||
// - List fields persist as JSON string columns exposed via [NotMapped] accessors. Children are
|
||||
// replaced wholesale on save, so
|
||||
// fine-grained change tracking of the lists is not needed.
|
||||
|
||||
/// <summary>Base fields every CareerProfile child shares.</summary>
|
||||
|
||||
Reference in New Issue
Block a user