Migration 0116 added these columns to draft_timers but was generated with an out-of-order timestamp and was never applied to the DB. Migration 0117 re-adds them with IF NOT EXISTS guards so the apply is safe regardless of the DB's current state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 lines
188 B
SQL
2 lines
188 B
SQL
ALTER TABLE "draft_timers" ADD COLUMN IF NOT EXISTS "picks_expires_at" timestamp;--> statement-breakpoint
|
|
ALTER TABLE "draft_timers" ADD COLUMN IF NOT EXISTS "picks_started_at" timestamp;
|