test22
Tables (3)
Comment (user)
- id — bigint — Primary key — NOT NULL
- Field (name) — varchar(100) — NOT NULL
- content (email) — varchar(100) — NOT NULL
- Field (password) — varchar(100) — NOT NULL
- created_at — datetime — NOT NULL
- updated_at — datetime — NOT NULL
Schedule (comment)
- id — bigint(20) — Primary key — NOT NULL
- id (schedule_id) — bigint — Foreign key → User.id — NOT NULL
- id (user_id) — bigint — Foreign key → Comment.id — NOT NULL
- content — text — NOT NULL
- created_at — datetime — NOT NULL
- updated_at — datetime — NOT NULL
User (schedule)
- id — bigint — Primary key — NOT NULL
- id (user_id) — bigint — Foreign key → Comment.id — NOT NULL
- name (title) — varchar(100) — NOT NULL
- email (content) — varchar(100) — NOT NULL
- created_at — datetime — NOT NULL
- updated_at — datetime — NOT NULL