brackt/drizzle/0117_fix_picks_expires_at.sql
Chris Parsons 81bacf421d
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 2m34s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 1m18s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Add idempotent migration for picks_expires_at / picks_started_at columns
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>
2026-06-05 23:44:49 -07:00

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;