Files

5 lines
348 B
SQL
Raw Permalink Normal View History

-- Phase 2 runtime: a playthrough walks the story graph. current_node_id is where
-- the player is; current_level_id (existing) is set while on a level node. The
-- slot-based fields remain for mysteries without a graph (fallback).
ALTER TABLE osint.playthroughs ADD COLUMN current_node_id UUID REFERENCES osint.story_nodes(id) ON DELETE SET NULL;