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 AddCoverLetterVersions : Migration
|
|
{
|
|
// Deliberately a no-op. Scaffolded against SQLite, so on MariaDB it would emit a TEXT
|
|
// CreatedAtUtc and a PRIMARY KEY without AUTO_INCREMENT, and the composite index over those
|
|
// columns would exceed MySQL's 3072-byte key limit.
|
|
//
|
|
// CoverLetterVersions is reconciler-owned and provisioned by StartupInitializationExtensions,
|
|
// which carries correct DDL per provider and guards the create on JobApplications existing.
|
|
// This migration exists only to keep the model snapshot in sync.
|
|
// docs/database/migrations.md.
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
}
|
|
}
|
|
}
|