모의외주

테이블 (4)

유저 (user)

  • idx — int — 기본 키 — NOT NULL
  • 아이디 (id) — VARCHAR(20) — NOT NULL
  • 비밀번호 (pw) — VARCHAR(20) — NOT NULL
  • 이름 (name) — CHAR(10) — NOT NULL
  • 연락처 (phonenumber) — int(12) — NOT NULL
  • 직급 (position) — VARCHAR(10) — NOT NULL
  • 부서 (team) — int — NOT NULL
  • 가입일 (join_date) — timestamp — NOT NULL

일정 (schedule)

  • idx — int — 기본 키 — NOT NULL
  • 날짜 (date) — timestamp — NOT NULL
  • 일정내용 (content) — text — NOT NULL
  • 수행여부 (execution_status) — boolean — NOT NULL
  • 유저idx (user_idx) — int — 외래 키 → 유저.idx — NOT NULL
  • 입력일 (write_date) — timestamp

직급 (position_list)

  • idx — int — 기본 키 — NOT NULL
  • idx (idx2) — int — 외래 키 → 유저.idx — NOT NULL — 위와 같은컬럼
  • 직급 (position) — varchar(10) — NOT NULL
  • Field2

팀 (team_list)

  • idx — int — 기본 키 — NOT NULL
  • idx (idx2) — int — 외래 키 → 유저.idx — NOT NULL — 위와 같은컬럼
  • 팀 (team) — varchar(10) — NOT NULL