Ping

Tables (21)

1 attendance (출석)

  • 출석 아이디 (attendance_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id2) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 출석 날짜 리스트 (attendance_date_list) — object
  • 출석일 집계 (attendance_count) — int64

10 school (학교)

  • 학교 id (school_id) — int64 — Primary key — NOT NULL
  • 주소 (address) — object
  • 학교 종류 (school_type) — object
  • 학생 수 (student_count) — int64

11 timelinereport (신고기록)

  • 유저 신고기록 아이디 (user_report_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id2) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 투표기록 아이디 (question_report_id) — int64 — Foreign key → 19 polls_questionreport.question_report_id — NOT NULL
  • 신고대상 유저아이디 (reported_user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 신고사유 (Field) — object
  • 만든시간 (created_at) — datetime64[us]
  • Field2

12 user (유저)

  • 유저아이디 (user_id) — int64 — Primary key — NOT NULL
  • 학급 id (group_id) — int64 — Foreign key → 5 class.학급 id — NOT NULL
  • superuser인지 여부 (is_superuser) — int64
  • staff인지 여부 (is_staff) — int64
  • 성별 (gender) — object
  • 포인트 (point) — int64
  • 친구 id 리스트 (friend_id_list) — object
  • 푸시 on/off (is_push_on) — int64
  • 차단한 유저 id 리스트 (block_user_id_list) — object
  • 숨김 처리한 유저 id 리스트 (hide_user_id_list) — object
  • 유저 상태(정상/탈퇴/정지) (ban_status) — object
  • 신고 당한 횟수 (report_count) — int64
  • 알람 갯수 (alarm_count) — int64
  • 안 읽은 채팅 갯수 (pending_chat) — int64
  • 확인 안한 투표 갯수 (pending_votes) — int64
  • 만든 시간 (created_at) — datetime64[us]

13 accounts_userquestionrecord (투표 기록)

  • user_question_record_id — int64 — Primary key — NOT NULL
  • 선택한 유저 id (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 선택 받은 유저 id (chosen_user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 질문 id (question_id) — int64 — Foreign key → 17 polls_question.question_id — NOT NULL
  • 투표 id (question_piece_id) — int64 — Foreign key → 18 polls_questionpiece.question_piece_id — NOT NULL
  • 열어본 횟수 (opened_times) — int64
  • 상태(닫힘/초성열림/차단) (status) — object
  • 답장 상태(미답변/비공개/공개) (answer_status) — object
  • 답장 시간 (answer_updated_at) — datetime64
  • 만든 시간 (created_at) — datetime64
  • 읽었는지 여부 (has_read) — int64

14 userwithdraw (탈퇴기록)

  • 아이디 (user_withdraw_id) — int64 — Primary key — NOT NULL
  • 이유 (reason) — object
  • 만든시간 (Fieldcreated_at) — datetime64[us]

16 events (포인트 이벤트)

  • 이벤트 아이디 (event_id) — int64 — Primary key — NOT NULL
  • 제목 (title) — object
  • 추가 포인트 (plus_point) — int64
  • 이벤트 종류 (event_type) — object
  • 만료 여부 (is_expired) — int64
  • 이벤트 시작 일자 (created_at) — datetime64

17 polls_question (질문)

  • question_id — int64 — Primary key — NOT NULL
  • 질문 내용 (question_text) — object
  • 만든 시간 (created_at) — datetime64

18 polls_questionpiece (질문 조각)

  • question_piece_id — int64 — Primary key — NOT NULL
  • 질문 id (question_id) — int64 — Foreign key → 17 polls_question.question_id — NOT NULL
  • 투표 여부 (is_voted) — int64
  • 스킵여부 (is_skipped) — int64
  • 만든 시간 (created_at) — datetime64
  • 투표 횟수 (voted_count) — int64
  • 스킵 횟수 (skipped_count) — int64

19 polls_questionreport (질문 신고 기록)

  • question_report_id — int64 — Primary key — NOT NULL
  • 선택한 유저 id (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 질문 id (question_id) — int64 — Foreign key → 17 polls_question.question_id — NOT NULL
  • 신고 사유 (reason) — object
  • 만든 시간 (created_at) — datetime64

2 blockrecord (차단기록)

  • 차단기록 아이디 (block_record_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 차단 된 유저아이디 (block_user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 이유 (reason) — object
  • 만든시간 (created_at) — datetime64[us]

20 polls_questionset (질문 세트)

  • question_set_id — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 질문 세트에 속한 질문 id 리스트 (question_piece_id_list) — int64(object 리스트 형태) — Foreign key → 18 polls_questionpiece.question_piece_id — NOT NULL
  • 질문 오픈 시간 (opening_time) — datetime64
  • 상태(닫힘/열림/종료) (status) — object
  • 만든 시간 (crated_at) — datetime64

21 polls_usercandidate (질문 조각 등장 유저)

  • user_candidate_id — int64 — Primary key — NOT NULL
  • 유저id (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 질문 id (question_piece_id) — int64 — Foreign key → 18 polls_questionpiece.question_piece_id — NOT NULL
  • 만든 시간 (created_at) — datetime64

3 fail_payment_history (구매 실패 기록)

  • 구매 실패 기록 id (fail_payment_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 상품 아이디 (Field) — object
  • 핸드폰 타입 (ios/android) (phone_type) — object
  • 만든 시간 (created_at) — datetime64

4 friendrequest (친구요청)

  • 친구요청 아이디 (friend_request_id) — int64 — Primary key — NOT NULL
  • 보낸유저아이디 (send_user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 빋은유저아이디 (receive_user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 상태 (status) — object
  • 만든시간 (created_at) — datetime64[us]
  • 업데이트시간 (updated_at) — datetime64[us]

5 class (학급)

  • 학급 id (group_id) — int64 — Primary key — NOT NULL
  • 학교 id (school_id) — int64 — Foreign key → 10 school.학교 id — NOT NULL
  • 학년 (grade) — int64
  • 반 (class_num) — int64

6 nearbyschool (인근학교)

  • 아이디 (nearby_school_id) — int64 — Primary key — NOT NULL
  • 학교 id (school_id) — int64 — Foreign key → 10 school.학교 id — NOT NULL
  • 거리 (distance) — float64
  • 근처학교id (Field) — int64

7 payment_history (구매 기록)

  • 구매 기록 아이디 (payment_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 상품아이디 (productId) — object
  • 핸드폰 타입 (ios/android) (phone_type) — object
  • 만든 시간 (created_at) — datetime64

8 contacts (유저컨텍)

  • 유저컨택 아이디 (contact_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 연락처 보유 유저수 (contacts_count) — int64
  • 초대했던 유저 리스트 (invite_user_id_list) — object

9 point_history (포인트 기록)

  • 포인트 기록 id (point_history_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 투표기록 id (user_question_record_id) — int64 — Foreign key → 13 accounts_userquestionrecord.user_question_record_id — NOT NULL
  • 포인트 양 (delta_point) — int64
  • 만든 시간 (created_at) — datetime64

event_receipts (포인트 이벤트 참여)

  • 포인트 이벤트 참여 아이디 (event_receipt_id) — int64 — Primary key — NOT NULL
  • 유저아이디 (user_id) — int64 — Foreign key → 12 user.유저아이디 — NOT NULL
  • 이벤트 아이디 (event_id) — int64 — Foreign key → 16 events.이벤트 아이디 — NOT NULL
  • 참여 시간 (created_at) — datetime64
  • 추가 포인트 (plus_point) — int64