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:
@@ -11,9 +11,9 @@ namespace JobTrackerApi.Migrations
|
||||
// longtext OwnerUserId and then indexed (OwnerUserId, CareerProfileId, SortOrder) over it,
|
||||
// which exceeds MySQL's 3072-byte key limit — a clean MariaDB install died here.
|
||||
//
|
||||
// The six CareerProfile child tables are provisioned by the idempotent reconciler in
|
||||
// StartupInitializationExtensions, which carries correct DDL per provider. Existing databases
|
||||
// already have this migration recorded as applied, so emptying it changes nothing for them.
|
||||
// The six CareerProfile child tables were initially provisioned by the reconciler. Explicit
|
||||
// ownership moved to 20260830133000_AdoptCareerProfileSchema; this historical migration stays
|
||||
// recorded so existing chains remain compatible.
|
||||
// docs/infrastructure/database-ownership.md.
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
|
||||
Reference in New Issue
Block a user