Link

Link Database

Tables (7)

community (자유게시판)

  • c_serial (자유게시글 시리얼번호) — auto_increment, PK — Primary key — NOT NULL
  • c_title (자유게시글 제목)
  • c_contents (자유게시글 내용)
  • f_count (연결된 파일 개수)
  • c_createdate (자유게시글 작성날짜)
  • c_modifydate (자유게시글 수정날짜)
  • c_deletedate (자유게시글 삭제날짜)
  • c_count (자유게시글 조회수)
  • c_subject (게시글 타겟 게시판) — FK
  • isbanned (자유게시글 강제삭제여부)
  • u_id (자유게시글 작성 계정명) — Foreign key → user.u_id — NOT NULL
  • u_banned_id (자유게시글 강제삭제처리 계정명) — Foreign key → user.u_id — NOT NULL

communitycomments (자유게시판글댓글)

  • cc_serial (댓글 시리얼 넘버) — auto_increment, PK — Primary key — NOT NULL
  • cc_contents (댓글 내용)
  • cc_modifydate (댓글 수정 날짜)
  • cc_deletedate (댓글 삭제 날짜)
  • cc_createdate (댓글 작성 날짜)
  • issecret (비밀댓글 여부)
  • isbanned (댓글 강제삭제여부)
  • u_id (댓글 작성 계정명) — Foreign key → user.u_id — NOT NULL
  • c_serial (연결된 자유게시글 시리얼번호) — Foreign key → community.c_serial — NOT NULL
  • u_banned_id (댓글 강제삭제 처리 계정) — Foreign key → user.u_id — NOT NULL

communityfile (자유게시판 연결 파일)

  • f_code (파일 시리얼 넘버) — PK — Primary key — NOT NULL
  • f_size (파일 크기) — auto_increment, PK
  • f_createdate (파일 업로드 날짜)
  • f_originname (기존 파일명)
  • isdisconn (파일 삭제 여부)
  • f_disconndate (파일 삭제 날짜)
  • u_id (파일 업로드한 계정명) — Foreign key → user.u_id — NOT NULL
  • f_disconn_id (파일 연결을 끊은 계정명) — Foreign key → user.u_id — NOT NULL
  • c_serial (자유게시글 시리얼번호) — auto_increment, PK — Foreign key → community.c_serial — NOT NULL

noticement (공지사항게시판)

  • n_serial (공지사항 시리얼번호) — auto_increment, PK — Primary key — NOT NULL
  • n_title (공지글 제목)
  • n_contents (공지 내용)
  • f_count (연결된 파일 개수)
  • n_createdate (공지글 작성날짜)
  • n_modifydate (공지글 수정날짜)
  • n_deletedate (공지글 삭제날짜)
  • n_count (공지글 조회수)
  • u_midified_id (공지글 수정 계정명) — Foreign key → user.u_id — NOT NULL
  • u_id (공지글 게시자 계정명) — Foreign key → user.u_id — NOT NULL

noticementfile (공지사항 게시판 파일)

  • f_code (파일 시리얼 넘버) — PK — Primary key — NOT NULL
  • f_size (파일 크기) — auto_increment, PK
  • f_createdate (파일 업로드 날짜)
  • f_originname (기존 파일명)
  • isdisconn (파일 삭제 여부)
  • f_disconndate (파일 삭제 날짜)
  • u_id (파일 업로드한 계정명) — Foreign key → user.u_id — NOT NULL
  • n_serial (연결된 공지사항 시리얼 번호) — Foreign key → noticement.n_serial — NOT NULL
  • f_disconn_id (파일 연결을 끊은 계정명) — Foreign key → user.u_id — NOT NULL

servicelevellog (서비스 접근 로그)

  • occurtime (발생시각) — Primary key — NOT NULL
  • ip_addr (접근 IP)
  • targetservice (접근한 URI)
  • resultstatus (성공/실패)
  • u_id (접근을 시도한 계정명) — Foreign key → user.u_id — NOT NULL

user (계정 정보 테이블)

  • u_id (계정명) — PK — Primary key — NOT NULL
  • u_pw (비밀번호)
  • u_name (사용자 이름)
  • u_phone (사용자 전화번호) — unique
  • u_email (이메일주소) — unique
  • u_level (계정레벨)
  • u_indate (가입날짜)
  • u_outdate (탈퇴날짜)
  • u_kickeddate (유저 강퇴날짜)
  • u_banned_id (유저 강퇴처리한 계정명) — Foreign key → user.u_id — NOT NULL