feat: 영상 첨부 서버 — 게시글(자유·소식)·시설 후기·채팅 - #126
Merged
Merged
Conversation
- posts: 영상 100MB/사진 12MB 크기 CHECK 분리 + 영상은 free·news 만 (posts_video_category_check — 사진 인증 카테고리 제외), create_post_verified/ update_my_post 에 p_image_thumb_url(포스터) 추가(구 시그니처 drop), update 미디어 편집 허용 카테고리에 news 포함(비일관 정정) - chat_messages: 영상 100MB CHECK, 미리보기·알림 본문 [동영상] (insert 트리거·delete_my_chat_message) - facility_reviews: videos jsonb(최대 2, url 필수 검증) + add_facility_review 7인자(구 6인자 drop), 조회 RPC 2종 반환 컬럼 확장(drop 재생성) - share-view: 후기 영상 타일 poster+<video> 렌더(v11 배포) - pgTAP t14(12단언) — 전 스위트 운영 통과, 스냅샷 갱신 마이그레이션 운영 적용·기록 완료(media_video). 신규 인자 전부 default 라 배포된 구버전 앱 호환 유지. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
게시글(자유·소식)·시설 방문 후기·채팅방 영상 첨부의 서버측. 운영 적용·share-view v11 배포 완료.
표현 방식
image_url=영상,image_mime_type=video/*,image_thumbnail_url=포스터. 스키마 추가 없음videos jsonb[{url, thumb_url, ...}]최대 2개(사진 5장과 별도)불변식 (DB 강제)
posts_video_category_check) — 사진 인증 카테고리(산책·돌봄·분양)는 실존 검증이 사진 전제invalid_videos명시 거부 + CHECK)RPC (시그니처 변경 — 구버전 drop, 오버로드 섀도잉 방지)
create_post_verified+p_image_thumb_url/update_my_post+p_image_thumb_url, 미디어 편집 카테고리에 news 포함(기존엔 소식 이미지 편집 불가였던 비일관 정정)add_facility_review+p_videos/facility_reviews_of·facility_review_by_id반환에 videos채팅
[동영상](insert 트리거·delete_my_chat_message다음-미리보기 동일 처리)뷰어
<video controls playsinline>인라인 재생 (v11)테스트
t14(12단언): 카테고리 게이트·크기 상한 2종·발행/수정 포스터·채팅 미리보기·후기 검증 2종·저장·RPC 노출 — 전 스위트(t01~t14) 운영 DB 통과, 스냅샷 갱신🤖 Generated with Claude Code