-- V13 시드의 화면 관련 값 두 가지가 실제 화면과 달랐다. Phase 2에서 화면이 코드테이블을 -- 보게 되면 색과 표시명이 조용히 바뀌므로, 지금 값으로 맞춘다. -- -- V13을 직접 고치지 않는 이유: 이미 적용된 마이그레이션을 수정하면 체크섬이 어긋나 -- 다음 기동이 실패한다. 앞으로 나아가는 수정본을 따로 둔다. -- -- 발견 경위: 시드를 넣고 나서 화면 소스의 색 정의와 대조해 보니 어긋나 있었다. -- 시드를 쓸 때 화면을 안 보고 의미만으로 색을 골랐던 것이 원인이다. -- (1) 업무구간 색. 기준은 Dashboard.tsx의 GROUP_COLOR(칸반 컬럼 색 띠)다. -- assign은 indigo, check는 emerald, closing은 violet이 맞다. -- cardBody 속성은 뺀다 - 칸반 카드 본문은 구간이 아니라 단계 번호로 갈리는 자리가 있어 -- (1단계는 신청일만, 2·3단계는 목록 건수) 화면 로직으로 두는 편이 정확하다. update code set attrs = '{"tone":"slate"}'::jsonb where group_id = 'STAGE_GROUP' and code = 'intake'; update code set attrs = '{"tone":"indigo"}'::jsonb where group_id = 'STAGE_GROUP' and code = 'assign'; update code set attrs = '{"tone":"emerald"}'::jsonb where group_id = 'STAGE_GROUP' and code = 'check'; update code set attrs = '{"tone":"amber"}'::jsonb where group_id = 'STAGE_GROUP' and code = 'process'; update code set attrs = '{"tone":"violet"}'::jsonb where group_id = 'STAGE_GROUP' and code = 'closing'; update code_group set description = '칸반 컬럼 색을 결정한다' where group_id = 'STAGE_GROUP'; -- (2) 담당자 구분. MJ는 화면에 '문정원'으로 나오는데 시드에 '주관기관'을 넣었다. -- '주관기관'은 담당자 명부 엑셀에만 쓰이는 표기라 importAlias 자리로 간다. -- 뱃지 색 기준은 ContactsPage.tsx의 CATEGORY_BADGE_STYLES다. update code set label = '문정원' where group_id = 'CONTACT_CATEGORY' and code = 'MJ'; update code set attrs = attrs || '{"tone":"blue"}'::jsonb where group_id = 'CONTACT_CATEGORY' and code = 'APPLICANT'; update code set attrs = attrs || '{"tone":"emerald"}'::jsonb where group_id = 'CONTACT_CATEGORY' and code = 'MJ'; update code set attrs = attrs || '{"tone":"violet"}'::jsonb where group_id = 'CONTACT_CATEGORY' and code = 'LAWYER'; update code set attrs = attrs || '{"tone":"sky"}'::jsonb where group_id = 'CONTACT_CATEGORY' and code = 'OPERATOR'; update code set attrs = attrs || '{"tone":"orange"}'::jsonb where group_id = 'CONTACT_CATEGORY' and code = 'ITN';