gathering

Tables (9)

comment

  • 댓글 번호 (comt_no) — int — Primary key — NOT NULL — Auto Increament
  • 댓글 내용 (comt_detail) — varchar(50) — NOT NULL
  • 계층 (comt_class) — int — NOT NULL — 대댓글 관리용 계층
  • 댓글 그룹 (comt_group) — int — NOT NULL — 댓글, 대댓글 묶기용
  • 댓글 생성일 (comt_date) — datetime — NOT NULL — 자동으로 생성
  • 게시글 번호 (post_no) — int — Foreign key → post.게시글 번호 — NOT NULL — Auto Increament
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament

external_act

  • 대외활동 번호 (ex_no) — int — Primary key — NOT NULL — Auto Increament
  • 대외활동 활동명 (ex_name) — varchar(50) — NOT NULL
  • 대외활동 링크 (ex_link) — varchar(50) — NOT NULL
  • 대외활동 주최 기관 (ex_host) — varchar(20)
  • 대외활동 시작일 (ex_start) — date
  • 대외활동 종료일 (ex_end) — date
  • 대외활동 삭제일 (ex_delete) — date — 삭제된 대외활동 보관 관리
  • 대외활동 출처 (ex_flag) — int — NOT NULL — 사이트 2개(대외1, 대외2) + 사용자 추가 int타입 flag로 구분

gather

  • 모집 번호 (gather_no) — int — Primary key — NOT NULL — Auto Increament
  • 역할 (gather_role) — varchar(20)
  • 현재 인원 (current_participants) — int — NOT NULL
  • 최대인원 (max_participants) — int — NOT NULL
  • 현재 상태 (status) — int — NOT NULL — 진행중, 마감됨으로 설정
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament
  • 게시글 번호 (post_no) — int — Foreign key → post.게시글 번호 — NOT NULL — Auto Increament

interest (Untitled3)

  • 관심 번호 (interest_id) — Primary key — NOT NULL — Auto Increament
  • 관심 분야 (interest_name) — NOT NULL

notification (Untitled2)

  • 알람번호 (notification_id) — int — Primary key — NOT NULL — Auto Increament
  • 알람 메시지 (message) — varchar(100) — NOT NULL
  • 읽음 유무 (is_read) — boolean — NOT NULL
  • 알람 생성일 (notificate_date) — date — NOT NULL
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament

post

  • 게시글 번호 (post_no) — int — Primary key — NOT NULL — Auto Increament
  • 게시글 제목 (post_name) — varchar(30) — NOT NULL
  • 현재 인원 (post_member) — int — NOT NULL
  • 최대 인원 (post_maxMem) — int
  • 게시글 설명 (post_detail) — text — NOT NULL
  • 모집 설명 (post_gather) — text — NOT NULL
  • 대외활동 이미지 (post_img) — varchar(50)
  • 게시글 생성일 (post_date) — datetime — NOT NULL — 자동으로 생성
  • 완료여부 (post_complete) — bool
  • 완료일 (post_endDate) — datetime
  • 게시물 삭제일 (post_deleteDate) — date — 삭제된 게시물 보관 관리
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament
  • 대외활동 번호 (ex_no) — int — Foreign key → external_act.대외활동 번호 — NOT NULL — Auto Increament

search_hisroty (Untitled)

  • 검색번호 (search_no) — int — Primary key — NOT NULL — Auto Increament
  • 검색어 (search_term) — varchar(100) — NOT NULL
  • 검색 시간 (search_date) — date — NOT NULL
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament

user

  • 회원 번호 (user_no) — int — Primary key — NOT NULL — Auto Increament
  • 회원 id (user_id) — varchar(20) — NOT NULL
  • 회원 pw (user_pw) — varchar(100) — NOT NULL
  • 닉네임 (user_name) — varchar(20) — NOT NULL
  • 자기소개 (user_description) — text
  • 로그인타입 (user_type) — int — NOT NULL — 유저 그냥, 카카오, 구글, 네이버 등 로그인 타입 설정

user_interest (Untitled4)

  • 관심 번호 (interest_id) — Foreign key → interest.관심 번호 — NOT NULL — Auto Increament
  • 회원 번호 (user_no) — int — Foreign key → user.회원 번호 — NOT NULL — Auto Increament