aimmo

Tables (3)

Notice (게시글)

  • _id (Key) — ObjectId — Primary key — NOT NULL
  • title (Field) — String
  • description (Field2) — String
  • registerDate (Field3) — DateTime
  • like (Field4) — int
  • tags (Field6) — list
  • userId (Key2) — String — Foreign key → User._id — NOT NULL

User (회원)

  • _id (Key) — ObjectId — Primary key — NOT NULL
  • name (Field) — String
  • email (Field2) — String
  • passwd (Field3) — String
  • token (Field4) — String

notice_comment (댓글)

  • _id (Key) — ObjectId — Primary key — NOT NULL
  • description (Field) — String
  • registerDate (Field2) — DateTime
  • userId (Key2) — String — Foreign key → User._id — NOT NULL
  • noticeId (Key3) — String — Foreign key → Notice._id — NOT NULL