게시판 기능 만들기
테이블 (3)
Untitled (Posts)
- Key — 기본 키 — NOT NULL
- Key (user_id) — int — 외래 키 → Users.Key — NOT NULL
- Field — String
- Field2 (created_at) — Date
Untitled (Liker_of_posts)
- Key — 기본 키 — NOT NULL
- Key (users_id) — integer — 외래 키 → Users.Key — NOT NULL
- Key (posts_id) — integer — 외래 키 → Untitled.Key — NOT NULL
Users
- Key (id) — 기본 키 — NOT NULL
- Field (username) — String
- Field3 (email) — String
- password — String
- Field (email_agree) — Boolean