서평게시판project

테이블 (9)

comment (Untitled6)

  • commentId (Key) — 기본 키 — NOT NULL
  • postid (Key2) — 외래 키 → post.postid — NOT NULL

image (Untitled5)

  • imageId (Key) — 기본 키 — NOT NULL
  • postid (Key2) — 외래 키 → post.postid — NOT NULL

permission (Untitled3)

  • permissionId (Key) — 기본 키 — NOT NULL

post (게시물)

  • postid (Key) — 기본 키 — NOT NULL
  • postType (Field)
  • userId (Key2) — 외래 키 → user.userId — NOT NULL
  • postTypeId (Key3) — 외래 키 → postType.postTypeId — NOT NULL

postType (게시판 종류)

  • postTypeId (Key) — 기본 키 — NOT NULL
  • typeName (Field)

post_category (카테고리)

  • categoryId (Key) — 기본 키 — NOT NULL
  • postTypeId (Key2) — 외래 키 → postType.postTypeId — NOT NULL

role (Untitled2)

  • roleId (Key) — 기본 키 — NOT NULL
  • role_name (Field)
  • userId (Key2) — 외래 키 → user.userId — NOT NULL

thumbs (Untitled4)

    user (Untitled)

    • userId (Key) — 기본 키 — NOT NULL
    • roleId (Field)