나
테이블 (8)
answer (Untitled2)
- memberId (Key2) — 기본 키 — NOT NULL
- surveyId (Key) — 외래 키 → survey.surveyId — NOT NULL
- answer1 (Field) — NOT NULL
- answer2 (Field2) — NOT NULL
- answer3 (Field3) — NOT NULL
- answer4 (Field4) — NOT NULL
liked (Untitled3)
- memberId (Key) — 기본 키 — NOT NULL
- surveyId (Key2) — 외래 키 → survey.surveyId — NOT NULL
member (Untitled4)
- memberId (Key) — 기본 키 — NOT NULL
survey (Untitled)
- surveyId (Key) — 기본 키 — NOT NULL
- subject (Field) — NOT NULL
- from (Field2) — NOT NULL
- to (Field3) — NOT NULL
- question1 (Field4) — NOT NULL
- question2 (Field5) — NOT NULL
- question3 (Field6) — NOT NULL
- question4 (Field7) — NOT NULL
- answerCnt (Field8) — NOT NULL
- likedCnt (Field9) — NOT NULL
사람 (person)
- 주민번호 (id) — NOT NULL — 기본 키 — NOT NULL
- 다니는 학교 (school_name) — NULL — 외래 키 → 학교.이름
- 직업 id (job_id) — NULL — 외래 키 → 직업.직업 id
- 집 주소 (address) — NOT NULL — NOT NULL
직업 (job)
- 직업 id (id) — NOT NULL — 기본 키 — NOT NULL
- 직업 이름 (name) — NOT NULL
학교 (school)
- 이름 (name) — NOT NULL — 기본 키 — NOT NULL
- 위치 (address) — NOT NULL
활동 기록 (activityLog)
- id — 기본 키 — NOT NULL
- 사용자 ID (userId) — NOT NULL
- 활동 타입 (activityType) — NOT NULL — NOT NULL
- 활동 날짜 (activityDate) — NOT NULL
- 활동 시간 (activityDatetime) — NOT NULL
- 메모 (memo) — NOT NULL