LikeIt!

테이블 (29)

Cron로그 (CronJobLog)

  • 로그id (id) — number — 기본 키 — NOT NULL
  • 작업이름 (taskName) — string(255)
  • 작업상태 (status) — enum('success','fail')
  • 에러메시지 (errorMessage) — text
  • 시작시간 (createdAt) — datetime
  • 수정시간 (updatedAt) — datetime
  • 완료시간 (finishedAt) — datetime
  • 삭제시간 (deletedAt) — datetime

리워드 (Reward)

  • 리워드id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 리워드금액 (price) — number — NOT NULL
  • 리워드명 (name) — stirng(100) — NOT NULL
  • 리워드소개 (contents) — string(500) — NOT NULL
  • 리워드재고 (stock) — number — NOT NULL
  • 인당제한 (limit) — number

리워드구성품 (RewardProduct)

  • 구성품id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 제목 (title) — string(200)
  • 설명 (contents) — string(500)
  • 이미지 (imgUrl) — string(200)

리워드구성품관계 (RewardProductRelation)

  • 관계id (id) — number — 기본 키 — NOT NULL
  • 리워드id (rewardId) — number — 외래 키 → 리워드.리워드id — NOT NULL
  • 구성품id (productId) — number — 외래 키 → 리워드구성품.구성품id — NOT NULL
  • 수량 (stock) — number

배너프로젝트 (BannerProject)

  • 배너id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 배너이미지 (imgUrl) — string(100)
  • 등록일 (createdAt) — datetime
  • 삭제일 (deletedAt) — datetime

수익금변동 (CreatorProfit)

  • 수익금id (id) — number — 기본 키 — NOT NULL
  • 창작자id (creatorId) — number — 외래 키 → 창작자유저.창작자id — NOT NULL
  • 수익금변동 (changeProfit) — number — NOT NULL
  • 변동사유 (changeComment) — string(500)
  • 변동날짜 (createdAt) — datetime — NOT NULL

스튜디오 (Studio)

  • 스튜디오id (id) — number — 기본 키 — NOT NULL
  • 스튜디오이름 (name) — string(200) — NOT NULL
  • 스튜디오이미지 (imgUrl) — string(200)
  • 스튜디오소개 (intro) — string(500) — NOT NULL
  • 생성일 (createdAt) — datetime — NOT NULL
  • 갱신일 (updatedAt) — datetime
  • 해산일 (deletedAt) — datetime

스튜디오연동계정 (StudioAccount)

  • 연동계정id (id) — number — 기본 키 — NOT NULL
  • 스튜디오id (studioId) — number — 외래 키 → 스튜디오.스튜디오id — NOT NULL
  • 계정종류 (type) — enum
  • 링크 (link) — string(100)

스튜디오찜 (StudioFavorite)

  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 스튜디오id (studioId) — number — 외래 키 → 스튜디오.스튜디오id — NOT NULL

스튜디오창작자 (StudioCreator)

  • 스튜디오유저id (id) — number — 기본 키 — NOT NULL
  • 스튜디오id (studioId) — number — 외래 키 → 스튜디오.스튜디오id — NOT NULL
  • 창작자id (creatorId) — number — 외래 키 → 창작자유저.창작자id — NOT NULL
  • 대표여부 (role) — enum — NOT NULL
  • 게시물관리권한 (communityAdmin) — enum — NOT NULL
  • 스페이스권한 (spaceAdmin) — enum
  • 가입일 (createdAt) — datetime — NOT NULL
  • 갱신일 (updatedAt) — datetime
  • 탈퇴일 (deletedAt) — datetime

스튜디오커뮤니티 (StudioCommunity)

  • 커뮤니티id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 스튜디오id (studioId) — number — 외래 키 → 스튜디오.스튜디오id — NOT NULL
  • 제목 (title) — string(500) — NOT NULL
  • 게시물내용 (contents) — text — NOT NULL
  • 이미지경로 (imgUrl) — string(200)
  • 공지여부 (notice) — enum
  • 작성일 (createdAt) — datetime — NOT NULL
  • 수정일 (updatedAt) — datetime
  • 삭제일 (deletedAt) — datetime

스튜디오커뮤니티댓글 (StudioCommunityComment)

  • 댓글id (id) — number — 기본 키 — NOT NULL
  • 작성자id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 커뮤니티id (communityId) — number — 외래 키 → 스튜디오커뮤니티.커뮤니티id — NOT NULL
  • 내용 (comment) — string(500) — NOT NULL
  • 작성시간 (createdAt) — datetime — NOT NULL
  • 수정시간 (updatedAt) — datetime
  • 삭제시간 (deletedAt) — datetime

알림 (Message)

  • 알림id (id) — number — 기본 키 — NOT NULL
  • 발신인id (sendUserId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 수신인id (receiveUserId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 알림내용 (message) — string(500)
  • 발송일 (createdAt) — datetime — NOT NULL
  • 삭제일 (deletedAt) — datetime
  • 이미지id (imgId) — number
  • 이미지타입 (imgType) — string(100)

유저 (User)

  • 유저id (id) — number — 기본 키 — NOT NULL
  • 이메일 (email) — string(100) — NOT NULL
  • 비밀번호 (password) — string(100) — NOT NULL
  • 닉네임 (name) — string(100) — NOT NULL
  • 연락처 (phone) — string(100) — NOT NULL
  • 프로필사진 (imgUrl) — string(100)
  • 포인트 (point) — number — NOT NULL
  • 권한 (role) — enum — NOT NULL
  • 가입일 (createdAt) — datetime — NOT NULL
  • 갱신일 (updatedAt) — datetime
  • 탈퇴일 (deletedAt) — datetime

유저연동계정 (UserAccount)

  • 계정id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 계정주소 (acoountEmail) — string(500) — NOT NULL
  • 계정타입 (accountType) — enum
  • 연동일 (createdAt) — datetime
  • 해제일 (deletedAt) — datetime
  • 프로필id (profileId) — string(100)

주문 (Order)

  • 주문id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 리워드id (rewardId) — number — 외래 키 → 리워드.리워드id — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 주문수량 (orderCount) — number — NOT NULL
  • 주문금액 (orderPrice) — number — NOT NULL
  • 배송지 (address) — string(500) — NOT NULL
  • 출금계좌 (account) — string(100) — NOT NULL
  • 주문상황 (orderStatus) — enum
  • 주문일 (createdAt) — datetime — NOT NULL
  • 취소일 (deletedAt) — datetime
  • 운송장 (bill) — string(200)

주소지 (Address)

  • 주소id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 주소지 (address) — string(500) — NOT NULL
  • 기본주소지여부 (default) — enum — NOT NULL

창작자유저 (Creator)

  • 창작자id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 수익금 (profit) — number

창작자인건비 (CreatorBudget)

  • 예산id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 스튜디오창작자id (studioCreatorId) — number — 외래 키 → 스튜디오창작자.스튜디오유저id — NOT NULL
  • 정산비율 (money) — number
  • 내용 (contents) — string(200)

창작자카테고리 (CreatorCategory)

  • 카테고리id (categoryId) — number — 외래 키 → 카테고리.카테고리id — NOT NULL
  • 창작자id (creatorId) — number — 외래 키 → 창작자유저.창작자id — NOT NULL

카테고리 (Category)

  • 카테고리id (id) — number — 기본 키 — NOT NULL
  • 카테고리이름 (categoryName) — string(100)

포인트변동 (Point)

  • 포인트id (id) — number — 기본 키 — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 포인트변동 (changePoint) — number — NOT NULL
  • 변동사유 (changeComment) — string(500)
  • 변동날짜 (createdAt) — datetime — NOT NULL

프로젝트 (Project)

  • 프로젝트id (id) — number — 기본 키 — NOT NULL
  • 스튜디오id (studoId) — number — 외래 키 → 스튜디오.스튜디오id — NOT NULL
  • 카테고리id (categoryId) — number — 외래 키 → 카테고리.카테고리id — NOT NULL
  • 프로젝트명 (title) — string(100) — NOT NULL
  • 목표후원금 (goal) — number — NOT NULL
  • 한줄소개 (intro) — string(100) — NOT NULL
  • 소개본문 (contents) — text — NOT NULL
  • 일정표 (schedule) — text
  • 관리자메모 (adminMemo) — string(500)
  • 펀딩시작일 (startDate) — datetime
  • 펀딩마감일 (endDate) — datetime
  • 진행상태 (projectStatus) — enum
  • 승인상태 (proposalStatus) — enum
  • 등록일 (createdAt) — datetime — NOT NULL
  • 수정일 (updatedAt) — datetime
  • 취소일 (deletedAt) — datetime
  • 이미지 (imgUrl) — string(100)

프로젝트예산 (ProjectBudget)

  • 예산id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 금액 (money) — number
  • 내용 (contents) — string(200)

프로젝트찜 (ProjectFavorite)

  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL

프로젝트타임라인 (ProjectTimeline)

  • 타임라인id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 제목 (title) — string(200) — NOT NULL
  • 내용 (contents) — text — NOT NULL
  • 등록일 (createdAt) — datetime — NOT NULL
  • 수정일 (updatedAt) — datetime
  • 삭제일 (deletedAt) — datetime
  • 이미지경로 (imgUrl) — string(200)

프로젝트타임라인댓글 (ProjectTimelineComment)

  • 댓글id (id) — number — 기본 키 — NOT NULL
  • 작성자id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 타임라인id (timelineId) — number — 외래 키 → 프로젝트타임라인.타임라인id — NOT NULL
  • 내용 (comment) — string(500) — NOT NULL
  • 작성시간 (createdAt) — datetime
  • 삭제시간 (deletedAt) — datetime

프로젝트후기 (ProjectReview)

  • 리뷰id (id) — number — 기본 키 — NOT NULL
  • 프로젝트id (projectId) — number — 외래 키 → 프로젝트.프로젝트id — NOT NULL
  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 별점 (star) — number — NOT NULL
  • 이미지경로 (imgUrl) — string(200)
  • 내용 (contents) — text — NOT NULL
  • 등록일 (createdAt) — datetime — NOT NULL
  • 수정일 (updatedAt) — datetime
  • 삭제일 (deletedAt) — datetime

프로젝트후기추천 (ProjectReviewRecommend)

  • 유저id (userId) — number — 외래 키 → 유저.유저id — NOT NULL
  • 리뷰id (reviewId) — number — 외래 키 → 프로젝트후기.리뷰id — NOT NULL