Blood

Tables (6)

Comment

  • CommentId — Primary key — NOT NULL
  • UserId — Foreign key → User.UserId — NOT NULL
  • CommentNum
  • PostId
  • comment

Post (post)

  • PostId — Primary key — NOT NULL
  • UserId — Foreign key → User.UserId — NOT NULL
  • PostNum
  • Tag
  • post

User

  • UserId — Primary key — NOT NULL
  • UserPw
  • BloodType

donate

  • UserId — Foreign key → User.UserId — NOT NULL
  • DonateNum
  • day

notification

  • PostId — Foreign key → Post.PostId — NOT NULL
  • UserId — Foreign key → Post.UserId — NOT NULL

paper

  • PaperNum — Primary key — NOT NULL
  • UserId (UserId2) — Foreign key → User.UserId — NOT NULL
  • UserId