초안
테이블 (5)
Comment (방명록)
- 댓글ID (comment_id) — PK — 기본 키 — NOT NULL
- 전시ID (exhibition_id) — FK — 외래 키 → Exhibition.전시ID — NOT NULL
- 유저ID (member_id) — FK — 외래 키 → Exhibition.유저ID — NOT NULL
- 댓글내용 (contents) — not null
- 생성일시 (created_at) — not null
- 수정일시 (updated_at) — not null
- 삭제여부 (is_deleted) — not null
Exhibition (전시 (앨범))
- 전시ID (exhibition_id) — PK — 기본 키 — NOT NULL
- 유저ID (member_id) — FK — 외래 키 → Member.유저ID — NOT NULL
- 전시제목 (title) — not null
- 작가명(닉네임) (author_name) — not null
- 작가의말 (intro_text) — not null
- 고유URL (url__slug) — UK
- 전시상태 (status) — not null
- 공유용이미지 (og_image__url) — not null
- 생성일시 (created_at) — not null
- 수정일시 (updated_at) — not null
- 삭제여부 (is_deleted) — null
Member (회원 관리)
- 유저ID (member_id) — PK — 기본 키 — NOT NULL
- 아이디 (login_id) — UK
- 비밀번호 (password) — not null
- 닉네임 (nickname) — not null
- 생성날짜 (created_at) — not null
- 수정날짜 (updated_at) — not null
- 삭제여부 (is_deleted) — nuill
Photo (사진)
- 사진ID (photo_id) — PK — 기본 키 — NOT NULL
- 전시ID (exhibition_id) — FK — 외래 키 → Exhibition.전시ID — NOT NULL
- 유저ID (member_id) — FK — 외래 키 → Exhibition.유저ID — NOT NULL
- 이미지URL (image_url) — not null
- 촬영기기 (device_type) — not null
- 촬영장소 (location) — not null
- 사진설명 (caption) — not null
- 전시내순서 (order_num) — not null
- 업로드일시 (created_at) — not null
PhotoEdit (사진 보정)
- 보정ID (photo_edit_id) — PK — 기본 키 — NOT NULL
- 사진ID (photo_id) — FK — 외래 키 → Photo.사진ID — NOT NULL
- 전시ID (exhibition_id) — FK — 외래 키 → Photo.전시ID — NOT NULL
- 유저ID (member_id) — FK — 외래 키 → Photo.유저ID — NOT NULL
- 필터종류 (filter_types) — not null
- 밝기 (brightness) — null
- 대비 (contrasti) — null
- 생성일시 (created_at) — not null