90ca23de33
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.
29 lines
1.0 KiB
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|