Files
thamanyah/cms/internal/db/migrations/0004_add_videos_playback_url.up.sql
T
2026-08-27 21:30:56 +03:00

6 lines
369 B
SQL

-- Where the finished HLS playlist is served from, written by the job events
-- consumer when MediaConvert reports the job complete. Empty until then, and
-- for videos whose job failed — so it is DEFAULT '' rather than nullable: the
-- absence of a playback URL is "not ready yet", not "unknown".
ALTER TABLE videos ADD COLUMN playback_url TEXT NOT NULL DEFAULT '';