Safe-Scan
Tables (5)
Comment (댓글)
- comment_id (댓글 id) — Primary key — NOT NULL
- id (게시글 id) — Foreign key → Post.id — NOT NULL
- community_id (커뮤니티 카테고리 아이디) — Foreign key → Post.community_id — NOT NULL
- id (아이디2) — Foreign key → Post.id — NOT NULL
- content (댓글 내용) — Text
- is_deleted (삭제여부) — bool
Community (커뮤니티)
- id (아이디) — Long — Primary key — NOT NULL
- community_id (커뮤니티 카테고리 아이디) — Foreign key → Community Category.community_id — NOT NULL
- updated_At (업데이트여부) — 업데이트 트리거로 자동갱신
Community Category (커뮤니티 카테고리)
- community_id (커뮤니티 카테고리 아이디) — Primary key — NOT NULL
- Case_Briefing (사례공유) — Text
- Victim_Search (피해자 찾기) — Text
- Etc (기타) — Text
Post (포스트)
- id (게시글 id) — Primary key — NOT NULL
- user_id (유저 아이디) — Foreign key → Community.id — NOT NULL
- community_id (커뮤니티 카테고리 아이디) — Foreign key → Community.community_id — NOT NULL
- id (url 아이디) — Foreign key → url.id — NOT NULL
- Title (제목) — Varchar
- Content (내용) — Text
- post_photo (사진) — String
- is_deleted (삭제여부) — bool
- is_best (베스트여부) — bool
- Date (날짜시간) — LOCALDATE
- updated_at (수정날짜)
- created_at (생성일자)
url (링크)
- id (url 아이디) — Primary key — NOT NULL
- best_post (인기게시글) — Text
- count_url (url 조회수)
- nomalized_url (정규화된 url)
- created_at (생성일자)
- updated_at (수정날짜)
- risk_level (위험/안전 배지)