team1

Tables (15)

admins (관리자 계정 정보)

    boards (게시판 글)

      card_list (카드 정보)

        chat_closures (채팅 종료 정보)

          chat_messages (채팅방대화)

          • 대화 고유번호 (message_idx) — not null — Primary key — NOT NULL
          • 유저 고유번호 (user_idx) — not null — Foreign key → users.유저 고유번호 — NOT NULL
          • 방 고유번호 (room_idx) — not null — Foreign key → chat_rooms.방 고유번호 — NOT NULL
          • 대화내용 (message_text) — not null

          chat_rooms (채팅방)

          • 방 고유번호 (room_idx) — not null — Primary key — NOT NULL
          • 주제 (topic) — not null
          • 마감 시간 (end_time) — not null

          comments (게시판 댓글)

            events (이벤트 정보)

              hobbies (취미차트)

              • 취미 고유번호 (hobby_id) — not null — Primary key — NOT NULL
              • 취미 이름 (hobby_name) — not null

              points (포인트)

              • 유저 고유번호 (user_idx) — not null — Foreign key → users.유저 고유번호 — NOT NULL
              • 포인트 (point) — not null
              • 돋보기 (Reading glass) — not null
              • 장작 (firewood) — not null

              reports (사용자 신고 시스템)

                user_hobbies (사용자의 취미 정보)

                • 유저 고유번호 (user_idx) — not null — Foreign key → user_profiles.유저 고유번호 — NOT NULL
                • 취미 고유번호 (hobby_id) — not null — Foreign key → hobbies.취미 고유번호 — NOT NULL

                user_photos (사용자 사진 정보)

                • 사진 고유번호 (photo_id) — not null — Primary key — NOT NULL
                • 카드 정보 이름 (card_name) — not null
                • 설명문 (description) — not null

                user_profiles (사용자의 상세 프로필)

                • 유저 고유번호 (user_idx) — not null — Foreign key → users.유저 고유번호 — NOT NULL
                • 성별 (gender) — not null
                • 생년월일 (birth) — not null
                • 키 (height) — not null
                • 몸무게 (weight) — not null
                • 음주량 (drinking) — not null
                • 흡연량 (smoking) — not null

                users (사용자)

                • 유저 고유번호 (user_idx) — not null — Primary key — NOT NULL
                • 구글 아이디 (google_id) — not null
                • 카카오 아이디 (kakao_id) — not null
                • 네이버 아이디 (naver_id) — not null
                • 닉네임 (nickname) — not null