Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (pull_request) Successful in 27s
PR Gates / Docs update reminder (pull_request) Successful in 38s
PR Gates / CI image pin matches docker/ci (pull_request) Successful in 34s
PR Gates / decisions lifecycle (pull_request) Failing after 43s
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (pull_request) Successful in 14m55s
Build ErsatzTV Image / Functional E2E (curl contracts) (pull_request) Successful in 18m23s
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 22m58s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 23m49s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
The rebase onto origin/main (which merged #74's ChannelGraphicsElement migration) left the PadToNearestMinute migration's embedded Designer.cs model snapshot stale — it still reflected the pre-#74 model, so EF's diff against it produced an empty Up()/Down() when naively regenerated. Reset TvContextModelSnapshot.cs to origin/main's true post-#74 state, then re-ran scripts/add-migration.sh so the migration's Designer.cs correctly folds in ChannelGraphicsElement and the migration's Up() adds only the PadToNearestMinute column. Verified has-pending-model-changes is clean for both providers. OpenAPI (v1.json/v1.d.ts/endpoint-index.md) and docs/decisions/README.md regenerated identically to the auto-merged state, so nothing to commit there — confirmed both padToNearestMinute and #74's graphics-elements endpoints/decision key are present. Stripped a UTF-8 BOM this dotnet-ef/dotnet-format toolchain wrote into the regenerated migration + snapshot files (known BOM trap, ersatztv#311). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
29 lines
797 B
C#
29 lines
797 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class Add_ProgramSchedule_PadToNearestMinute : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "PadToNearestMinute",
|
|
table: "ProgramSchedule",
|
|
type: "INTEGER",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "PadToNearestMinute",
|
|
table: "ProgramSchedule");
|
|
}
|
|
}
|
|
}
|