using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace JobTrackerApi.Migrations { /// 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 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. // docs/infrastructure/database-ownership.md. /// protected override void Up(MigrationBuilder migrationBuilder) { } /// protected override void Down(MigrationBuilder migrationBuilder) { } } }