From 120a05347b1f9f7ec8e753c8e69d8188de13273f Mon Sep 17 00:00:00 2001 From: janpeter visser Date: Fri, 1 May 2026 11:55:01 +0200 Subject: [PATCH] feat: add pushed_at field to ClaudeJob schema Nullable DateTime column to record when the agent's feature branch was pushed to origin. Enables the UI to show a 'pushed' state independently of DONE status. Co-Authored-By: Claude Sonnet 4.6 --- .../20260501095454_add_claude_job_pushed_at/migration.sql | 2 ++ prisma/schema.prisma | 1 + 2 files changed, 3 insertions(+) create mode 100644 prisma/migrations/20260501095454_add_claude_job_pushed_at/migration.sql diff --git a/prisma/migrations/20260501095454_add_claude_job_pushed_at/migration.sql b/prisma/migrations/20260501095454_add_claude_job_pushed_at/migration.sql new file mode 100644 index 0000000..bdd6000 --- /dev/null +++ b/prisma/migrations/20260501095454_add_claude_job_pushed_at/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "claude_jobs" ADD COLUMN "pushed_at" TIMESTAMP(3); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 898b87e..751bccb 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -260,6 +260,7 @@ model ClaudeJob { claimed_at DateTime? started_at DateTime? finished_at DateTime? + pushed_at DateTime? plan_snapshot String? branch String? summary String?