weavesignal/crates/model/migrations/0015_episode_kind.sql
The WeaveSignal contributors 466b32ab6a WeaveSignal 1.0.0 — release one
The first public release. What it does: https://weavesignal.top; what changed: CHANGELOG.md.
2026-11-04 12:15:42 +00:00

7 lines
426 B
SQL

-- SPDX-License-Identifier: AGPL-3.0-only
-- An episode is live or pre-recorded (ADR-0188, `scr-studios-kind` b). Every episode drafted
-- before this was live, and a new one is live until someone marks it otherwise. Studios, the
-- other half of that decision, wait for a station with several: no column for them.
ALTER TABLE episode
ADD COLUMN kind text NOT NULL DEFAULT 'live' CHECK (kind IN ('live', 'prerecorded'));