Gatchi

Tables (17)

applications (프로젝트 지원자 테이블)

  • projectId (프로젝트 아이디) — uuid — Foreign key → projects.id — NOT NULL
  • userId (회원 아이디) — uuid
  • openPositionId (구인중인 포지션 테이블의 아이디) — uuid
  • position (포지션) — uuid
  • role (역할) — text
  • level (숙련도) — text
  • skillSet (사용가능 기술) — text[]
  • createdAt (지원일(생성일)) — timestamp
  • ----- (------) — text — NOT NULL

famousSays (Untitled7)

    feedComments (피드 댓글)

    • id (아이디) — uuid — Primary key — NOT NULL
    • feedId (피드 아이디) — uuid — Foreign key → feeds.id — NOT NULL
    • writerId (작성자 아이디(회원() — uuid — Foreign key → user.id — NOT NULL
    • createdAt (생성일) — timestamp
    • text (댓글 내용) — text

    feeds (피드)

    • id (아이디) — uuid — Primary key — NOT NULL
    • writerId (작성자 아이디(회원)) — uuid — Foreign key → user.id — NOT NULL
    • createdAt (피드 생성일) — timestamp
    • category (피드 카테고리) — text
    • text (피드 내용) — text

    members (프로젝트에 참여중인 회원)

    • projectId (프로젝트 테이블 아이디) — uuid — Foreign key → projects.id — NOT NULL
    • userI (사용자 테이블 아이디) — uuid — Foreign key → user.id — NOT NULL
    • createdAt (생성일(참여일)) — timestamp
    • updatedAt (수정일) — timestamp
    • position (포지션) — text
    • role (담당 포지션/파트) — text
    • level (직무 레벨(숙련도)) — text
    • skillSet (사용가능한 기술들) — text[]

    messages (메세지)

      notifications (알림)

        openPositions (프로젝트에서 구직중인 포지션)

        • id (해당 테이블 아이디) — uuid — Primary key — NOT NULL
        • projectId (프로젝트 아이디) — uuid — Foreign key → projects.id — NOT NULL
        • position (포지션) — text
        • role (역할) — text
        • skillSet (스킬셋)
        • levelSet (구하는 숙련도) — text[]
        • count (해당 직무로 구하는 인원 수) — int2

        prjectClips (프로젝트를 클립한 유저)

        • projectId (프로젝트 테이블 아이디) — uuid — Foreign key → projects.id — NOT NULL
        • clipperId (클립한 유저의 아이디) — uuid — Foreign key → user.projectId — NOT NULL
        • createdAt (생성일) — timestamp

        projectClipCounts (프로젝트의 클립 수)

        • projectId (프로젝트 테이블 아이디) — uuid — Foreign key → projects.id — NOT NULL
        • clipCount (클립된 수) — int

        projectManagements (프로젝트 관리자)

        • projectId (프로젝트 테이블 아이디) — text — Foreign key → projects.id — NOT NULL
        • managerId (매니저 아이디) — text
        • createdAt (생성일) — timestamp
        • projectStatus (프로젝트 진행 상태) — text
        • description (ex)거절 사유) — text

        projects (프로젝트)

        • id (아이디) — uuid — Primary key — NOT NULL
        • ownerId (소유자의 유저에테이블 아이디) — text — Foreign key → user.id — NOT NULL
        • title (제목) — text
        • categories (프로젝트 카테고리) — text[]
        • desc (프로젝트 소개) — text
        • projectClass (프로젝트 성격) — text
        • updatedAt (수정일) — timestamp
        • createdAt (생성일) — timestamp

        user (회원테이블)

        • id — uuid — Primary key — NOT NULL
        • projectId (프로젝트 테이블 아이디) — text — Foreign key → projectManagements.projectId — NOT NULL
        • email (Field3)
        • nickname (Field4)
        • isPublic (프로필 공개 여부) — BOOL
        • mbti (MBTI) — text
        • intro (자기소개) — text
        • meetingfType (미팅 타입)
        • locations (활동지역) — text[]
        • weekDates (활동요일) — text[]
        • amOrPm (연락가능시간 오전/오후) — text
        • categories (관심 분야) — text[]
        • skillSet (스킬셋) — text[]
        • bookmarks (북마크 카운트) — int4
        • profileUrl (프로필 경로) — text
        • marketingAgree (마케팅 수신 동의) — BOOL
        • phone (연락처) — text

        userClipCounts (userClipsCounts에 클립된 수)

        • userId (회원아이디) — uuid — Foreign key → user.id — NOT NULL
        • projectId (프로젝트 테이블 아이디) — text — Foreign key → user.projectId — NOT NULL
        • clipCount (클립횟수) — int4

        userClips (클립(북마크)한 사용자)

        • userId (회원 아이디) — uuid — Foreign key → user.id — NOT NULL
        • projectId (프로젝트 테이블 아이디) — text — Foreign key → user.projectId — NOT NULL
        • clipperId (클립한 회원의 회원테이블 아이디) — text
        • createdAt (클립한 시간) — timestampz

        userPositions (사용가능 기술)

        • id (아이디) — Primary key — NOT NULL
        • userId (회원아이디) — uuid — Foreign key → user.id — NOT NULL
        • position (1depth 포지션) — text
        • role (2depth 포지션) — text
        • skillSet (해당 포지션에서의 사용가능한 기술) — text[]
        • level (포지션의 숙련도) — text
        • isMain (메인 포지션 여부) — bool

        userPrivilige (어드민 권한)

        • userId (회원테이블 아이디) — uuid — Primary key — NOT NULL
        • userId (회원아이디) — uuid — Foreign key → user.id — NOT NULL
        • projectId (프로젝트 테이블 아이디) — text — Foreign key → user.projectId — NOT NULL
        • privilige (권한) — text
        • createdAt (권한 부여된 시간) — timestampz