plowithme

Tables (7)

board (게시글)

  • post_id (고유키) — PK — Primary key — NOT NULL
  • user_id (유저 고유키) — FK — Foreign key → user.user_id — NOT NULL
  • update_date (게시글 수정 날짜)
  • create_date (게시글 생성 날짜) — NOT NULL
  • board_category (카테고리 인덱스)
  • contents (게시글 내용) — NOT NULL
  • post_hits (게시글 조회수)
  • title (게시글 제목)
  • writer_id (게시글 작성자 아이디)
  • imafe_path (업로드한 이미지 경로)
  • post_image (업로드한 이미지 이름)

calss_participant_table (모임 참여)

  • participant_id (고유키) — PK — Primary key — NOT NULL
  • class_id (플로깅 모임 고유키) — FK — Foreign key → class.class_id — NOT NULL
  • user_id (유저 고유키) — FK — Foreign key → class.user_id — NOT NULL
  • profile_image (모임 참여자 프로필 이미지)
  • user_nickname (유저 닉네임)
  • userId (유저 서버 내부 아이디)
  • meetingid (참여한 모임 아이디)

class (모임 정보)

  • class_id (고유키) — PK — Primary key — NOT NULL
  • user_id (유저 고유키) — FK — Foreign key → user.user_id — NOT NULL
  • description (플로깅 모임 설명)
  • distance (플로깅 구간 거리값)
  • end_date (플로깅 모임 종료 날짜)
  • end_region (플로깅 종료 장소)
  • maker_id (플로깅 모임 생성자 아이디)
  • maker_nickname (풀로깅 모임 생성자 닉네임)
  • maker_profile (플로깅 모임 생성자 프로필 이미지)
  • member_current (플로깅 모임 참여자 아이디)
  • member_max (플로깅 모임 최대 참여 가능 인원수)
  • notice (플로깅 모임 공지 내용)
  • start_region (플로깅 모임 출발 장소)
  • start_Date (플로깅 모임 출발 시간)
  • start_day (플로깅 모임 출발 날짜(일))
  • start_month (플로깅 모임 출발 날짜(월))
  • start_year (플로깅 모임 출발 날짜(연도))
  • status (플로깅 모임 상태값)
  • title (플로깅 모임 제목)
  • image_name (플로깅 모임 배경이미지)

class_notice_table (모임 공지)

  • notice_id (고유키) — PK — Primary key — NOT NULL
  • class_id (플로깅 모임 고유키) — FK — Foreign key → class.class_id — NOT NULL
  • user_id (유저 고유키) — FK — Foreign key → class.user_id — NOT NULL
  • notice (플로깅 모임 공지)

comment (댓글)

  • comment_id (고유키) — PK — Primary key — NOT NULL
  • post_id (게시글 고유키) — PK, FK — Foreign key → board.post_id — NOT NULL
  • writer (댓글 작성자 아이디) — FK — Foreign key → board.user_id — NOT NULL
  • update_date (댓글 수정 날짜)
  • create_date (댓글 생성 날짜)
  • contents (댓글 내용)

message (쪽지)

  • message_id (고유키) — PK — Primary key — NOT NULL
  • receiver_id (쪽지 수신자 아이디) — FK — Foreign key → user.user_id — NOT NULL
  • sender_id (쪽지 송신자 아이디) — FK
  • content (쪽지 내용)
  • create_date (쪽지 생성 날짜)
  • deleted_by_receiver (받은 쪽지 삭제)
  • deleted_by_sender (보낸 쪽지 삭제)

user (유저)

  • user_id (고유키) — PK — Primary key — NOT NULL
  • email (유저 이메일) — UNIQUE
  • birth (유저 생년월일)
  • class_count (모임 참여 횟수)
  • class_distance (총 참여한 플로깅한 거리)
  • create_date (회원 가입 날짜)
  • introduction (프로필 소개글)
  • name (유저 이름)
  • nickname (유저 닉네임)
  • password (유저 계정 비밀번호)
  • profile (유저 프로필 이미지)
  • adress (유저 주소 정보)
  • depth_1 (유저 지역 정보(도))
  • depth_2 (유저 지역 정보(구))
  • depth_3 (유저 지역 정보(동))