2024 미림 취업 게시판
테이블 (3)
게시글 (posts)
- id — int — 기본 키 — NOT NULL
- 작성자 ID (writer_id) — int — 외래 키 → 사용자.id — NOT NULL
- 등록일 (created_date) — date — NOT NULL
- 본문 (content) — char — NOT NULL
- 종류 (type) — char — NOT NULL
사용자 (users)
- id — int — 기본 키 — NOT NULL
- 이메일 (email) — varchar — NOT NULL
- 이름 (name) — char — NOT NULL
- 학번 (student_number) — int
- 관리자임? (is_admin) — bool — NOT NULL
첨부파일 (files)
- id — int — 기본 키 — NOT NULL
- 게시글 id (posts_id) — int — 외래 키 → 게시글.id — NOT NULL
- 파일 url (url) — char — NOT NULL