scheduler
테이블 (3)
댓글 (comment)
- id — bigint — 기본 키 — NOT NULL
- 일정 id (schedule_id) — bigint — 외래 키 → 일정.id — NOT NULL — auto increment
- 작성자 id (user_id) — bigint — 외래 키 → 사용자.id — NOT NULL — auto increment
- 내용 (contents) — varchar(100) — NOT NULL
- 생성일 (created_at) — timestamp
- 수정일 (updated_at) — timestamp
사용자 (user)
- id — bigint — 기본 키 — NOT NULL — auto increment
- 이름 (name) — varchar(10) — NOT NULL
- 이메일 (email) — varchar(30) — NOT NULL
- 비밀번호 (password) — varchar(255) — NOT NULL
- 등록일 (created_at) — timestamp — default current_timestamp
- 수정일 (updated_at) — timestamp
일정 (schedule)
- id — bigint — 기본 키 — NOT NULL — auto increment
- 작성자 id (user_id) — bigint — 외래 키 → 사용자.id — NOT NULL
- 제목 (title) — varchar(30) — NOT NULL
- 내용 (contents) — varchar(100)
- 생성일 (created_at) — timestamp
- 수정일 (updated_at) — timestamp