SpringAssignment01
Tables (3)
Comments (comments)
- Key (id) — INT — Primary key — NOT NULL — AUTO_INCREMENT
- content — VARCHAR(255) — NOT NULL
- created_at — DATETIME — NOT NULL
- schedule_id — BIGINT — Foreign key → Schedules.Key — NOT NULL — AUTO_INCREMENT
- user_id — BIGINT — Foreign key → Users.Key — NOT NULL — AUTO_INCREMENT
Schedules (schedules)
- Key (id) — BIGINT — Primary key — NOT NULL — AUTO_INCREMENT
- title — VARCHAR(255) — NOT NULL
- content — VARCHAR(255) — NOT NULL
- manager — VARCHAR(255) — NOT NULL
- pw — VARCHAR(255) — NOT NULL
- created_at — DATETIME
- Key (user_id) — BIGINT — Foreign key → Users.Key — NOT NULL — AUTO_INCREMENT
Users (users)
- Key (id) — BIGINT — Primary key — NOT NULL — AUTO_INCREMENT
- name — VARCHAR(255) — NOT NULL
- pw — VARCHAR(255) — NOT NULL
- nickname — VARCHAR(255) — NOT NULL
- authority — ENUM — NOT NULL
- created_at — DATETIME — NOT NULL