-- 006_journey_active_uniqueness

CREATE UNIQUE INDEX IF NOT EXISTS idx_user_journeys_single_active
  ON user_journeys(user_id)
  WHERE status = 'active';
