Files
jobtrackingapp/JobTrackerApi/Migrations/20260717222917_AddCareerProfileRelationalChildren.cs
T
cesnimda 90ca23de33 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.
2026-08-30 21:54:54 +02:00

29 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace JobTrackerApi.Migrations
{
/// <inheritdoc />
public partial class AddCareerProfileRelationalChildren : Migration
{
// Deliberately a no-op. Scaffolded against SQLite, so on MariaDB it emitted an unbounded
// 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 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)
{
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}