ps
Tables (5)
tbl_board (채용글)
- id (아이디) — PK, AI — Primary key — NOT NULL
- user_id (유저 아이디) — PK, AI — Foreign key → tbl_user.id — NOT NULL
- title (제목) — NOT NULL
- period (기간) — NOT NULL
- note (참고사항)
- type (글 타입) — NOT NULL
- money (금액) — NOT NULL
- area (지역) — NOT NULL
- date (날짜) — NOT NULL
tbl_care_log (케어일지)
- id (아이디) — PK, AI — Primary key — NOT NULL
- date (날짜) — NOT NULL
- content (내용) — NOT NULL
tbl_pet (반려동물)
- id (아이디) — PK, AI — Primary key — NOT NULL
- user_id (유저 아이디) — PK, AI — Foreign key → tbl_user.id — NOT NULL
- name (이름) — NOT NULL
- gender (성별) — NOT NULL
- age (나이) — NOT NULL
- tendency (성향) — NOT NULL
tbl_photo (사진)
- id (아이디) — PK, AI — Primary key — NOT NULL
- photo (사진) — NOT NULL
- type (사진 타입) — NOT NULL
- board_id (채용글 아이디) — PK, AI — Foreign key → tbl_board.id — NOT NULL
- care_log_id (케어일지 아이디) — PK, AI — Foreign key → tbl_care_log.id — NOT NULL
tbl_user (유저)
- id (아이디) — PK, AI — Primary key — NOT NULL
- name (이름) — NOT NULL
- phone (전화번호) — NOT NULL
- account_id (사용자 아이디) — NOT NULL
- password (비밀번호) — NOT NULL