YoutTake
Tables (7)
Auths (auth)
- 인증 아이디 (id) — N — Primary key — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 토큰 (token) — N
- 만료 시간 (expired_at) — N
- 생성일 (created_at) — N
Comment (comment)
- 댓글 아이디 (id) — N — Primary key — NOT NULL
- 전술 아이디 (tactics_id) — N — Foreign key → Tactics.전술 아이디 — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 내용 (content) — N
- 대댓글 (parent_id) — N
- 생성일 (created_at) — N
- 수정일 (updated_at) — N
Notification_Logs (Notification_Log)
- 로그 아이디 (id) — N — Primary key — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 설정 아이디 (notification_setting_id) — N — Foreign key → Notification_settings.설정 아이디 — NOT NULL
- 이벤트 타입 (event_type) — N
- 메시지 (message) — N
- 발송 상태 (status) — N
- 발송 시간 (sent_at) — N
Notification_settings (Notification_setting)
- 설정 아이디 (id) — N — Primary key — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 경기전 알림 (notify_before_match) — N
- 경기 시작 (notify_match_start) — N
- 골 알림 (notify_goal) — N
- 카드 알림 (notify_card) — N
- 교체 알림 (notify_substitution) — N
- 경기 종료 알림 (notify_match_end) — N
- 알림 수단 (notify_method) — N
- 생성일 (created_at) — N
- 수정일 (updated_at) — N
Tactics (tactics)
- 전술 아이디 (id) — N — Primary key — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 제목 (title) — N
- 포메이션 (formation) — N
- 전술 데이터 (tactic_data) — N
- 내용 (content) — N
- 공개 여부 (is_public) — N
- 조회수 (view_count) — NOTNULL
- 생성일 (created_at) — N
- 수정일 (updated_at) — N
Team_subscriptions (Team_subscription)
- 팀 등록 아이디 (id) — N — Primary key — NOT NULL
- 회원 아이디 (user_id) — NOTNULL — Foreign key → Users.회원 아이디 — NOT NULL
- 로그 아이디 (subscription) — N — Foreign key → Notification_Logs.로그 아이디 — NOT NULL
- API팀 아이디 (api_team_id) — N
- 팀이름 (team_name) — N
- 팀 로고 (team_logo_url) — N
- API 리그 아이디 (api_league_id) — N
- 리그 이름 (league_name) — N
- 생성일 (created_at) — N
Users (User)
- 회원 아이디 (id) — NOTNULL — Primary key — NOT NULL
- 아이디 (email) — N
- 비밀번호 (password) — N
- 이름 (name) — N
- 역할 (role) — N
- 생성일 (created_at) — N
- 수정일 (updated_at) — N