test

Tables (5)

Exercise record (Untitled2)

  • 기록Id (recordId) — @default — Primary key — NOT NULL
  • 참여자Id (participantId) — @default — Foreign key → Participant.참여자Id — NOT NULL
  • 그룹Id (groupId) — @default — Foreign key → Participant.그룹Id — NOT NULL
  • 운동종류 (exerciseType) — enome
  • 총합시간 (time) — @default
  • 거리 (distance) — @default
  • 사진 (photos)

Group (Untitled3)

  • 그룹Id (groupId) — @default — Primary key — NOT NULL
  • 그룹명 (name) — @unique
  • 설명 (description)
  • 사진 (photoUrl)
  • 반복횟수 (goalRep) — @default
  • 디코알림 (discordWebhookUrl) — @unique
  • 디코초대 (discordInviteUrl) — @unique
  • 좋아요 (likeCount) — @default
  • 태그 (tags)
  • 그룹장 이름 (ownerNickname) — @unique
  • 그룸장 비번 (ownerPassword)
  • 생성일시 (createdAt) — @default(now(())
  • 최신화 (updatedAt)
  • 배지 (badges)

Participant (Untitled5)

  • 참여자Id (participantId) — @default — Primary key — NOT NULL
  • 그룹Id (groupId) — @default — Foreign key → Group.그룹Id — NOT NULL
  • 닉네임 (nickName) — @unique
  • 비번 (passWord)
  • 생성일 (createdAt) — @default(now())
  • 최신화 (updatedAt)

Rank (Untitled)

  • 참여자Id (participantId2) — @default — Foreign key → Participant.참여자Id — NOT NULL
  • 그룹Id (groupId2) — @default — Foreign key → Participant.그룹Id — NOT NULL
  • 참여자 Id (participantId)
  • 기록횟수 (recordCount) — @default
  • 기록시간 (recordTime) — @default

Tags (Untitled6)

  • 태그Id (tagsId) — @unique — Primary key — NOT NULL
  • 그룹Id (groupId) — @default — Foreign key → Group.그룹Id — NOT NULL
  • 이름 (name) — @unique
  • 생성일시 (createdAt) — @default(now(())
  • 최신화 (updatedAt)