likelionblog
Tables (4)
Comment (댓글)
- Comment_id (Key) — Primary key — NOT NULL
- created_at (생성날짜)
- content (내용)
- Post_id (Key2) — Foreign key → Post.Post_id — NOT NULL
- User_id (유저아이디) — Foreign key → User.User_id — NOT NULL
Post (게시물)
- Post_id (Key) — Primary key — NOT NULL
- created_at (Field)
- title (Field2)
- content (Field3)
- User_id (유저아이디) — Foreign key → User.User_id — NOT NULL
User (유저)
- User_id (유저아이디) — Primary key — NOT NULL
- name (Field)
- email (Field2)
UserProfile (유저프로필)
- UserProfile_id (Key) — Primary key — NOT NULL
- User_id (유저아이디) — Foreign key → User.User_id — NOT NULL