필드명 | 이름 | 타입 | not null |
---|---|---|---|
user_id | 아이디 | BIGINT (PK) | not null |
password | 비밀번호 | TEXT | not null |
user_name | 이름 | VARCHAR(8) | not null |
birth | 생년월일 | DATE | not null |
user_gender | 성별 | VARCHAR(1) | not null |
user_phone | 연락처 | VARCHAR(13) | not null |
이메일 | VARCHAR(50) | not null | |
trust_score | 신뢰점수 (온도) | INTEGER | not null |
nickname | 닉네임 | VARCHAR(50) | null |
profile_image | 프로필 이미지 | IMAGE | null |
created_at | 생성일 | TIMESTAMP DEFAULT now() | not null |
social_id | 소셜 로그인 ID | VARCHAR(50) | null |
verified | 본인 인증 여부 | BOOLEAN DEFAULT FALSE | not null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
travel_id | 여행 모집 ID | BIGINT (PK) | not null |
title | 모집 제목 | VARCHAR(100) | not null |
city | 여행 도시 | VARCHAR(50) | not null |
explanation | 모집 설명 | TEXT | not null |
start_date | 여행 시작 날짜 | DATE | not null |
end_date | 여행 종료 날짜 | DATE | not null |
created_by | 작성자 (FK) | BIGINT (FK → User.user_id) | not null |
created_at | 생성일 | TIMESTAMP DEFAULT now() | not null |
updated_at | 수정일 | TIMESTAMP DEFAULT now() | not null |
max_member | 참여 최대 인원 | INTEGER | not null |
tags | 태그 | text | null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
id | 참가 ID | BIGINT (PK) | not null |
travel_id | 여행 모집 ID (FK) | BIGINT (FK → Travel_Group.travel_id) | not null |
user_id | 참가자 ID (FK) | BIGINT (FK → User.user_id) | not null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
history_id | 여행 기록 ID | BIGINT (PK) | not null |
user_id | 사용자 ID (FK) | BIGINT (FK → User.user_id) | not null |
trip_title | 여행 제목 | VARCHAR(100) | not null |
start_date | 여행 시작 날짜 | DATE | not null |
end_date | 여행 종료 날짜 | DATE | not null |
is_public | 공개 여부 | BOOLEAN DEFAULT TRUE | not null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
meeting_id | 번개 모임 ID | BIGINT (PK) | not null |
title | 모임 제목 | VARCHAR(100) | not null |
city | 모임 장소 도시 | VARCHAR(50) | not null |
latitude | 위도 | DECIMAL(10,6) | not null |
longtitude | 경도 | DECIMAL(10,6) | not null |
date_time | 모임 일시 | TIMESTAMP | not null |
max_people | 최대 참가 인원 | INTEGER | not null |
explanation | 번개 내용 | TEXT | not null |
tags | 태그 | TEXT | not null |
created_by | 작성자 (FK) | BIGINT (FK → User.user_id) | not null |
created_at | 생성일 | TIMESTAMP DEFAULT now() | not null |
updated_at | 수정일 | TIMESTAMP DEFAULT now() | not null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
meeting_id | 번개 모임 ID | BIGINT (PK) | not null |
title | 모임 제목 | VARCHAR(100) | not null |
city | 모임 장소 도시 | VARCHAR(50) | not null |
latitude | 위도 | DECIMAL(10,6) | not null |
longtitude | 경도 | DECIMAL(10,6) | not null |
date_time | 모임 일시 | TIMESTAMP | not null |
max_people | 최대 참가 인원 | INTEGER | not null |
explanation | 번개 내용 | TEXT | not null |
tags | 태그 | TEXT | not null |
created_by | 작성자 (FK) | BIGINT (FK → User.user_id) | not null |
created_at | 생성일 | TIMESTAMP DEFAULT now() | not null |
updated_at | 수정일 | TIMESTAMP DEFAULT now() | not null |
필드명 | 이름 | 타입 | not null |
---|---|---|---|
id | 참가 ID | BIGINT (PK) | not null |
flash_id | 여행 모집 ID (FK) | BIGINT (FK→ Flash_Meeting.meeting_id) | not null |
user_id | 참가자 ID (FK) | BIGINT (FK → User.user_id) | not null |