php
Tables (6)
comment (댓글)
- comment_id (PK) — Bigint — Primary key — NOT NULL
- user_Id (FK) — Bigint — Foreign key → user.user_Id — NOT NULL
- comment (댓글) — varchar(200)
- create_at (댓글 작성 시간) — date — NOT NULL
- update_at (댓글 수정 시간) — date — NOT NULL
favorites (즐겨찾기)
- add_Id (PK) — Bigint — Primary key — NOT NULL
- result_id (FK) — Bigint — Foreign key → result.result_id — NOT NULL
- user_Id (FK2) — Bigint — Foreign key → result.user_Id — NOT NULL
- create_at (즐겨찾기 추가) — date — NOT NULL
- update_at (즐겨찾기 수정) — date — NOT NULL
notice (게시판)
- notice_id (PK) — Bigint — Primary key — NOT NULL
- user_Id (FK) — Bigint — Foreign key → user.user_Id — NOT NULL
- title (제목) — varchar(30) — NOT NULL
- context (내용) — varchar(200) — NOT NULL
- create_at (글 생성 로그) — date — NOT NULL
- update_at (글 업데이트 로그) — date — NOT NULL
qna (질의응답)
- qna_id (PK) — Bigint — Primary key — NOT NULL
- user_Id (FK) — Bigint — Foreign key → user.user_Id — NOT NULL
- title (제목) — varchar(20) — NOT NULL
- context (내용) — varchar(600) — NOT NULL
- create_at (계정 생성 로그) — date — NOT NULL
- update_at (비밀번호 수정 로그) — date — NOT NULL
result (결과)
- result_id (PK) — Bigint — Primary key — NOT NULL
- user_Id (FK) — Bigint — Foreign key → user.user_Id — NOT NULL
- title (칵테일 이름) — varchar(30) — NOT NULL
- recipe (레시피) — varchar(200) — NOT NULL
- create_at (결과 출력 로그) — date — NOT NULL
user (사용자)
- user_Id (PK) — Bigint — Primary key — NOT NULL
- name (이름) — varchar(30) — NOT NULL
- email (이메일) — varchar(50) — NOT NULL
- password (비밀번호) — varchar(30) — NOT NULL
- create_at (계정 생성 로그) — date — NOT NULL
- update_at (비밀번호 수정 로그) — date — NOT NULL