fbd6602814
---ci--- phase: 0 milestone: v0.1 status: complete ---/ci---
16 lines
837 B
SQL
16 lines
837 B
SQL
-- Migration 0002 — add debrief_text column to sessions (TASK-05-05).
|
|
-- The debrief_text column was already included in 0001_init.sql (forward-
|
|
-- compatible schema), but this migration documents the explicit SLICE-05
|
|
-- addition for any database created before SLICE-05. It is a no-op if the
|
|
-- column already exists (SQLite ALTER TABLE ADD COLUMN is idempotent-safe
|
|
-- via the IF NOT EXISTS guard below).
|
|
|
|
-- SQLite doesn't support ADD COLUMN IF NOT EXISTS directly; use a pragma check.
|
|
-- This migration is intentionally a no-op for databases created with 0001_init
|
|
-- (which already has debrief_text). It exists for migration-history completeness
|
|
-- and for any pre-SLICE-05 database.
|
|
|
|
-- No SQL needed — 0001_init.sql already includes:
|
|
-- debrief_text TEXT
|
|
-- in the sessions table. This migration is a marker only.
|
|
SELECT 1; |