feat(visibility): service_settings 기반 서비스 숨김 가드 + 레거시 서비스 시드

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 01:24:07 +09:00
parent 776985eca8
commit f6df890297
3 changed files with 44 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
-- 2026-06-11 리뉴얼: 레거시 서비스 숨김 토글 시드
-- service_settings: 신규 id 추가 (이미 있으면 무시) — 멱등
INSERT INTO service_settings (id, name, description, is_active, order_index)
VALUES
('saju', 'AI 사주 분석', '사주 입력 및 AI 해석 (레거시)', false, 101),
('music', 'AI 음악 팩', '음악 가이드 패키지·샘플·스튜디오', false, 102),
('gyeol', 'CONTOUR 설문', '/gyeol PMF 설문', false, 103),
('packages', 'SaaS 제품 허브(구)', '구 /packages 페이지', false, 104),
('lotto', '로또 추천', '로또 번호 추천 노출', false, 105)
ON CONFLICT (id) DO NOTHING;