개요
CreatePostDto / CreateSolutionInlineDto에 artist_id, group_id, brand_id(optional)를 추가하고, create_post_transaction에서 DB 컬럼에 반영합니다. JSON에서 키를 생략하면 None → NULL로 기존 이름만 넣는 클라이언트와 호환됩니다.
현황
public.posts / public.solutions nullable FK 컬럼은 이미 존재
- id 미전달 시 스케줄러·대시보드에서 후속 백필 가능
작업 항목
관련
개요
CreatePostDto/CreateSolutionInlineDto에artist_id,group_id,brand_id(optional)를 추가하고,create_post_transaction에서 DB 컬럼에 반영합니다. JSON에서 키를 생략하면None→ NULL로 기존 이름만 넣는 클라이언트와 호환됩니다.현황
public.posts/public.solutionsnullable FK 컬럼은 이미 존재작업 항목
create_post_transaction/CreateSolutionDto::into_active_model매핑dto_tests.inc및 solutions DTO 단위 테스트 보강cargo test --lib통과: reports 입력 DTO에Validate추가, OpenAPI에admin_update_post등록 (main 기준 아키 테스트 복구)관련