my-reference

Tables (3)

User (유저)

  • userEmail (유저 이메일) — Primary key — NOT NULL
  • userPassword (유저 비밀번호)
  • userNickname (유저 닉네임)

UserCategory (유저 카테고리)

  • categoryId (카테고리 아이디) — Primary key — NOT NULL
  • userEmail (유저 이메일) — Foreign key → User.userEmail — NOT NULL
  • categoryName (카테고리 이름) — NOT NULL
  • isFavorite (즐겨찾기인지?)

UserPosts (유저가 저장한 게시글)

  • postId (게시글 아이디) — Primary key — NOT NULL
  • categoryId (카테고리 아이디) — Foreign key → UserCategory.categoryId — NOT NULL
  • postLink (게시글 링크)
  • postLike (게시글 좋아요?)